From b3034479ff326ac7c1fb0680fe4bd9d11b0a4c91 Mon Sep 17 00:00:00 2001 From: AdityaP700 <126982848+AdityaP700@users.noreply.github.com> Date: Fri, 4 Oct 2024 20:11:43 +0530 Subject: [PATCH] Add - Added Dark Theme --- src/App.jsx | 17 ++-- src/Components/Pages/Boardgame.jsx | 4 +- src/Components/Pages/Event.jsx | 62 ++++++------ src/Components/Pages/Home.jsx | 2 +- src/Components/Pages/Menu.jsx | 12 +-- src/Components/Pages/Register.jsx | 39 +++++--- src/Components/Shared/Footer.jsx | 2 +- src/Components/Shared/Navbar.jsx | 137 +++++++++++++-------------- src/Components/ui/FeedbackForm.jsx | 22 +++-- src/Components/ui/Landing.jsx | 47 +++------ src/Components/ui/ReviewCarousel.jsx | 12 +-- src/assets/Logo/moon.webp | Bin 0 -> 634 bytes src/assets/Logo/sunny.webp | Bin 0 -> 3738 bytes src/context/themeContext.jsx | 28 ++++++ src/index.css | 65 ++++++------- tailwind.config.js | 9 +- 16 files changed, 243 insertions(+), 215 deletions(-) create mode 100644 src/assets/Logo/moon.webp create mode 100644 src/assets/Logo/sunny.webp create mode 100644 src/context/themeContext.jsx diff --git a/src/App.jsx b/src/App.jsx index 27408c45..25d85676 100644 --- a/src/App.jsx +++ b/src/App.jsx @@ -1,17 +1,20 @@ -// src/App.js import React from 'react'; import './App.css'; + import Navbar from './Components/Shared/Navbar'; -import Footer from "./Components/Shared/Footer" +import Footer from './Components/Shared/Footer'; +import { ThemeProvider } from './context/themeContext.jsx'; import { Outlet } from 'react-router-dom'; function App() { return ( -