This commit is contained in:
Joonas 2023-01-16 15:05:41 +02:00
parent 3d2986109f
commit 05b75f71b7
1 changed files with 4 additions and 1 deletions

View File

@ -30,7 +30,10 @@ export default function App() {
<Links />
</head>
<body className="dark:ctp-mocha dark:bg-ctp-base">
<button className="fixed bottom-0" onClick={() => setDarkMode(!darkMode)}>
<button
className="fixed bottom-0"
onClick={() => setDarkMode(!darkMode)}
>
{darkMode ? (
<svg
className="w-8 h-8 md:w-10 md:h-10"