initial App/Nav setup

This commit is contained in:
TaylorS15
2023-02-10 16:20:47 -05:00
parent 3aed55ba60
commit e1e9daf1d1
3 changed files with 48 additions and 5 deletions

View File

@@ -0,0 +1,3 @@
export default function DocsGPT() {
return <div>Docs GPT</div>;
}

View File

@@ -0,0 +1,17 @@
import React, { useState } from 'react';
function MobileNavigation() {
return <div>Mobile Navigation</div>;
}
function DesktopNavigation() {
return <div>Desktop Navigation</div>;
}
export default function Navigation({ isMobile }: { isMobile: boolean }) {
if (isMobile) {
return <MobileNavigation />;
} else {
return <DesktopNavigation />;
}
}