fix(manager): match Mission Core landing geometry

This commit is contained in:
DCCONSTRUCTIONS
2026-08-22 10:23:07 +03:00
parent 506d786ee6
commit 06cb780777
6 changed files with 230 additions and 45 deletions
+8 -2
View File
@@ -684,6 +684,9 @@ function DeviceStage({
&& primarySections.some((section) => section.value === value)
&& values.indexOf(value) === index
));
const hasMedia = overview.background.enabled && overview.background.items.some(
(item) => Boolean(mediaSource(item)) && Boolean(item.mediaKind),
);
return (
<div className="device-manager-stage">
{error ? (
@@ -694,7 +697,10 @@ function DeviceStage({
</GlassSurface>
) : null}
<GlassSurface className="device-manager-home" padding="lg" tone="soft">
<section
className="device-manager-home"
data-has-media={hasMedia ? "true" : undefined}
>
<EnvironmentBackdrop background={overview.background} />
<div className="device-manager-home__scrim" aria-hidden="true" />
<section className="device-manager-hero">
@@ -715,7 +721,7 @@ function DeviceStage({
</div>
) : null}
</section>
</GlassSurface>
</section>
</div>
);
}