import * as React from "react"; import Link from "next/link"; import { ny } from "@/lib/utils"; import { NavigationMenu, NavigationMenuContent, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, navigationMenuTriggerStyle, } from "@/components/ui/navigation-menu"; import Logo from "./logo"; import { ModeToggle } from "./mode-toggle"; import { MobileNav } from "./mobile-nav"; import { HeartIcon } from "lucide-react"; import { HeartFilledIcon } from "@radix-ui/react-icons"; export const components: { title: string; href: string; description: string; isTargetBlank?: boolean; }[] = [ { title: "Privacy Policy", href: "/privacy-policy", description: "Read our privacy policy to learn more about how we handle your data.", }, { title: "Discord", href: "https://discord.gg/zen-browser", description: "Join our Discord server to chat with the community and get support.", isTargetBlank: true, }, { title: "Source Code", href: "https://github.com/zen-browser", description: "View the source code on GitHub and contribute to the project.", isTargetBlank: true, }, { title: "Branding Assets", href: "/branding-assets", description: "Download our branding assets to use in your projects.", }, { title: "About", href: "/about", description: "Learn more about the Zen Browser project and the team behind it.", }, { title: "Documentation", href: "https://docs.zen-browser.app/", description: "Read the documentation to learn more about Zen Browser.", isTargetBlank: true, }, ]; const ListItem = React.forwardRef< React.ElementRef<"a">, React.ComponentPropsWithoutRef<"a"> >(({ className, title, children, ...props }, ref) => { return (
  • {title}

    {children}

  • ); }); const ListItem2 = React.forwardRef< React.ElementRef<"a">, React.ComponentPropsWithoutRef<"a"> >(({ className, title, children, ...props }, ref) => { return (
  • {title}

    {children}

  • ); }); ListItem.displayName = "ListItem"; ListItem.displayName = "ListItem2"; export function Navigation() { return (
    Getting Started Donate
      Support us on Patreon and get exclusive rewards and keep the project alive. Ko-fi is a way to support us with a one-time donation and help us keep the project alive.
    {"Useful Links"}
      {components.map( ({ description, href, title, isTargetBlank }) => ( {description} ), )}
    ); }