import { Head, usePage } from "@inertiajs/react"; interface User { look: string; username: string; } interface Article { id: number; slug: string; title: string; image: string; user?: User; } interface Photo { id: number; url: string; user?: User; } interface IndexProps { articles: Article[]; photos: Photo[]; } interface SharedProps extends Record { avatarImager: string; } export default function Index({ articles, photos }: IndexProps) { const { avatarImager } = usePage().props; return ( <>

Laatste nieuws

Blijf op de hoogte van het laatste hotel nieuws.

{photos.length > 0 && (

Laatste foto's

Bekijk de mooiste momenten vastgelegd door gebruikers.

{photos.map((photo) => (
)}
); }