chore: initial commit
This commit is contained in:
+16
-7
@@ -1,18 +1,27 @@
|
||||
import './globals.css'
|
||||
import { ReactNode } from 'react';
|
||||
import NavBar from './components/NavBar';
|
||||
import SideBar from './components/SideBar';
|
||||
import './globals.css';
|
||||
|
||||
export const metadata = {
|
||||
title: 'Create Next App',
|
||||
description: 'Generated by create next app',
|
||||
}
|
||||
title: 'Onspring API Docs',
|
||||
description: 'Documentation for the Onspring API',
|
||||
};
|
||||
|
||||
export default function RootLayout({
|
||||
children,
|
||||
}: {
|
||||
children: React.ReactNode
|
||||
children: ReactNode;
|
||||
}) {
|
||||
return (
|
||||
<html lang="en">
|
||||
<body>{children}</body>
|
||||
<body>
|
||||
<SideBar />
|
||||
<div className="container">
|
||||
<NavBar />
|
||||
{children}
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user