layout.tsx 627 B

123456789101112131415161718192021222324252627
  1. import type { Metadata } from "next";
  2. import "./globals.css";
  3. export const metadata: Metadata = {
  4. title: "Game Engine | json-render",
  5. description:
  6. "Build 3D worlds with AI. A scene editor and game runtime powered by json-render specs and React Three Fiber.",
  7. icons: { icon: "/icon.svg" },
  8. };
  9. export default function RootLayout({
  10. children,
  11. }: {
  12. children: React.ReactNode;
  13. }) {
  14. return (
  15. <html lang="en">
  16. <head>
  17. <meta
  18. name="viewport"
  19. content="width=device-width, initial-scale=1, viewport-fit=cover"
  20. />
  21. </head>
  22. <body>{children}</body>
  23. </html>
  24. );
  25. }