Skip to content

Frontend: 3D globe with status-colored markers (react-globe.gl) #16

Description

@Jose-Gael-Cruz-Lopez

Context

The centerpiece — a 3D interactive globe with a marker per in-person hackathon. Depends on #15 (data) and #14 (scaffold).

What to build

  1. npm i react-globe.gl three.
  2. src/components/Globe.tsx:
    • <Globe globeImageUrl="//unpkg.com/three-globe/example/img/earth-dark.jpg" backgroundColor="#0d1117" />
    • pointsData = geocoded hackathons; pointLat={d=>d.lat}, pointLng={d=>d.lng}.
    • Color by status: open → #3fb950, opens_soon → #d29922, closed → #6e7681 (pointColor).
    • Small pointAltitude, a visible pointRadius; optional glow ring.
    • Auto-rotate (controls().autoRotate = true, slow), drag + zoom enabled.
    • Responsive: resize globe to container on window resize.
  3. Mount it in the main area from Frontend: Scaffold Vite + React + TS + Tailwind app (site/) #14. Smooth at the current ~24 points.

Acceptance


Part of #10 · Design spec · Repo data lives in .github/scripts/listings.json

Metadata

Metadata

Labels

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions