layout.tsx 627 B

12345678910111213141516171819202122232425262728
  1. import type { Metadata } from 'next';
  2. export const metadata: Metadata = {
  3. title: 'json-render Dashboard Demo',
  4. description: 'AI-powered dashboard widget generator with guardrails',
  5. };
  6. export default function RootLayout({
  7. children,
  8. }: {
  9. children: React.ReactNode;
  10. }) {
  11. return (
  12. <html lang="en">
  13. <body
  14. style={{
  15. margin: 0,
  16. fontFamily:
  17. '-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif',
  18. backgroundColor: '#f9fafb',
  19. minHeight: '100vh',
  20. }}
  21. >
  22. {children}
  23. </body>
  24. </html>
  25. );
  26. }