2023-01-10 18:46:18 -08:00
|
|
|
import SearchPage from '@components/search/SearchPage'
|
2022-11-27 01:21:38 -08:00
|
|
|
import type { NextPage } from 'next'
|
|
|
|
import { serverSideTranslations } from 'next-i18next/serverSideTranslations'
|
|
|
|
|
|
|
|
export async function getStaticProps({ locale }: { locale: string }) {
|
|
|
|
return {
|
|
|
|
props: {
|
2023-01-10 18:46:18 -08:00
|
|
|
...(await serverSideTranslations(locale, [
|
|
|
|
'common',
|
2023-04-21 07:23:27 -07:00
|
|
|
'notifications',
|
2023-01-10 18:46:18 -08:00
|
|
|
'profile',
|
|
|
|
'search',
|
|
|
|
])),
|
2022-11-27 01:21:38 -08:00
|
|
|
},
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
const Search: NextPage = () => {
|
2023-01-10 18:46:18 -08:00
|
|
|
return <SearchPage />
|
2022-11-27 01:21:38 -08:00
|
|
|
}
|
|
|
|
|
|
|
|
export default Search
|