Skip to content

Commit

Permalink
fixed mistakes
Browse files Browse the repository at this point in the history
  • Loading branch information
Alina Yamchuk committed Nov 27, 2024
1 parent 5491d1c commit 42899bf
Show file tree
Hide file tree
Showing 8 changed files with 243 additions and 15 deletions.
184 changes: 183 additions & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@
"parcel": "^2.13.1",
"prettier": "^3.3.2",
"stylelint": "^16.7.0",
"stylelint-scss": "^6.4.1"
"stylelint-scss": "^6.4.1",
"svgo": "^3.3.2"
},
"mateAcademy": {
"projectType": "layout",
Expand Down
Binary file added src/images/icons/favicon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 0 additions & 6 deletions src/images/icons/favicon.svg

This file was deleted.

8 changes: 7 additions & 1 deletion src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@
<title>Namu</title>
<link
rel="icon"
href="/src/images/icons/favicon.svg"
type="image/x-icon"
href="/src/images/icons/favicon.png"
/>
<link
rel="stylesheet"
Expand Down Expand Up @@ -455,6 +456,7 @@ <h6 class="center__text">Підпишіться на дайджест</h6>
1s0x40d4ce52445a8315:0x5e30ef474eddac89!8m2!3d50.449395!4d30.5307834!
16s%2Fg%2F11l76wtstx?hl=ru&entry=ttu&g_ep=EgoyMDI0MTExOS4yIKXMDSoASAFQAw%3D%3D"
class="footer__address"
target="_blank"
>
Київ, вул. М. Грушевського, 6
<a
Expand All @@ -480,18 +482,22 @@ <h6 class="center__text">Підпишіться на дайджест</h6>
<a
href="https://www.facebook.com/"
class="icon icon--facebook"
target="_blank"
></a>
<a
href="https://twitter.com/"
class="icon icon--twitter"
target="_blank"
></a>
<a
href="https://web.telegram.org/"
class="icon icon--telegram"
target="_blank"
></a>
<a
href="https://www.instagram.com/"
class="icon icon--instagram"
target="_blank"
></a>
</div>
</div>
Expand Down
32 changes: 31 additions & 1 deletion src/styles/footer.scss
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,11 @@
text-decoration: none;
color: $main-text-color;

&:hover {
color: inherit;
opacity: 0.5;
}

@include on-tablet {
width: 250px;
}
Expand All @@ -97,6 +102,11 @@
color: $main-text-color;
margin-bottom: 30px;

&:hover {
color: inherit;
opacity: 0.5;
}

@include on-tablet {
margin-bottom: 50px;
}
Expand Down Expand Up @@ -197,7 +207,7 @@
gap: 22px;

@include on-desktop {
gap: 102px;
gap: 92px;
}
}

Expand Down Expand Up @@ -251,26 +261,46 @@
height: 20px;
background-repeat: no-repeat;
background-image: url(/src/images/icons/facebook.svg);

&:hover {
color: inherit;
opacity: 0.5;
}
}

&--twitter {
width: 20px;
height: 20px;
background-repeat: no-repeat;
background-image: url(/src/images/icons/twitter.svg);

&:hover {
color: inherit;
opacity: 0.5;
}
}

&--telegram {
width: 20px;
height: 20px;
background-repeat: no-repeat;
background-image: url(/src/images/icons/telegram.svg);

&:hover {
color: inherit;
opacity: 0.5;
}
}

&--instagram {
width: 20px;
height: 20px;
background-repeat: no-repeat;
background-image: url(/src/images/icons/instagram.svg);

&:hover {
color: inherit;
opacity: 0.5;
}
}
}
6 changes: 5 additions & 1 deletion src/styles/header.scss
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,12 @@ body {
background: $c-gray;
margin: 0;
font-family: Raleway, sans-serif;
scroll-behavior: smooth;
overflow-x: hidden;
min-width: 320px;

&:has(.menu:target) {
overflow: hidden;
}
}

.header {
Expand All @@ -19,6 +22,7 @@ body {
height: 747px;
background-color: #3f5252;
position: relative;
scroll-behavior: smooth;

@include on-tablet {
padding: 20px 0 0 40px;
Expand Down
Loading

0 comments on commit 42899bf

Please sign in to comment.