diff --git a/components/layout/mobile-navigation.tsx b/components/layout/mobile-navigation.tsx index 89ac27c..ff04e98 100644 --- a/components/layout/mobile-navigation.tsx +++ b/components/layout/mobile-navigation.tsx @@ -1,19 +1,17 @@ "use client" import { useEffect, useRef, useState } from "react" -import { RiArrowRightLine, RiCloseLine, RiMenu3Line } from "@remixicon/react" -import { Dialog as DialogPrimitive } from "radix-ui" +import { RiCloseLine, RiMenuLine } from "@remixicon/react" import { Brand } from "@/components/shared/brand" import { - Dialog, - DialogClose, - DialogDescription, - DialogOverlay, - DialogPortal, - DialogTitle, - DialogTrigger, -} from "@/components/ui/dialog" + Sheet, + SheetClose, + SheetContent, + SheetDescription, + SheetTitle, + SheetTrigger, +} from "@/components/ui/sheet" type NavigationItem = { label: string @@ -36,88 +34,84 @@ export function MobileNavigation({ items }: { items: NavigationItem[] }) { }, []) return ( - +
+ + ) } diff --git a/components/layout/theme-toggle.tsx b/components/layout/theme-toggle.tsx index 21587ea..bb6d1c1 100644 --- a/components/layout/theme-toggle.tsx +++ b/components/layout/theme-toggle.tsx @@ -4,6 +4,8 @@ import { RiMoonLine, RiSunLine } from "@remixicon/react" import { useTheme } from "next-themes" import { useSyncExternalStore } from "react" +import { Button } from "@/components/ui/button" + const emptySubscribe = () => () => {} export function ThemeToggle() { @@ -13,10 +15,12 @@ export function ThemeToggle() { const isDark = mounted && resolvedTheme === "dark" return ( - + ) } diff --git a/components/sections/hero-section.tsx b/components/sections/hero-section.tsx index 165baf3..d1e433b 100644 --- a/components/sections/hero-section.tsx +++ b/components/sections/hero-section.tsx @@ -9,7 +9,7 @@ export function HeroSection() {