Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hotfix/footer links #59

Merged
merged 3 commits into from
Feb 27, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file removed public/icons/facebook-white-64.png
Binary file not shown.
Binary file removed public/icons/instagram-white-64.png
Binary file not shown.
19 changes: 0 additions & 19 deletions src/components/footer.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,25 +7,6 @@ export default function Footer() {
<a href='/' className='footer__logo' aria-label='Go back to the homepage' title='Go back to the homepage'>
<img src={logo} alt='' aria-hidden='true' />
</a>

<div className='footer__network-container'>
<a
href='#'
className='footer__network-link'
aria-label='Visit our Facebook page'
title='Visit our Facebook page'
>
<img src='/icons/facebook-white-64.png' alt='' aria-hidden='true' />
</a>
<a
href='#'
className='footer__network-link'
aria-label='Visit our Instagram account'
title='Visit our Instagram account'
>
<img src='/icons/instagram-white-64.png' alt='' aria-hidden='true' />
</a>
</div>
</footer>
);
}
38 changes: 0 additions & 38 deletions src/css/footer.css
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
footer {
position: relative;
padding: 16px 32px;
background: var(--blue-dark);
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
}

.footer__logo {
Expand All @@ -15,39 +13,3 @@ footer {
.footer__logo img {
width: 100%;
}

.footer__network-container {
position: absolute;
right: 32px;
top: 50%;
transform: translateY(-50%);
display: flex;
gap: 32px;
align-items: center;
}

.footer__network-link {
width: 32px;
transition: opacity 0.2s ease-out;
}

.footer__network-link:hover {
opacity: 0.8;
}

.footer__network-link img {
width: 100%;
}

@media screen and (max-width: 640px) {
footer {
flex-direction: column;
gap: 16px;
padding: 32px;
}

.footer__network-container {
position: static;
transform: none;
}
}
Loading