Skip to content

Commit

Permalink
замена логотипа в шапке. Правки стилей под новый логотип
Browse files Browse the repository at this point in the history
  • Loading branch information
karlbelousov committed May 13, 2024
1 parent 03b1dd3 commit a5558a8
Show file tree
Hide file tree
Showing 4 changed files with 68 additions and 23 deletions.
8 changes: 4 additions & 4 deletions src/modules/Header/styles/header/__logo/header__logo.scss
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
.header__logo {
width: 24px;
height: 24px;
width: 132px;
height: 40px;
cursor: pointer;

@media (min-width: 768px) {
width: 40px;
height: 40px;
width: 145px;
height: 55px;
}
}
6 changes: 3 additions & 3 deletions src/modules/Header/styles/header/header.scss
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
.header {
display: flex;
width: 100%;
height: 48px;
min-height: 56px;
padding: 12px 16px;
justify-content: space-between;
align-items: center;
Expand All @@ -11,11 +11,11 @@

@media (min-width: 768px) {
padding: 28px 44px;
height: 97px;
min-height: 97px;
}

@media (min-width: 1440px) {
padding: 18px 132px;
height: 88px;
min-height: 88px;
}
}
5 changes: 3 additions & 2 deletions src/modules/Header/svg/Paw.css
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
.paw path {
.paw {
transition-duration: .5s;
fill: var(--color-accent-base);
}

.paw:hover path {
.paw:hover path:nth-child(1),
.paw:hover path:nth-child(3) {
fill: var(--color-accent-hover);
}

Expand Down
72 changes: 58 additions & 14 deletions src/modules/Header/svg/Paw.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,64 @@ import './Paw.css';

const Paw = ({ className }) => {
return (
<svg className={`paw ${className}`} width='40' height='36' viewBox='0 0 40 36' fill='none' xmlns='http://www.w3.org/2000/svg'>
<path
d='M20.0006 15.5006C13.7967 15.5006 5.0006 25.0912 5.0006 31.1451C5.0006 33.8716 7.09513 35.5005
10.6053 35.5005C14.4209 35.5005 16.9404 33.5412 20.0006 33.5412C23.0873 33.5412 25.6139 35.5005 29.3959
35.5005C32.9061 35.5005 35.0006 33.8716 35.0006 31.1451C35.0006 25.0912 26.2045 15.5006 20.0006 15.5006ZM8.49435
14.5154C7.68185 11.8084 5.17872 10.0552 2.90372 10.599C0.628725 11.1427 -0.556432 13.7779 0.256068 16.4849C1.06857
19.192 3.57169 20.9451 5.84669 20.4013C8.12169 19.8576 9.30685 17.2224 8.49435 14.5154ZM15.1131 12.892C17.5303
12.256 18.7397 8.99039 17.8147 5.59821C16.8897 2.20602 14.1803 -0.0275742 11.7631 0.608363C9.34591 1.2443 8.13654
4.50993 9.06154 7.90211C9.98654 11.2943 12.6967 13.5287 15.1131 12.892ZM37.0967 10.5998C34.8217 10.056 32.3193
11.8091 31.5061 14.5162C30.6936 17.2232 31.8787 19.8584 34.1537 20.4021C36.4287 20.9459 38.9311 19.1927 39.7443
16.4857C40.5568 13.7787 39.3717 11.1435 37.0967 10.5998ZM24.8881 12.892C27.3053 13.5279 30.0147 11.2943 30.9397
7.90211C31.8647 4.50993 30.6553 1.24508 28.2381 0.608363C25.8209 -0.0283555 23.1115 2.20602 22.1865 5.59821C21.2615
8.99039 22.4709 12.256 24.8881 12.892Z'
/>
<svg className={`paw ${className}`} width='145' height='56' fill='none' xmlns='http://www.w3.org/2000/svg'>
<path fillRule='evenodd' clipRule='evenodd'
d='M37.5 54.7c2.1-.6 4.2-1.2 6.3-2l1-.4 1.8-1 2.2-1 2.4-1.6.3-.3c.3-.4.7-.6 1-.6.4-.5.6-1 1-1
.4-.3.6-.7.8-1l.3-.4 1.6-2.2c-.1-.4.3-.4.4-.7 0-.3.3-.5.5-.8l.7-1c.4-1.6 1.1-3 1.4-4.6l.7-3c.2-.4.4-1
.3-1.3a12 12 0 0 1-.3-2.5v-1.9L60
25c0-.9 0-1.8-.3-2.6S59 20.8 59
20c-.2-1.3-.7-2.4-1.3-3.6-.3-.7-.3-1.5-.9-2.2v-.4l-.1-.9-1.1-1.2-.5-.3c-.6-.5-1-1.1-1.6-1.5l-.7-.4c-.7-.6-1.5-1-2.3-1.5l-1.2-.7L46.7
6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