Implemented pricing page

This commit is contained in:
kbe
2025-08-14 18:38:57 +02:00
parent 9d5f57c13e
commit a1e49a1e1a
3 changed files with 40 additions and 32 deletions

View File

@@ -11,7 +11,7 @@ interface ThemeContextType {
const ThemeContext = createContext<ThemeContextType | undefined>(undefined);
export const ThemeProvider: React.FC<{ children: ReactNode }> = ({ children }) => {
const [theme, setTheme] = useState<Theme>('dark'); // Default to dark mode
const [theme, setTheme] = useState<Theme>('light'); // Default to light mode (white backgrounds)
useEffect(() => {
const savedTheme = localStorage.getItem('theme') as Theme | null;