import React from 'react' import ApplicationLogo from '@/Components/Defaults/ApplicationLogo' import { Link, router, usePage } from '@inertiajs/react' import { HiHome, HiOutlineHome, HiOutlineUserCircle } from 'react-icons/hi' import { HiArrowPathRoundedSquare, HiOutlineShoppingCart, } from 'react-icons/hi2' export default function CustomerLayout({ children }) { const { props: { auth: { user }, }, } = usePage() const handleOnClick = (r) => { router.get(route(r)) } const isActive = (r) => { if (route().current(r)) { return 'text-blue-700 h-8 w-8' } return 'text-gray-600 h-8 w-8' } return (