mango-v4-ui/pages/index.tsx

33 lines
679 B
TypeScript
Raw Normal View History

2022-04-12 13:48:22 -07:00
import type { NextPage } from 'next'
2022-07-14 16:36:31 -07:00
import { serverSideTranslations } from 'next-i18next/serverSideTranslations'
2022-09-01 10:33:29 -07:00
import AccountPage from '../components/account/AccountPage'
2022-08-10 23:23:18 -07:00
2022-07-14 16:36:31 -07:00
export async function getStaticProps({ locale }: { locale: string }) {
return {
props: {
...(await serverSideTranslations(locale, [
2023-01-11 19:52:56 -08:00
'activity',
'common',
2022-11-12 02:26:43 -08:00
'onboarding',
'onboarding-tours',
2022-11-12 02:26:43 -08:00
'profile',
2023-01-10 18:46:18 -08:00
'search',
2022-12-16 03:26:42 -08:00
'settings',
'swap',
2023-01-11 19:52:56 -08:00
'token',
2022-10-06 18:57:47 -07:00
'trade',
])),
2022-07-14 16:36:31 -07:00
},
}
}
2022-04-12 13:48:22 -07:00
2022-07-14 16:36:31 -07:00
const Index: NextPage = () => {
2022-09-13 23:24:26 -07:00
return (
<div className="pb-20 md:pb-0">
2022-09-13 23:24:26 -07:00
<AccountPage />
</div>
)
2022-04-12 13:48:22 -07:00
}
export default Index