-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathApp.tsx
27 lines (26 loc) · 882 Bytes
/
App.tsx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
import { Routes } from "./Routes";
import "./index.css";
import { ThemeProvider } from "./components/theme-provider";
import { ModeToggle } from "./components/ModeToggle";
export const App = () => {
return (
<ThemeProvider attribute="class" defaultTheme="system" enableSystem>
<div
className={`antialiased min-h-screen bg-white dark:bg-slate-900 text-slate-900 dark:text-slate-50`}
>
<div className="max-w-3xl mx-auto py-10 px-4">
<header>
<div className="flex items-center justify-between">
<ModeToggle />
{/* <nav className="ml-auto text-sm font-medium space-x-6">
<Link to="/">Home</Link>
<Link to="/about">About</Link>
</nav> */}
</div>
</header>
<Routes />
</div>
</div>
</ThemeProvider>
);
};