-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: Convert footer CSS to Tailwind
- Loading branch information
Showing
2 changed files
with
39 additions
and
152 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,17 @@ | ||
<footer class="footer"> | ||
<footer class="bg-[#000] py-0 px-20"> | ||
<div class="container"> | ||
<div class="footer__box"> | ||
<div class="footer__box-content"> | ||
<h2>Sign up for our newsletter</h2> | ||
<p>We'll e-mail you once a month with updates about Ladybird.</p> | ||
<div | ||
class="flex items-center h-[335px] sm:h-[380px] bg-cover bg-no-repeat relative z-10 -top-[60px] rounded-[80px] bg-[url('../../../assets/img/discover-bg.webp')] w-full" | ||
> | ||
<div class="p-7 md:h-[335px] md:p-10 lg:py-12 lg:px-20"> | ||
<h2 class="text-[#000] mb-1 text-[36px] lg:text-4xl"> | ||
Sign up for our newsletter | ||
</h2> | ||
<p class="text-[#000] mb-6 max-w-[832px] lg:text-lg"> | ||
We'll e-mail you once a month with updates about Ladybird. | ||
</p> | ||
|
||
<div class="footer__pages-block"> | ||
<div class="flex flex-col"> | ||
<form | ||
action="https://ladybird.us18.list-manage.com/subscribe/post?u=c15e0446263bcb0793a049dd0&id=43762f159d&f_id=00b4c2e1f0" | ||
method="post" | ||
|
@@ -60,50 +66,54 @@ | |
</div> | ||
</div> | ||
|
||
<div class="footer__content"> | ||
<div class="footer__content-top sm:flex sm:flex-col md:flex md:flex-row"> | ||
<div class="footer__content-left max-w-36"> | ||
<img | ||
class="ladybird-logo" | ||
src="/assets/img/logo-new.webp" | ||
alt="Logo" | ||
/> | ||
<div> | ||
<div class="flex sm:flex-col md:flex-row justify-between gap-10"> | ||
<div class="h-fit"> | ||
<img class="max-w-48" src="/assets/img/logo-new.webp" alt="Logo" /> | ||
</div> | ||
<div class="footer__content-right"> | ||
<div class="footer__pages"> | ||
<div class="footer__pages-block"> | ||
<a href="/#about" class="footer__pages-link">About</a> | ||
<a href="/#news" class="footer__pages-link">News</a> | ||
<a href="/#gi" class="footer__pages-link">Get Involved</a> | ||
<div> | ||
<div class="flex gap-14"> | ||
<div class="flex flex-col"> | ||
<a href="/#about" class="mb-3 font-normal">About</a> | ||
<a href="/#news" class="mb-3 font-normal">News</a> | ||
<a href="/#gi" class="mb-3 font-normal">Get Involved</a> | ||
</div> | ||
|
||
<div class="footer__pages-block"> | ||
<a href="/#sponsors" class="footer__pages-link">Sponsors</a> | ||
<a href="mailto:[email protected]" class="footer__pages-link" | ||
<div class="flex flex-col"> | ||
<a href="/#sponsors" class="mb-3 font-normal">Sponsors</a> | ||
<a href="mailto:[email protected]" class="font-normal mb-0" | ||
>Contact Us</a | ||
> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
<div class="footer__content-bottom"> | ||
<div class="footer__privacy"> | ||
<div | ||
class="flex sm:flex-row flex-col gap-10 items-center justify-between py-[30px] pb-5 px-0 border-t-[#303030] border-t-[1px] mt-8 border-solid" | ||
> | ||
<div class="[&>p]:text-[#404040] font-normal"> | ||
<p>© 2024. All rights reserved.</p> | ||
</div> | ||
<div class="footer__social"> | ||
<div> | ||
<a | ||
href="https://github.com/LadybirdBrowser/ladybird" | ||
class="footer__social-link" | ||
class="w-8 h-8 inline-flex items-center justify-center rounded-full bg-[#16141b] hover:bg-[#8a64e5]" | ||
> | ||
<img src="/assets/img/github.svg" alt="GitHub" /> | ||
</a> | ||
|
||
<a href="https://discord.gg/nvfjVJ4Svh" class="footer__social-link"> | ||
<a | ||
href="https://discord.gg/nvfjVJ4Svh" | ||
class="w-8 h-8 inline-flex items-center justify-center rounded-full bg-[#16141b] hover:bg-[#8a64e5]" | ||
> | ||
<img src="/assets/img/discord.svg" alt="Discord" /> | ||
</a> | ||
|
||
<a href="https://x.com/ladybirdbrowser" class="footer__social-link"> | ||
<a | ||
href="https://x.com/ladybirdbrowser" | ||
class="w-8 h-8 inline-flex items-center justify-center rounded-full bg-[#16141b] hover:bg-[#8a64e5]" | ||
> | ||
<img src="/assets/img/x.svg" alt="X/Twitter" /> | ||
</a> | ||
</div> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters