20 lines
329 B
TypeScript
20 lines
329 B
TypeScript
import { getTranslations } from 'next-intl/server';
|
|
|
|
import type { Metadata } from 'next';
|
|
|
|
export async function generateMetadata(): Promise<Metadata> {
|
|
const t = await getTranslations('layout.header.logo');
|
|
|
|
return {
|
|
title: t('platform'),
|
|
};
|
|
}
|
|
|
|
const Home = () => (
|
|
<div>
|
|
home
|
|
</div>
|
|
);
|
|
|
|
export default Home;
|