import React from 'react'
import { Head, Link, router } from '@inertiajs/react'
import CustomerLayout from '@/Layouts/CustomerLayout'
import UserBanner from '../Index/UserBanner'
import {
HiChevronRight,
HiOutlineUser,
HiOutlineUserCircle,
} from 'react-icons/hi2'
import { HiOutlineBell, HiOutlineCash } from 'react-icons/hi'
import { useModalState } from '@/hooks'
import ModalConfirm from '@/Components/ModalConfirm'
export default function Index({ auth: { user } }) {
const confirmModal = useModalState()
const handleLogoutClick = () => {
confirmModal.toggle()
}
const onLogout = () => {
router.post(route('customer.logout'))
}
return (