22 lines
380 B
TypeScript
22 lines
380 B
TypeScript
import { Metadata } from 'next';
|
|
import Link from 'next/link';
|
|
import { useTranslations } from 'next-intl';
|
|
|
|
export const metadata: Metadata = {
|
|
title: 'Home page',
|
|
};
|
|
|
|
export default function Home() {
|
|
const t = useTranslations('HomePage');
|
|
|
|
return (
|
|
<div>
|
|
<main>
|
|
<Link key={'dashboard'}
|
|
href={'/pages/dashboard'}
|
|
>dash board</Link>
|
|
</main>
|
|
</div>
|
|
);
|
|
}
|