import React from 'react' import { Head, usePage } from '@inertiajs/react' import CustomerLayout from '@/Layouts/CustomerLayout' import { HiOutlineBell } from 'react-icons/hi2' import UserBanner from './UserBanner' const GuestBanner = () => { const { props: { app_name }, } = usePage() return (
{/* user */}
Welcome to {app_name}
0
) } export default function Index({ auth: { user }, infos }) { return (
{user !== null ? : } {/* banner */}
{/* info */}
{infos.map((info) => (
{info.title}
))}
{/* voucher */}
{/* chips */}
Jarbriel.id
Shaff.net
Weslycamp.net
Glory.net
Salgo.id
Terna.id
Kanza.id
{/* voucher */}
{[1, 2, 3, 4, 5, 6, 7, 8, 9, 10].map((x) => (
Lawaranet voucher internet sedap
Jabriel.net
IDR 10.000
50%
20.000
8GB
3 Hari
))}
) }