2023-10-10 21:07:55 -07:00
|
|
|
import HomePage from '@components/HomePage'
|
2023-09-12 17:37:41 -07:00
|
|
|
import type { NextPage } from 'next'
|
|
|
|
import { serverSideTranslations } from 'next-i18next/serverSideTranslations'
|
2023-09-14 06:18:39 -07:00
|
|
|
|
2023-09-12 17:37:41 -07:00
|
|
|
export async function getStaticProps({ locale }: { locale: string }) {
|
|
|
|
return {
|
|
|
|
props: {
|
2023-09-29 16:46:54 -07:00
|
|
|
...(await serverSideTranslations(locale, ['common', 'swap'])),
|
2023-09-12 17:37:41 -07:00
|
|
|
},
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
const Index: NextPage = () => {
|
2023-10-10 21:07:55 -07:00
|
|
|
return <HomePage />
|
2023-09-12 17:37:41 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
export default Index
|