diff --git a/app/favicon.ico b/app/[lang]/favicon.ico similarity index 100% rename from app/favicon.ico rename to app/[lang]/favicon.ico diff --git a/app/[lang]/layout.tsx b/app/[lang]/layout.tsx index 89a3c5a..7dc0acd 100644 --- a/app/[lang]/layout.tsx +++ b/app/[lang]/layout.tsx @@ -1,10 +1,11 @@ -import './globals.css'; import type { Metadata } from 'next'; import { Inter } from 'next/font/google'; import Providers from './providers'; import type { Locales } from '@/types/locales'; +import './globals.css'; + export async function generateStaticParams() { return [{ lang: 'en' }, { lang: 'es' }]; } @@ -12,7 +13,7 @@ export async function generateStaticParams() { const inter = Inter({ subsets: ['latin'] }); export const metadata: Metadata = { - title: 'React Hello World Enterprise Edition', + title: 'React Hello World | Enterprise Edition', description: 'Generated by create next app', };