# Votetech (clean rebuild)

Clean recreation of the Votetech voting UI recovered from the compromised site snapshot.

## What was removed

- Fake Microsoft / Instagram / X password forms
- Credential capture admin panel and `/api/admin/credentials`
- Connection to the compromised backend (`votetech-bck.vercel.app`)
- Leftover `optivote` / `castvote` phishing kit tokens

## What this app does

- Public ballot landing page (recovered brand: cream / taupe, Manrope + Space Grotesk)
- Demo identity verification (click a provider → local verified session, no passwords)
- Live leaderboard, cast ballot, results
- Poll admin for creating/closing polls only

## Run locally

```bash
cd clean-app
npm install
npm run dev
```

Demo admin PIN: `votetech`

## Important for production

1. Do not redeploy any files from the parent downloaded snapshot as the live site.
2. Wipe / rebuild the hosting server — malware may still live outside these static files.
3. Replace demo auth with real OAuth when provider keys are available.
4. Replace localStorage with a new clean backend API (never reuse the old Vercel backend).
