Refactor layout and navigation on HomePage

Updated tsconfig.json to include paths for better imports. Modified layout.tsx and Header.tsx for improved styles. Refactored HomePage to use new state management and simplified components for better readability and navigation.
This commit is contained in:
2024-09-23 16:17:31 +02:00
parent 3e49047f0e
commit bdadf51e54
4 changed files with 48 additions and 32 deletions

View File

@@ -1,8 +1,7 @@
export function Header() {
return (
<header className={"container flex justify-evenly items-center p-2 mb-4 rounded bg-background"}>
<header className={"w-full flex justify-evenly items-center rounded bg-background"}>
<div>
<h1 className={"text-2xl"}>Gestionnaire des fichiers</h1>
</div>
</header>
)