diff --git a/website/src/app/[lang]/[region]/survey/[recipient]/[survey]/survey.css b/website/src/app/[lang]/[region]/survey/[recipient]/[survey]/survey.css index 5a0c98047..1abea47af 100644 --- a/website/src/app/[lang]/[region]/survey/[recipient]/[survey]/survey.css +++ b/website/src/app/[lang]/[region]/survey/[recipient]/[survey]/survey.css @@ -1,7 +1,7 @@ #react-survey { --primary: #fbc700; --background: #ffffff; - --background-dim: #f3f3f3; + --background-dim: transparent; --background-dim-light: #f9f9f9; --primary-foreground: #ffffff; --foreground: #161616; diff --git a/website/src/components/i18n-dialog.tsx b/website/src/components/i18n-dialog.tsx index 0f0e62176..3fa34cfaa 100644 --- a/website/src/components/i18n-dialog.tsx +++ b/website/src/components/i18n-dialog.tsx @@ -1,6 +1,7 @@ 'use client'; import { useI18n } from '@/components/providers/context-providers'; +import { useIsPage } from '@/hooks/useIsPage'; import { WebsiteCurrency, WebsiteLanguage, WebsiteRegion } from '@/i18n'; import { CurrencyDollarIcon } from '@heroicons/react/24/outline'; import { GlobeEuropeAfricaIcon, LanguageIcon } from '@heroicons/react/24/solid'; @@ -48,6 +49,7 @@ export function I18nDialog({ translations, children, }: PropsWithChildren) { + const isSurveyPage = useIsPage('survey'); const [open, setOpen] = useState(false); const { language, setLanguage, region, setRegion, currency, setCurrency } = useI18n(); @@ -74,7 +76,7 @@ export function I18nDialog({ )} - {!_.isEmpty(regions) && ( + {!_.isEmpty(regions) && !isSurveyPage && (