Skip to content

Commit

Permalink
Merge branch 'main' into adaptive-landing
Browse files Browse the repository at this point in the history
  • Loading branch information
dzencot authored Nov 28, 2022
2 parents 17a1307 + 5ac9a15 commit 6422cb0
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 4 deletions.
Binary file removed app/assets/landing/images/logo.png
Binary file not shown.
18 changes: 18 additions & 0 deletions app/assets/landing/images/logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion app/javascript/components/Navbar.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down
6 changes: 3 additions & 3 deletions views/landing/modules/header.pug
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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") Регистрация
a.btn.btn-primary.py-2.fs-md-5.fs-6.lh-5(href="/signup") Регистрация

0 comments on commit 6422cb0

Please sign in to comment.