// components/HeaderClient.tsx "use client"; import React, { useState } from "react"; import Link from "next/link"; import Image from "next/image"; // Use usePathname only if needed for active state logic not shown here // import { usePathname } from "next/navigation"; import { FiChevronDown, FiClipboard, FiArrowRight, FiMenu, FiX, FiLogIn, // Import the login icon } from "react-icons/fi"; import ThemeToggle from "./ThemeToggle"; // Assuming ThemeToggle component exists import type { Session } from "@auth/core/types"; // Import Session type for props const omsLogoUrl = "/oms-logo.svg"; // Ensure this is in your /public folder // --- Basic Dropdown Component --- // (Keep the DropdownMenu and DropdownLink component definitions here as before) type DropdownMenuProps = { trigger: React.ReactNode; children: React.ReactNode; menuClasses?: string; }; const DropdownMenu = ({ trigger, children, menuClasses = "w-48", }: DropdownMenuProps) => ( // Using group-focus-within for better keyboard/touch accessibility