💄(frontend) center the feedback screen text

Align the screen with the mockup, and the recent added error screen.
This commit is contained in:
lebaudantoine
2024-08-04 23:42:52 +02:00
committed by aleb_the_flash
parent ca3b1f0297
commit 9a07fba991

View File

@@ -1,5 +1,5 @@
import { useTranslation } from 'react-i18next'
import { P } from '@/primitives'
import { Text } from '@/primitives'
import { Screen } from '@/layout/Screen'
import { CenteredContent } from '@/layout/CenteredContent'
@@ -8,7 +8,7 @@ export const FeedbackRoute = () => {
return (
<Screen layout="centered">
<CenteredContent title={t('feedback.heading')} withBackButton>
<P>{t('feedback.body')}</P>
<Text as="p" variant="h3" centered>{t('feedback.body')}</Text>
</CenteredContent>
</Screen>
)