diff --git a/app/assets/landing/images/logo.png b/app/assets/landing/images/logo.png deleted file mode 100644 index b965c725..00000000 Binary files a/app/assets/landing/images/logo.png and /dev/null differ diff --git a/app/assets/landing/images/logo.svg b/app/assets/landing/images/logo.svg new file mode 100644 index 00000000..19c9f9d7 --- /dev/null +++ b/app/assets/landing/images/logo.svg @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + \ 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 c6ff686c..30d1c68c 100644 --- a/views/landing/modules/header.pug +++ b/views/landing/modules/header.pug @@ -1,7 +1,7 @@ header nav.navbar.navbar-dark.py-3.navbar-expand-md - 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 button.navbar-toggler(type="button" data-bs-toggle="collapse" data-bs-target="#navbarToggler" aria-controls="navbarToggler" aria-expanded="false" aria-label="Toggle navigation") span.navbar-toggler-icon @@ -12,4 +12,4 @@ header li.nav-item.mb-2.mb-md-0 a.btn.btn-light.me-md-4.py-2.fs-md-5.fs-6.lh-5(href="/login") Войти li.nav-item - a.btn.btn-primary.py-2.fs-md-5.fs-6.lh-5(href="/signup") Регистрация \ No newline at end of file + a.btn.btn-primary.py-2.fs-md-5.fs-6.lh-5(href="/signup") Регистрация