Files
onspring-api-docs/src/app/layout.tsx
T

28 lines
532 B
TypeScript
Raw Normal View History

2023-04-07 23:18:45 -05:00
import { ReactNode } from 'react';
import NavBar from './components/NavBar';
import SideBar from './components/SideBar';
import './globals.css';
2023-04-07 21:33:32 -05:00
export const metadata = {
2023-04-07 23:18:45 -05:00
title: 'Onspring API Docs',
description: 'Documentation for the Onspring API',
};
2023-04-07 21:33:32 -05:00
export default function RootLayout({
children,
}: {
2023-04-07 23:18:45 -05:00
children: ReactNode;
2023-04-07 21:33:32 -05:00
}) {
return (
<html lang="en">
2023-04-07 23:18:45 -05:00
<body>
<SideBar />
<div className="container">
<NavBar />
{children}
</div>
</body>
2023-04-07 21:33:32 -05:00
</html>
2023-04-07 23:18:45 -05:00
);
2023-04-07 21:33:32 -05:00
}