feat: add docs routing

This commit is contained in:
2026-04-27 15:32:39 +02:00
parent 8abc69ebc3
commit 7fd39f58d8
7 changed files with 1881 additions and 21 deletions
+21
View File
@@ -0,0 +1,21 @@
import { Suspense } from "react";
import { Canvas } from "@react-three/fiber";
import { Crosshair } from "@/components/ui/Crosshair";
import { InteractPrompt } from "@/components/ui/InteractPrompt";
import { DebugPerf } from "@/utils/debug/DebugPerf";
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>
<Crosshair />
<InteractPrompt />
</>
);
}