Files
La-Fabrik/src/pages/page.tsx
T
2026-04-30 14:29:29 +02:00

20 lines
507 B
TypeScript

import { Suspense } from "react";
import { Canvas } from "@react-three/fiber";
import { DebugPerf } from "@/components/debug/DebugPerf";
import { GameUI } from "@/components/ui/GameUI";
import { World } from "@/world/World";
export function HomePage(): React.JSX.Element {
return (
<>
<Canvas camera={{ position: [85, 60, 85], fov: 42 }} shadows>
<Suspense fallback={null}>
<World />
<DebugPerf />
</Suspense>
</Canvas>
<GameUI />
</>
);
}