From 7a12132668fa959ab5c13767165d134d569c2b55 Mon Sep 17 00:00:00 2001 From: Baitinq Date: Sun, 23 Jun 2024 17:19:33 +0200 Subject: Home: Add sidebar --- src/pages/Home.tsx | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-) (limited to 'src/pages') diff --git a/src/pages/Home.tsx b/src/pages/Home.tsx index 8bda03b..422090f 100644 --- a/src/pages/Home.tsx +++ b/src/pages/Home.tsx @@ -1,6 +1,7 @@ import { useEffect, useState, useCallback } from "react" import { useNavigate } from "react-router-dom" +import SideBar from "../components/Sidebar/Sidebar" export default function Home(props: any) { const navigate = useNavigate() @@ -32,15 +33,18 @@ export default function Home(props: any) { return ( <> -
-

Home

-

Logged in!

- {files.map((file: any) => ( -
-

file: {file.absolute_path}

-
- )) - } +
+ +
+

Home

+

Logged in!

+ {files.map((file: any) => ( +
+

file: {file.absolute_path}

+
+ )) + } +
) -- cgit 1.4.1