feat: add localized docs pages

This commit is contained in:
Tom Boullay
2026-04-27 16:27:08 +02:00
parent 7139ae559e
commit d5a295e18f
16 changed files with 735 additions and 127 deletions
+11
View File
@@ -0,0 +1,11 @@
import { createContext } from "react";
export type DocsLanguage = "en" | "fr";
export interface DocsLanguageContextValue {
language: DocsLanguage;
toggleLanguage: () => void;
}
export const DocsLanguageContext =
createContext<DocsLanguageContextValue | null>(null);