import type { ReactNode } from "react";

import { WalletSubnav } from "@/modules/wallet/wallet-subnav";

export default function AdminWalletLayout({ children }: { children: ReactNode }) {
  return (
    <div className="mx-auto flex w-full max-w-[1680px] min-w-0 flex-col gap-6 px-4 py-5 sm:px-6 lg:px-8 lg:py-6">
      <div className="sticky top-14 z-20 bg-background/95 pb-2 backdrop-blur supports-[backdrop-filter]:bg-background/80">
        <WalletSubnav />
      </div>
      {children}
    </div>
  );
}
