-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
14 changed files
with
195 additions
and
96 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,75 @@ | ||
import '@repo/ui/globals.css'; | ||
import { FileSearch, Flame, Home, LineChart, MessageSquareMore, Trophy, Users } from 'lucide-react'; | ||
import Link from 'next/link'; | ||
|
||
export default function RootLayout({ | ||
children, | ||
}: { | ||
children: React.ReactNode; | ||
}): JSX.Element { | ||
return ( | ||
<html lang="en"> | ||
<body className="min-h-screen bg-background font-sans antialiased"> | ||
<div className="grid min-h-screen w-full md:grid-cols-[220px_1fr] lg:grid-cols-[280px_1fr]"> | ||
<div className="hidden border-r bg-muted/40 md:block"> | ||
<div className="flex h-full max-h-screen flex-col gap-2"> | ||
<div className="flex h-14 items-center border-b px-4 lg:h-[60px] lg:px-6"> | ||
<Link href="/" className="flex items-center gap-2 font-semibold"> | ||
<Flame className="h-6 w-6 text-primary" /> | ||
<span className="">Escape membre Athlonix</span> | ||
</Link> | ||
</div> | ||
<div className="flex-1"> | ||
<nav className="grid items-start px-2 text-sm font-medium lg:px-4"> | ||
<Link | ||
href="/members" | ||
className="flex items-center gap-3 rounded-lg px-3 py-2 text-muted-foreground transition-all hover:text-primary" | ||
> | ||
<Home className="h-4 w-4" /> | ||
Accueil | ||
</Link> | ||
<Link | ||
href="/members/activities" | ||
className="flex items-center gap-3 rounded-lg px-3 py-2 text-muted-foreground transition-all hover:text-primary" | ||
> | ||
<Users className="h-4 w-4" /> | ||
Activités | ||
</Link> | ||
<Link | ||
href="/members/tournaments" | ||
className="flex items-center gap-3 rounded-lg px-3 py-2 text-muted-foreground transition-all hover:text-primary" | ||
> | ||
<Trophy className="h-4 w-4" /> | ||
Tournois | ||
</Link> | ||
<Link | ||
href="/members/chat" | ||
className="flex items-center gap-3 rounded-lg px-3 py-2 text-muted-foreground transition-all hover:text-primary" | ||
> | ||
<MessageSquareMore className="h-4 w-4" /> | ||
Messagerie | ||
</Link> | ||
<Link | ||
href="/members/documents" | ||
className="flex items-center gap-3 rounded-lg px-3 py-2 text-muted-foreground transition-all hover:text-primary" | ||
> | ||
<FileSearch className="h-4 w-4" /> | ||
Documents | ||
</Link> | ||
<Link | ||
href="/members/votes" | ||
className="flex items-center gap-3 rounded-lg px-3 py-2 text-muted-foreground transition-all hover:text-primary" | ||
> | ||
<LineChart className="h-4 w-4" /> | ||
Votes | ||
</Link> | ||
</nav> | ||
</div> | ||
</div> | ||
</div> | ||
<div className="flex flex-col h-full">{children}</div> | ||
</div> | ||
</body> | ||
</html> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
function Page(): JSX.Element { | ||
return ( | ||
<div className="container mx-auto py-12 px-4 md:px-6"> | ||
<h1 className="text-3xl font-bold mb-8">Bienvenue sur la page des membres</h1> | ||
{ | ||
// todo: add content | ||
} | ||
</div> | ||
); | ||
} | ||
|
||
export default Page; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.