"use client"; import React, { useState } from "react"; import { FontAwesomeIcon } from "@fortawesome/react-fontawesome"; import { faArrowRight } from "@fortawesome/free-solid-svg-icons"; import Link from "next/link"; import { usePathname } from "next/navigation"; const paths = [ { href: "/dashboard", label: "Home" }, { href: "/dashboard/positions", label: "Positions" }, ]; export type LayoutProps = Readonly<{ children: React.ReactNode; }>; export default function Layout({ children }: LayoutProps) { const [isOpen, setIsOpen] = useState(true); const path = usePathname(); return (
{/* Sidebar */}
{/* Sidebar content */} {/* Toggle button */}
{/* Main content */}
{children}
); }