-
-
-
-
-
-
- Get Started
+
+
+
+
+
+
+
+
+
+ {stars}
+
+
+
- Pricing
+ Get Started
diff --git a/apps/www/src/components/marketing-layout.tsx b/apps/www/src/components/layout/marketing-layout.tsx
similarity index 100%
rename from apps/www/src/components/marketing-layout.tsx
rename to apps/www/src/components/layout/marketing-layout.tsx
diff --git a/apps/www/src/components/layout/marketing-mobile-nav.tsx b/apps/www/src/components/layout/marketing-mobile-nav.tsx
deleted file mode 100644
index 20432c3..0000000
--- a/apps/www/src/components/layout/marketing-mobile-nav.tsx
+++ /dev/null
@@ -1,99 +0,0 @@
-"use client";
-
-import { Icons } from "@/components/icons";
-import { Button } from "@/components/ui/button";
-import { Sheet, SheetContent, SheetTrigger } from "@/components/ui/sheet";
-import { navConfig } from "@/config/nav";
-import { siteUrls } from "@/config/urls";
-import { cn } from "@/lib/utils";
-import type { LinkProps } from "next/link";
-import Link from "next/link";
-import { useRouter } from "next/navigation";
-import React from "react";
-
-export function MarketingMobileNav() {
- const [isOpen, setIsOpen] = React.useState
(false);
-
- return (
- setIsOpen(o)}>
-
-
-
-
-
-
-
-
-
-
-
- {navConfig.items.map((item) => (
-
- {item.label}
-
- ))}
-
-
-
- );
-}
-
-interface MobileLinkProps extends LinkProps {
- onOpenChange?: (open: boolean) => void;
- children: React.ReactNode;
- className?: string;
- disabled?: boolean;
-}
-
-function MobileLink({
- href,
- onOpenChange,
- className,
- children,
- disabled,
- ...props
-}: MobileLinkProps) {
- const router = useRouter();
- return (
- {
- void router.push(String(href));
- onOpenChange?.(false);
- }}
- className={cn(
- disabled && "pointer-events-none opacity-60",
- className,
- )}
- {...props}
- >
- {children}
-
- );
-}
diff --git a/apps/www/src/components/layout/marketing-nav.tsx b/apps/www/src/components/layout/marketing-nav.tsx
index aacdfbb..3caaf39 100644
--- a/apps/www/src/components/layout/marketing-nav.tsx
+++ b/apps/www/src/components/layout/marketing-nav.tsx
@@ -1,32 +1,82 @@
"use client";
-import { navConfig } from "@/config/nav";
import { usePathname } from "next/navigation";
import { cn } from "@/lib/utils";
import Link from "next/link";
+import { marketingPageConfig } from "@/config/pages";
+import { Icons } from "@/components/icons";
+import React from "react";
export function MarketingMainNav() {
const pathname = usePathname();
+ const [isHovered, setIsHovered] = React.useState(false);
+ const [currentHovered, setCurrentHovered] = React.useState("");
return (
-