feat: add navigation between version 1 and 2

This commit is contained in:
Stevan Freeborn
2023-04-10 23:20:07 -05:00
parent 39449a5e0f
commit 7d7bffc20a
10 changed files with 106 additions and 59 deletions
+1 -14
View File
@@ -1,8 +1,4 @@
import { versionOne } from '@/docs/version_001/docsStructure';
import { versionTwo } from '@/docs/version_002/docsStructure';
import { ReactNode } from 'react';
import NavBar from './components/NavBar';
import SideBar from './components/SideBar';
import './globals.css';
export const metadata = {
@@ -25,16 +21,7 @@ export default function RootLayout({
}) {
return (
<html lang="en">
<body>
<SideBar
versionOne={versionOne}
versionTwo={versionTwo}
/>
<div className="container">
<NavBar />
{children}
</div>
</body>
<body>{children}</body>
</html>
);
}