'use client'; import styles from './page.module.scss'; import images from '@/data/images'; import { useCollageTexture } from '@/hooks'; import { View } from '@/webgl/View'; import { Loader } from '@/components/ui/modules'; import { Paper } from '@/components/webgl'; import { PerspectiveCamera } from '@react-three/drei'; const paperImages = images.slice(0, 5); export default function Home() { const { texture, isLoading } = useCollageTexture(paperImages, { gap: 0, canvasWidth: 1024, axis: 'y', }); if (isLoading) return ; return (
); }