add: locale and i18n

This commit is contained in:
Mahyar Khanbolooki
2025-07-24 03:14:21 +03:30
parent b9d14478a1
commit 1b3fac2f43
38 changed files with 385 additions and 69 deletions
+14
View File
@@ -0,0 +1,14 @@
import React from 'react';
import AboutPage from './AboutPage';
import { getAboutData } from '@/lib/api/info/getAboutData';
type Params = { name: string };
export default async function Page({ params }: { params: Promise<Params> }) {
const { name } = await params;
const data = await getAboutData(name);
return (
<><AboutPage data={data} /></>
);
}