fix: allow animated background to show through on landing pages

The root div had an opaque bg-dark-950 that covered the portal-rendered
animated background at zIndex:-2. Remove the opaque background when
background_config is present, matching the AppShell pattern.
This commit is contained in:
Fringg
2026-03-07 15:34:59 +03:00
parent 0ce74ea5fb
commit 66bb86a5f2

View File

@@ -963,7 +963,7 @@ export default function QuickPurchase() {
const showTariffCards = visibleTariffs.length > 1;
return (
<div className="min-h-dvh overflow-x-hidden bg-dark-950">
<div className={cn('min-h-dvh overflow-x-hidden', !config.background_config && 'bg-dark-950')}>
{config.background_config && <StaticBackgroundRenderer config={config.background_config} />}
<div className="mx-auto max-w-5xl px-4 py-8 sm:px-6 lg:px-8">
{/* Language switcher */}