feat: update copyright year placeholders and enhance footer styling; add new project titles and descriptions in Persian; implement locale handling in various components
This commit is contained in:
@@ -20,7 +20,7 @@ export default async function ErrorLayout({
|
||||
const fontClass = locale === 'fa' ? 'font-fa' : 'font-en';
|
||||
let messages;
|
||||
try {
|
||||
messages = (await import(`../../../messages/${locale}.json`)).default;
|
||||
messages = (await import(`../../../../messages/${locale}.json`)).default;
|
||||
} catch (error) {
|
||||
notFound();
|
||||
}
|
||||
@@ -27,7 +27,7 @@ export async function generateMetadata({ params }: { params: IPageParams }) {
|
||||
locale,
|
||||
url,
|
||||
},
|
||||
authors: [{ name: t('meta.author') }],
|
||||
// authors: [{ name: t('meta.author') }],
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user