From 58a71599db64cf569fc16cfaceb2b2a3e91b3615 Mon Sep 17 00:00:00 2001 From: Tong Li Date: Sat, 23 Nov 2024 15:14:04 +1100 Subject: [PATCH] header, footer and background refactor for dark theme --- public/footer-rectangle-dark.svg | 3 + ...ctangle.svg => footer-rectangle-light.svg} | 0 src/app/components/Footer/Footer.tsx | 78 ++++++++++--------- src/app/components/Header/Header.tsx | 4 +- src/app/layout.tsx | 2 +- tailwind.config.ts | 3 +- 6 files changed, 48 insertions(+), 42 deletions(-) create mode 100644 public/footer-rectangle-dark.svg rename public/{footer-rectangle.svg => footer-rectangle-light.svg} (100%) diff --git a/public/footer-rectangle-dark.svg b/public/footer-rectangle-dark.svg new file mode 100644 index 00000000..dfdfd912 --- /dev/null +++ b/public/footer-rectangle-dark.svg @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/public/footer-rectangle.svg b/public/footer-rectangle-light.svg similarity index 100% rename from public/footer-rectangle.svg rename to public/footer-rectangle-light.svg diff --git a/src/app/components/Footer/Footer.tsx b/src/app/components/Footer/Footer.tsx index 47ce836a..e7b04325 100644 --- a/src/app/components/Footer/Footer.tsx +++ b/src/app/components/Footer/Footer.tsx @@ -68,49 +68,51 @@ const iconLinks = [ export const Footer: React.FC = () => { return ( -
-
-
- {iconLinks.map(({ name, url, Icon }) => ( -
- +
+ +
+ + Terms of Use + {" "} + -{" "} + + Privacy Policy + {" "} + - 2024 Babylon Labs. All rights reserved. +
- - Terms of Use - {" "} - -{" "} - - Privacy Policy - {" "} - - 2024 Babylon Labs. All rights reserved. + babylon
-
- babylon -
); }; diff --git a/src/app/components/Header/Header.tsx b/src/app/components/Header/Header.tsx index 2c6d57a5..259f564f 100644 --- a/src/app/components/Header/Header.tsx +++ b/src/app/components/Header/Header.tsx @@ -15,8 +15,8 @@ export const Header = () => { return (