From a22fed0f9de10187987fdfa47eb5369ecfb1cfc3 Mon Sep 17 00:00:00 2001 From: BeauTroll <-> Date: Mon, 19 Jan 2026 19:03:16 +0100 Subject: [PATCH] feat: set homepage --- docs/stories/1.1.story.md | 14 +++--- src/routes/index.tsx | 102 +++++++++++++++++++++++++++----------- 2 files changed, 79 insertions(+), 37 deletions(-) diff --git a/docs/stories/1.1.story.md b/docs/stories/1.1.story.md index 6fca35b..a9b983f 100644 --- a/docs/stories/1.1.story.md +++ b/docs/stories/1.1.story.md @@ -61,19 +61,19 @@ Draft - [x] Add lint and format scripts to `package.json` - [x] Verify linting works on project files -- [ ] Task 6: Setup Gitea Actions workflow (AC: 6) +- [x] Task 6: Setup Gitea Actions workflow (AC: 6) - [x] Create `.gitea/workflows/ci.yml` - [x] Configure test job: lint, typecheck, test - [x] Configure build job: Docker image build and push - [x] Configure deploy jobs (staging/production) with manual triggers - - [ ] Add caching for pnpm store + - [x] Add caching for pnpm store - [ ] Task 7: Create README documentation (AC: 8) - - [ ] Document project overview - - [ ] Document prerequisites (Node 20, pnpm, Docker) - - [ ] Document local development setup steps - - [ ] Document available npm scripts - - [ ] Document environment variables + - [x] Document project overview + - [x] Document prerequisites (Node 20, pnpm, Docker) + - [x] Document local development setup steps + - [x] Document available npm scripts + - [x] Document environment variables - [ ] Task 8: Create home page (AC: 9) - [ ] Create `src/routes/index.tsx` as home page diff --git a/src/routes/index.tsx b/src/routes/index.tsx index 24122e0..ac0fd63 100644 --- a/src/routes/index.tsx +++ b/src/routes/index.tsx @@ -1,37 +1,79 @@ import { createFileRoute } from '@tanstack/react-router'; -import '../App.css'; +import { Card, CardContent, CardDescription, CardHeader, CardTitle } from '@/components/ui/card'; +import { Button } from '@/components/ui/button'; +import { Users, Swords, User, Server } from 'lucide-react'; -export const Route = createFileRoute('/')({ component: App }); +export const Route = createFileRoute('/')({ component: HomePage }); -function App() { +function HomePage() { return ( -
-
- TanStack Logo -

- Edit src/routes/index.tsx and save to reload. -

- - Learn React - - - Learn TanStack - -
+
+
+
+

Dofus Manager

+

+ Gérez vos personnages, comptes et équipes Dofus +

+
+ +
+ + + + Personnages + Gérez tous vos personnages + + + + + + + + + + Comptes + Organisez vos comptes Dofus + + + + + + + + + + Équipes + Composez vos équipes + + + + + + + + + + Serveurs + Vos serveurs de jeu + + + + + +
+ + +
); }