diff --git a/frontend/src/routes/frontpage/components/loginpage.tsx b/frontend/src/routes/frontpage/components/loginpage.tsx index ca958d9965ef34ea2fbea46de70fe4d8b1149387..bb246f18c3cd3a49838a3068da4120459bfe226d 100644 --- a/frontend/src/routes/frontpage/components/loginpage.tsx +++ b/frontend/src/routes/frontpage/components/loginpage.tsx @@ -11,35 +11,30 @@ export default function LoginPage() { return ( <Page> + <Container + sx={{ + marginTop: '4rem', + }} + > + <Typography variant="h1" sx={{ paddingBottom: '1rem' }}> + {t('header')} + </Typography> + <Typography variant="body1" sx={{ paddingBottom: '2rem' }}> + {t('description', { inst: instNameUpperCaser(appInst) })} + </Typography> + </Container> <Container maxWidth="md" sx={{ display: 'flex', - flexDirection: 'column', - marginTop: '4rem', + justifyContent: 'space-between', + flexDirection: { xs: 'column', md: 'row' }, + alignItems: 'center', marginBottom: '10rem', }} > - <Container> - <Typography variant="h1" sx={{ paddingBottom: '1rem' }}> - {t('header')} - </Typography> - <Typography variant="body1" sx={{ paddingBottom: '2rem' }}> - {t('description', { inst: instNameUpperCaser(appInst) })} - </Typography> - </Container> - - <Container - sx={{ - display: 'flex', - justifyContent: 'space-between', - flexDirection: { xs: 'column', md: 'row' }, - alignItems: 'center', - }} - > - <LoginBox header={t('sponsor')} info={t('sponsorInfo')} /> - <LoginBox header={t('guest')} info={t('guestInfo')} /> - </Container> + <LoginBox header={t('sponsor')} info={t('sponsorInfo')} /> + <LoginBox header={t('guest')} info={t('guestInfo')} /> </Container> </Page> )