From 7bf0984698e43b9aa2dd879f65951318ed410390 Mon Sep 17 00:00:00 2001 From: Maze <167211895+mazeincoding@users.noreply.github.com> Date: Sat, 31 Jan 2026 00:20:04 +0100 Subject: codebase overhaul (#697) --- apps/web/src/components/header.tsx | 180 +++++++++++++++++++++++++++---------- 1 file changed, 135 insertions(+), 45 deletions(-) (limited to 'apps/web/src/components/header.tsx') diff --git a/apps/web/src/components/header.tsx b/apps/web/src/components/header.tsx index f8877330..95f08304 100644 --- a/apps/web/src/components/header.tsx +++ b/apps/web/src/components/header.tsx @@ -1,57 +1,147 @@ "use client"; +import { useState } from "react"; import Link from "next/link"; +import { motion } from "motion/react"; import { Button } from "./ui/button"; import { ArrowRight } from "lucide-react"; -import { HeaderBase } from "./header-base"; import Image from "next/image"; import { ThemeToggle } from "./theme-toggle"; +import { GithubIcon, Menu02Icon } from "@hugeicons/core-free-icons"; +import { HugeiconsIcon } from "@hugeicons/react"; +import { cn } from "@/utils/ui"; +import { DEFAULT_LOGO_URL, SOCIAL_LINKS } from "@/constants/site-constants"; export function Header() { - const leftContent = ( - - OpenCut Logo - OpenCut - - ); + const [isMenuOpen, setIsMenuOpen] = useState(false); + const closeMenu = () => setIsMenuOpen(false); - const rightContent = ( - - ); + const links = [ + { + label: "Contributors", + href: "/contributors", + }, + { + label: "Sponsors", + href: "/sponsors", + }, + { + label: "Blog", + href: "/blog", + }, + ]; - return ( -
- -
- ); + return ( +
+
+
+ + OpenCut Logo + + +
+ +
+
+ +
+
+ + + + + + + +
+
+
+
+
+
+
+
+ ); } -- cgit v1.3.1