@ -101,7 +101,9 @@ export default function Index(props) {
<img
onClick={() => handleBanner(banner)}
key={banner.id}
loading='lazy'
src={banner.image_url}
alt={banner.title}
className={`rounded w-${
banners.length === 1 ? 'full' : '[80%]'
} min-w-[340px] h-28 object-cover`}
@ -1,7 +1,8 @@
import React from 'react'
import { HiOutlineCash, HiOutlineBell } from 'react-icons/hi'
import BalanceBanner from './BalanceBanner'
import { router, usePage } from '@inertiajs/react'
import { HiOutlineBell } from 'react-icons/hi'
export default function UserBanner({ user }) {
const {
@ -2,11 +2,10 @@ import React, { useEffect } from 'react'
import { ToastContainer, toast } from 'react-toastify'
import { HiOutlineHome, HiOutlineUserCircle } from 'react-icons/hi'
import { HiOutlineHome } from 'react-icons/hi'
import {
HiArrowPathRoundedSquare,
HiBars3,
HiGift,
HiOutlineGift,
HiOutlineShoppingCart,
} from 'react-icons/hi2'