From 279422b02e5485da0b285cb9f6362fb73a359322 Mon Sep 17 00:00:00 2001 From: AramJonghu Date: Mon, 13 Apr 2026 17:47:46 +0200 Subject: [PATCH] Dark/light mode added + switcher --- frontend/index.html | 20 +++++++-------- frontend/src/components/Footer.jsx | 2 +- frontend/src/components/Header.jsx | 40 ++++++++++++++---------------- frontend/src/components/Layout.jsx | 5 +++- frontend/src/hooks/useTheme.js | 16 ++++++++++++ frontend/src/utils/theme.js | 30 ++++++++++++++++++++++ frontend/tailwind.config.js | 8 ++++++ 7 files changed, 87 insertions(+), 34 deletions(-) create mode 100644 frontend/src/hooks/useTheme.js create mode 100644 frontend/src/utils/theme.js create mode 100644 frontend/tailwind.config.js diff --git a/frontend/index.html b/frontend/index.html index 1f9b76f..66d0332 100644 --- a/frontend/index.html +++ b/frontend/index.html @@ -1,12 +1,12 @@ - - - - - aramjonghu-site - - -
- - + + + + + aramjonghu-site + + +
+ + diff --git a/frontend/src/components/Footer.jsx b/frontend/src/components/Footer.jsx index a8742d2..a574bb0 100644 --- a/frontend/src/components/Footer.jsx +++ b/frontend/src/components/Footer.jsx @@ -9,7 +9,7 @@ export default function Footer() { }; return ( -