"use client";

import Breadcrumb from "./Breadcrumb";
import LanguageSwitch from "./LanguageSwitch";
import WalletButton from "@/components/wallet/WalletButton";

interface BreadcrumbItem {
  label: string;
  href?: string;
}

interface TopBarProps {
  breadcrumbItems?: BreadcrumbItem[];
}

export default function TopBar({ breadcrumbItems }: TopBarProps) {
  return (
    <div className="hidden md:flex items-center justify-between w-full">
      {/* Left: Breadcrumb */}
      <div className="flex items-center gap-2">
        {breadcrumbItems && <Breadcrumb items={breadcrumbItems} />}
      </div>

      {/* Right: Actions */}
      <div className="flex items-center gap-4 pr-4">
        {/* Language Switch */}
        <LanguageSwitch />

        {/* Wallet Button */}
        <WalletButton />
      </div>
    </div>
  );
}
