We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5f49319 commit df94b00Copy full SHA for df94b00
client/src/layouts/mini.tsx
@@ -16,9 +16,15 @@
16
* along with this program. If not, see <http://www.gnu.org/licenses/>.
17
*/
18
import type React from "react";
19
+import { LanguageSwitch } from "@/components/language-switch";
20
+import { availableLanguages } from "@/i18n";
21
+
22
export default function MiniLayout({ children }: { children: React.ReactNode }) {
23
return (
24
<div className="min-h-screen flex flex-col bg-gray-50 dark:bg-gray-900">
25
+ <header className="flex justify-end p-4">
26
+ <LanguageSwitch availableLanguages={availableLanguages} />
27
+ </header>
28
<main className="grow flex items-center justify-center p-4">
29
<div className="w-full max-w-4xl bg-white dark:bg-gray-800 rounded-lg shadow-md p-6">
30
{children}
0 commit comments