-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathSettingsPage.jsx
More file actions
19 lines (16 loc) · 855 Bytes
/
Copy pathSettingsPage.jsx
File metadata and controls
19 lines (16 loc) · 855 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
import React from 'react';
import { useVisualSettings } from '../context/VisualSettingsContext';
import BrutalistSettingsPage from './brutalist-views/BrutalistSettingsPage';
import LuxeSettingsPage from './luxe-views/LuxeSettingsPage';
import TerracottaSettingsPage from './terracotta-views/TerracottaSettingsPage';
import MistSettingsPage from './mist-views/MistSettingsPage';
import LedgerSettingsPage from './ledger-views/LedgerSettingsPage';
const SettingsPage = () => {
const { fezcodexTheme } = useVisualSettings();
if (fezcodexTheme === 'luxe') return <LuxeSettingsPage />;
if (fezcodexTheme === 'terracotta') return <TerracottaSettingsPage />;
if (fezcodexTheme === 'mist') return <MistSettingsPage />;
if (fezcodexTheme === 'ledger') return <LedgerSettingsPage />;
return <BrutalistSettingsPage />;
};
export default SettingsPage;