"use client"; import { RiArrowRightSLine, RiMenuLine } from "@remixicon/react"; import Link from "next/link"; import { useState } from "react"; import { Logo } from "@/components/logo"; import { Button } from "@/components/ui/button"; import { Sheet, SheetContent, SheetHeader, SheetTitle, } from "@/components/ui/sheet"; const navLinks = [ { href: "#telas", label: "Conheça as telas" }, { href: "#funcionalidades", label: "Funcionalidades" }, { href: "#companion", label: "Companion" }, { href: "#stack", label: "Stack" }, { href: "#como-usar", label: "Como usar" }, ]; interface MobileNavProps { isPublicDomain: boolean; isLoggedIn: boolean; } export function MobileNav({ isPublicDomain, isLoggedIn }: MobileNavProps) { const [open, setOpen] = useState(false); return (
{!isPublicDomain && (
{isLoggedIn ? ( setOpen(false)}> ) : ( <> setOpen(false)}> setOpen(false)}> )}
)}
); }