Skip to content

Commit 494855a

Browse files
Copilothotlong
andcommitted
Add language switcher to homepage for complete i18n support
Co-authored-by: hotlong <50353452+hotlong@users.noreply.github.com>
1 parent e1038ae commit 494855a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/docs/app/[lang]/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { baseOptions } from '@/app/layout.config';
55

66
export default function HomePage() {
77
return (
8-
<HomeLayout {...baseOptions}>
8+
<HomeLayout {...baseOptions} i18n>
99
<main className="flex min-h-screen flex-col items-center justify-center text-center px-4 py-16 sm:py-24 md:py-32 overflow-hidden bg-background text-foreground selection:bg-primary/20">
1010

1111
{/* Hero Section */}

0 commit comments

Comments
 (0)