From 99617f117c957c0a48195729e8811fd18b1a496d Mon Sep 17 00:00:00 2001 From: Hermann_Kitio Date: Thu, 23 Apr 2026 03:17:16 +0300 Subject: [PATCH] style: prettier format Co-Authored-By: Claude Opus 4.7 (1M context) --- src/app/AppLayout.tsx | 4 +-- src/app/BottomNav.tsx | 9 ++---- src/app/Sidebar.tsx | 22 ++++++------- src/app/main.tsx | 4 +-- src/app/router.tsx | 24 +++++++------- src/entities/patterns/types.ts | 16 +++++----- src/entities/production/api.ts | 9 ++---- src/entities/report/lib.ts | 5 ++- src/entities/report/types.ts | 12 +++---- src/features/auth/hooks/useAuth.ts | 6 +--- .../components/MonProfilPreparation.tsx | 8 ++--- .../dashboard/pages/DashboardPage.tsx | 17 ++++------ .../components/SimulationListItem.tsx | 4 +-- .../__tests__/SimulationsList.test.tsx | 2 +- .../components/BlurredProgression.tsx | 4 +-- .../components/PatternExerciceCard.tsx | 20 +++--------- .../progression/components/PatternsList.tsx | 3 +- .../components/ProgressionPremium.tsx | 8 ++--- .../__tests__/ProgressionPremium.test.tsx | 21 ++++++------ .../progression/pages/ProgressionPage.tsx | 7 ++-- .../components/IdeesSuggestions.tsx | 5 ++- .../components/NclcCibleSelector.tsx | 4 +-- .../simulations/components/SimulationForm.tsx | 12 ++----- .../components/SpecialCharsKeyboard.tsx | 32 +++++++++++++++++-- .../simulations/components/SujetDisplay.tsx | 8 ++--- .../simulations/components/TaskSelector.tsx | 18 +++++------ .../components/rapport/ConseilNclcCallout.tsx | 8 ++--- .../components/rapport/CritereCard.tsx | 8 ++--- .../components/rapport/DiagnosticCallout.tsx | 8 ++--- .../rapport/ExerciceInteractive.tsx | 10 ++---- .../rapport/ProductionModeleSection.tsx | 4 +-- .../components/rapport/RevelationCards.tsx | 6 ++-- .../components/rapport/ScoreHero.tsx | 24 ++++++-------- .../__tests__/ExerciceInteractive.test.tsx | 2 +- .../hooks/__tests__/useAutosave.test.ts | 4 +-- .../hooks/__tests__/useSimulation.test.tsx | 23 +++++++------ .../simulations/lib/simulationConfig.ts | 4 ++- .../simulations/pages/RapportPage.tsx | 27 ++++------------ .../simulations/pages/SimulationPage.tsx | 32 +++++++++---------- src/features/simulations/pages/SujetsPage.tsx | 20 +++++------- .../state/SimulationFlowProvider.tsx | 4 +-- .../simulations/state/simulationFlow.ts | 13 ++------ src/shared/ui/Badge.tsx | 14 ++++---- src/shared/ui/Button.tsx | 22 ++++++------- src/shared/ui/Card.tsx | 14 +++----- 45 files changed, 229 insertions(+), 302 deletions(-) diff --git a/src/app/AppLayout.tsx b/src/app/AppLayout.tsx index 65d53f9..4208568 100644 --- a/src/app/AppLayout.tsx +++ b/src/app/AppLayout.tsx @@ -71,9 +71,7 @@ export function AppLayout({ children }: AppLayoutProps) { {/* ── Zone de contenu ────────────────────────────────────────── */} {/* pb-16 sur mobile pour ne pas être masqué par le BottomNav fixe */} -
- {children} -
+
{children}
{/* ── MOBILE — BottomNav fixe ────────────────────────────────── */} diff --git a/src/app/BottomNav.tsx b/src/app/BottomNav.tsx index b5f14ae..d610811 100644 --- a/src/app/BottomNav.tsx +++ b/src/app/BottomNav.tsx @@ -16,8 +16,8 @@ import { cn } from '@/shared/lib/utils' const SHEET_ITEMS = [ { label: 'Expression Écrite', to: '/simulation/ee' }, - { label: 'Expression Orale', to: '/simulation/eo' }, - { label: 'Examen blanc', to: '/examen' }, + { label: 'Expression Orale', to: '/simulation/eo' }, + { label: 'Examen blanc', to: '/examen' }, ] as const export function BottomNav() { @@ -102,10 +102,7 @@ export function BottomNav() { )} >