Skip to content

fix: transparent globe canvas and footer layout#191

Merged
mluena merged 5 commits intodevelopfrom
fix/globe-transparent-bg-footer-layout
Apr 1, 2026
Merged

fix: transparent globe canvas and footer layout#191
mluena merged 5 commits intodevelopfrom
fix/globe-transparent-bg-footer-layout

Conversation

@mbarrenechea
Copy link
Copy Markdown
Collaborator

Summary

  • Make the Cesium WebGL canvas transparent (alpha channel + transparent scene background) so the landing bg.png background image shows through instead of being blocked by an opaque canvas
  • Remove duplicate bg.png background from .cesium-widget CSS that was causing a visible shift between the two misaligned copies
  • Restructure layout to propagate flex flex-col down the component chain (layout.tsxlayout-client.tsx(landing)/layout.tsx) so the footer sits in normal document flow pushing the globe up, instead of overlapping with absolute bottom-0

Test plan

  • Verify the landing page background image is visible behind the globe
  • Verify no background shift/misalignment on load
  • Verify the footer appears below the globe, not overlapping it
  • Verify the globe fills the available space above the footer
  • Check mobile footer behavior is unchanged
  • Verify /explore routes still have no footer and layout is unaffected

Make the Cesium WebGL canvas transparent so the landing background image
shows through, and restructure the layout so the footer pushes content
up instead of overlapping it.

- Enable WebGL alpha channel and transparent scene background
- Remove duplicate bg.png from .cesium-widget CSS
- Propagate flex-col through layout chain for proper sizing
- Remove absolute positioning from desktop footer
@vercel
Copy link
Copy Markdown

vercel bot commented Mar 31, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
oemc Ready Ready Preview Mar 31, 2026 0:14am

Request Review

Scene doesn't expose this as a settable prop in Resium (read-only
constructor option). Pass it through Viewer instead, which forwards
it to the Cesium.Viewer constructor.
Slide-in + fade-in animations for desktop panels using tailwindcss-animate:
- Geostories sidebar animates from left after data is fetched
- Social media sidebar animates from right on mount
- Categories panel animates from bottom on mount
- Globe fades in once satellite tiles finish loading
…tions

Scope hover styles to inactive buttons only so active state is not
overridden. Add transition-colors to button, icon circle, and label
for smooth color changes on toggle and hover.
@mluena mluena merged commit 47e856f into develop Apr 1, 2026
1 of 2 checks passed
@mluena mluena deleted the fix/globe-transparent-bg-footer-layout branch April 1, 2026 09:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants