Implemented pricing page
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user