From a624358ac4f0d41633538f0d643c0ee83be5c053 Mon Sep 17 00:00:00 2001 From: svyatoslavxq Date: Sun, 27 Nov 2022 13:46:41 +0300 Subject: [PATCH] style: change png logo to svg --- app/assets/landing/images/logo.png | Bin 812 -> 0 bytes app/assets/landing/images/logo.svg | 18 ++++++++++++++++++ app/javascript/components/Navbar.jsx | 2 +- views/landing/modules/header.pug | 4 ++-- 4 files changed, 21 insertions(+), 3 deletions(-) delete mode 100644 app/assets/landing/images/logo.png create mode 100644 app/assets/landing/images/logo.svg diff --git a/app/assets/landing/images/logo.png b/app/assets/landing/images/logo.png deleted file mode 100644 index b965c7254e8c78ffb78dc3501af2c08c85ac331e..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 812 zcmeAS@N?(olHy`uVBq!ia0vp^g+MI9!3-pSML#M4QfUD`A+A9BKj}a)@0)PmSE0Ob zLV4dsbH54{d=<|BE}Z*KI2R-cWC-N_6wUeqF<3b78_(HKH-I)Nlmz(&Gt93~aJau; zLEwFUzy1320S5B+?{Cdg5ZJ%IAwS;VKwq)Q-;sfVDb&-&F~sBe-YGYyJyGCjyLv=* z*4ACCzR%ov|Gz4Gqr==&Gwq5m|I9z4TGPPRT=lbJZ=K!j%O#b6o$l&AHlWTK)F9`|9+fXDm~#bTgKyhGhE%eA+7J6fS>O z@>TX)+bQC0dHsuuujyvmU-+J~CP6jo)V35J|FVeHJ2W0Nz0uhHCTmrx8C%fSnj5@Z zPkvt8)VY}Xu%doQh(MZXWKm+~Geh_o4dPWUpDS|arpg?b$iz@Nt{wGqM~|UOT=(Hi|VXByFa{sC^vU&jds>? zJ)TmIzV-359x`3K)N^rLk?5DO2P#a3cZ + + + + + + + + + + + + + \ No newline at end of file diff --git a/app/javascript/components/Navbar.jsx b/app/javascript/components/Navbar.jsx index 5f758ba0..a48281c6 100644 --- a/app/javascript/components/Navbar.jsx +++ b/app/javascript/components/Navbar.jsx @@ -3,7 +3,7 @@ import { useTranslation } from 'react-i18next'; import routes from '../routes.js'; import { useAuth } from '../hooks'; import classes from './Navbar.module.css'; -import Logo from '/app/assets/landing/images/logo.png' +import Logo from '/app/assets/landing/images/logo.svg' export function Navbar() { const auth = useAuth(); diff --git a/views/landing/modules/header.pug b/views/landing/modules/header.pug index e4369ee2..b9acd043 100644 --- a/views/landing/modules/header.pug +++ b/views/landing/modules/header.pug @@ -1,8 +1,8 @@ header .container nav.navbar.navbar-dark.justify-content-between.py-3.align-items-center - a.navbar-brand(href="/") - img.d-inline-block.align-top(src="/landing/images/logo.png" alt='hexlet') + a.pt-lg-0.pb-lg-2.navbar-brand(href="/") + img.d-inline-block.align-top(src="/landing/images/logo.svg" alt='hexlet' width="100" height="30") p.d-inline-block.align-bottom.ms-1.mb-0.lh-sm Runit .d-flex.justify-content-end a.btn.btn-link.me-4.align-self-center.fs-5.lh-5(href="/about") О проекте