1
0
Fork 0
This repository has been archived on 2023-12-03. You can view files and clone it, but cannot push or open issues or pull requests.
chellaris-galaxy-political-.../app/layout.tsx

25 lines
465 B
TypeScript
Raw Normal View History

2023-05-31 22:10:59 +00:00
import './globals.css'
import { PageNavbar } from '@/components/navbar'
import * as fs from 'fs';
2023-05-31 22:10:59 +00:00
export const metadata = {
2023-05-31 22:24:51 +00:00
title: 'Stellaris Ethics Compass',
description: '',
2023-05-31 22:10:59 +00:00
}
export default async function RootLayout({
2023-05-31 22:10:59 +00:00
children,
}: {
children: React.ReactNode
}) {
const navLinks = JSON.parse(fs.readFileSync('public/routes_api.json', 'utf-8')).links;
2023-05-31 22:10:59 +00:00
return (
<html lang="en">
<body>
{children}
</body>
2023-05-31 22:10:59 +00:00
</html>
)
}