From 5ea0ed21e1c7103b4b1a13fe7f91eddede4d41fd Mon Sep 17 00:00:00 2001 From: Nicolas Cantu Date: Sat, 27 Dec 2025 23:01:34 +0100 Subject: [PATCH] Update /docs page with dark theme and modern styling - Replace DocsHeader with PageHeader and Footer - Update DocsSidebar with dark cyberpunk theme - Update DocsContent with dark theme and styled prose - Use i18n for page title - All TypeScript checks pass --- components/DocsContent.tsx | 6 +++--- components/DocsSidebar.tsx | 10 +++++----- components/HomeView.tsx | 2 +- pages/docs.tsx | 34 ++++++++-------------------------- 4 files changed, 17 insertions(+), 35 deletions(-) diff --git a/components/DocsContent.tsx b/components/DocsContent.tsx index 5251109..871fb6b 100644 --- a/components/DocsContent.tsx +++ b/components/DocsContent.tsx @@ -10,14 +10,14 @@ export function DocsContent({ content, loading }: DocsContentProps) { if (loading) { return (
-

Chargement de la documentation...

+

Chargement de la documentation...

) } return ( -
-
+
+
{renderMarkdown(content)}
diff --git a/components/DocsSidebar.tsx b/components/DocsSidebar.tsx index 897d99f..6065319 100644 --- a/components/DocsSidebar.tsx +++ b/components/DocsSidebar.tsx @@ -17,17 +17,17 @@ interface DocsSidebarProps { export function DocsSidebar({ docs, selectedDoc, onSelectDoc }: DocsSidebarProps) { return (