diff --git a/app/layout.tsx b/app/layout.tsx index ec6cf2c..7b2a7ef 100644 --- a/app/layout.tsx +++ b/app/layout.tsx @@ -5,6 +5,7 @@ import { Geist, Geist_Mono } from 'next/font/google'; import { SiGithub, SiLinkedin, SiX } from '@icons-pack/react-simple-icons'; import { Analytics } from '@vercel/analytics/react'; import { SpeedInsights } from '@vercel/speed-insights/next'; +import { Monitor, Moon, Sun } from 'lucide-react'; import { ThemeProvider } from 'next-themes'; import { ViewTransitions } from 'next-view-transitions'; @@ -12,7 +13,7 @@ import { BASE_URL } from '~/lib/constants'; import { cn } from '~/lib/utils'; import { Toaster } from '~/components/ui/sonner'; import { BotLink, NavLink } from '~/components/navigation'; -import { ThemeToggle } from '~/components/theme-toggle'; +import { ThemeButton } from '~/components/theme-button'; import { AI } from '~/features/ai'; import { LanguageStats } from '~/features/github/components/language-stats'; import { LatestCommit } from '~/features/github/components/latest-commit'; @@ -156,6 +157,23 @@ function Header() { ); } +function ThemeToggle() { + return ( +
+ Toggle theme + + + + + + + + + +
+ ); +} + function Footer() { return (