From 4f99cb0f2b5e8c6e799c1350b9e56bea945b8864 Mon Sep 17 00:00:00 2001 From: Mikael Brevik Date: Tue, 31 Oct 2023 13:07:34 +0100 Subject: [PATCH] feat: set assistant as front page --- src/pages/index.tsx | 24 +++--------------------- 1 file changed, 3 insertions(+), 21 deletions(-) diff --git a/src/pages/index.tsx b/src/pages/index.tsx index a732fcf7..01795c9d 100644 --- a/src/pages/index.tsx +++ b/src/pages/index.tsx @@ -1,22 +1,4 @@ -import DefaultLayout from '@atb/layouts/default'; -import { WithGlobalData, withGlobalData } from '@atb/layouts/global-data'; -import { CommonText, useTranslation } from '@atb/translations'; -import type { NextPage } from 'next'; +import AssistantPage, { getServerSideProps } from './assistant'; -function IndexContent() { - const { t } = useTranslation(); - return

{t(CommonText.Titles.siteTitle)}

; -} - -type IndexProps = WithGlobalData<{}>; -const Index: NextPage = (props) => { - return ( - - - - ); -}; - -export default Index; - -export const getServerSideProps = withGlobalData(); +export default AssistantPage; +export { getServerSideProps };