Skip to content

Frontend: Scaffold Vite + React + TS + Tailwind app (site/) #14

Description

@Jose-Gael-Cruz-Lopez

Context

The map site is a fresh Vite + React + TypeScript SPA in a new top-level site/ folder — separate from the existing web/ Next.js README-board app. This issue is just the shell; the globe/data come in later issues. Deploy target is Cloudflare Pages (#20).

What to build

  1. npm create vite@latest site -- --template react-ts (top-level site/).
  2. Add Tailwind; dark theme matching HackHQ: near-black bg (#0d1117), green accent (#7ee787), gray text (#8b949e). Reuse the palette from web/ for consistency.
  3. Base layout components:
  4. Env: read import.meta.env.VITE_SUPABASE_URL / VITE_SUPABASE_ANON_KEY. Add .env (gitignored) and a committed .env.example.
  5. Scripts work: npm run dev, npm run build (clean), npm run preview.

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