diff --git a/apps/frontend/src/app/layout.tsx b/apps/frontend/src/app/layout.tsx
index f266edd..20a7251 100644
--- a/apps/frontend/src/app/layout.tsx
+++ b/apps/frontend/src/app/layout.tsx
@@ -15,7 +15,7 @@ export default function RootLayout({
}) {
return (
-
+
{children}
diff --git a/apps/frontend/src/app/page.tsx b/apps/frontend/src/app/page.tsx
index 7400658..7db6167 100644
--- a/apps/frontend/src/app/page.tsx
+++ b/apps/frontend/src/app/page.tsx
@@ -1,36 +1,50 @@
-import {
- Tabs,
- TabsContent,
- TabsList,
- TabsTrigger,
-} from '../components/ui/tabs';
-import { Cog, FilePlus2, FolderClosed, Info } from 'lucide-react';
+"use client"
+import { useState } from 'react';
+import { Button } from '../components/ui/button';
+import { Home } from 'lucide-react';
+
+export enum ESubPage {
+ Home,
+ Documentation,
+}
+
export default function HomePage() {
+ const [currentSubPage, setCurrentSubPage] = useState(0)
return (
-
-
-
- Liste des fichiers
- Ajouter un fichier
- Administration
- Informations
-
-
- Liste des fichiers
-
-
- Ajouter un nouveau fichier
-
-
- Administration
-
-
- Information
-
-
-
+
+
+
+
+
);
}
+
+function SubPageSelector() {
+ return (
+
+
+
+
+ )
+}
+
+export interface ISubPageProps {
+ currentSubPage: ESubPage
+}
+
+function SubPage(props: ISubPageProps) {
+ switch (props.currentSubPage) {
+ case ESubPage.Home:
+ return (<>Home>)
+ case ESubPage.Documentation:
+ return (<>Doc>)
+ default:
+ return (<>Default>)
+ }
+}
diff --git a/apps/frontend/src/components/Header.tsx b/apps/frontend/src/components/Header.tsx
index 18b958e..7923be7 100644
--- a/apps/frontend/src/components/Header.tsx
+++ b/apps/frontend/src/components/Header.tsx
@@ -1,8 +1,7 @@
export function Header() {
return (
-