🐸 Rybbit - open-source and privacy-friendly alternative to Google Analytics that is 10x more intuitive.
Refactor GlobePage layout and GlobeSessions styling for improved UI consistency
Bill Yang11b7a5e44e82
diff --git a/client/src/app/[site]/globe/components/GlobeSessions.tsx b/client/src/app/[site]/globe/components/GlobeSessions.tsxindex 23554ab6b..f19e36f6a 100644--- a/client/src/app/[site]/globe/components/GlobeSessions.tsx+++ b/client/src/app/[site]/globe/components/GlobeSessions.tsx@@ -175,7 +175,7 @@ export function GlobeSessions() {return (<>- <div className="space-y-2 bg-neutral-900 p-2 rounded-lg w-[371px]">+ <div className="space-y-2 bg-neutral-800/40 p-2 rounded-lg w-[371px] backdrop-blur-sm"><div className="text-sm text-neutral-300 font-medium flex items-center justify-between">SESSIONS<Button variant="ghost" size="smIcon" onClick={() => setExpanded(!expanded)}>diff --git a/client/src/app/[site]/globe/page.tsx b/client/src/app/[site]/globe/page.tsxindex 151e4db7c..2dd5b60a0 100644--- a/client/src/app/[site]/globe/page.tsx+++ b/client/src/app/[site]/globe/page.tsx@@ -92,8 +92,10 @@ export default function GlobePage() {</div>)}<div className="absolute bottom-2 left-4 z-99999 right-4 flex flex-col gap-2">- {mapView !== "timeline" && <GlobeSessions />}- <MapViewSelector />+ <div className="flex items-end gap-2 justify-between">+ <MapViewSelector />+ {mapView !== "timeline" && <GlobeSessions />}+ </div>{mapView === "timeline" && <TimelineScrubber />}</div></div>