add: locale and i18n
This commit is contained in:
@@ -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} /></>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user