Template
Replace Lucide icons with Remix Icon and add footer social links
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
"use client"
|
||||
|
||||
import { Moon, Sun } from "lucide-react"
|
||||
import { RiMoonLine, RiSunLine } from "@remixicon/react"
|
||||
import { useTheme } from "next-themes"
|
||||
import { useSyncExternalStore } from "react"
|
||||
|
||||
@@ -20,7 +20,7 @@ export function ThemeToggle() {
|
||||
onClick={() => setTheme(isDark ? "light" : "dark")}
|
||||
>
|
||||
{mounted ? (
|
||||
isDark ? <Sun className="size-4" /> : <Moon className="size-4" />
|
||||
isDark ? <RiSunLine className="size-4" /> : <RiMoonLine className="size-4" />
|
||||
) : (
|
||||
<span className="size-4" aria-hidden="true" />
|
||||
)}
|
||||
|
||||
Reference in New Issue
Block a user