feat: render locale-aware portfolio routes
This commit is contained in:
12
src/app/(en)/layout.tsx
Normal file
12
src/app/(en)/layout.tsx
Normal file
@@ -0,0 +1,12 @@
|
||||
import type { Metadata } from 'next';
|
||||
import { SiteRoot } from '@/app/SiteRoot';
|
||||
import { messagesByLocale } from '@/i18n/content';
|
||||
import '@/styles/globals.css';
|
||||
|
||||
export const metadata: Metadata = messagesByLocale.en.metadata;
|
||||
|
||||
export default function EnglishLayout({
|
||||
children,
|
||||
}: Readonly<{ children: React.ReactNode }>) {
|
||||
return <SiteRoot locale="en">{children}</SiteRoot>;
|
||||
}
|
||||
Reference in New Issue
Block a user