From 78153c31a7bbb3cc588dea024095c9ecc1dd997c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=85rth=E1=80=9Dur?= Date: Wed, 4 Oct 2023 00:57:21 +0400 Subject: [PATCH] chore: some moves --- app/{ => [lang]}/favicon.ico | Bin app/[lang]/layout.tsx | 5 +++-- 2 files changed, 3 insertions(+), 2 deletions(-) rename app/{ => [lang]}/favicon.ico (100%) 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', };