Skip to content

Commit f0d203c

Browse files
Add React waitlist landing page with Netlify deployment
- Complete React app with TypeScript, Vite, and React Router - ANYM⁸ landing page with ACTIVATE button and Join Waitlist CTA - Waitlist form with Firebase Firestore integration - Netlify serverless function for form submissions - Fallback to local CSV download if API fails - Production-ready build with optimized assets - SEO meta tags and OpenGraph support 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 46eb47e commit f0d203c

35 files changed

+4786
-0
lines changed
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# ANYM8 — React Waitlist Patch
2+
3+
This adds a **/waitlist** route and a **Netlify serverless function** that saves signups to **Firebase Firestore**.
4+
5+
## Files included
6+
- `pages/Waitlist.tsx` — drop into your `src/pages/` folder.
7+
- `App.withWaitlist.tsx` — replace your `src/App.tsx` with this (or merge the new route).
8+
- `react_netlify/functions/subscribe.js` — Netlify function.
9+
- `netlify.react.toml` — Netlify config (SPA fallback + API route).
10+
- `package.react.json` — add `firebase-admin` to your project (Netlify uses this for the functions build).
11+
12+
## Setup
13+
1. Move `pages/Waitlist.tsx` into `src/pages/Waitlist.tsx`.
14+
2. Replace your `src/App.tsx` with `App.withWaitlist.tsx` (or add the route manually).
15+
3. Copy `react_netlify` and `netlify.react.toml` to your project root. If you already have a `netlify.toml`, merge the **redirects** and **functions** paths.
16+
4. In Netlify → **Site settings → Environment variables**, add:
17+
- `FIREBASE_SERVICE_ACCOUNT` = paste the **full JSON** of a service account with Firestore write access.
18+
5. Deploy. The form posts to `/api/subscribe` and writes to the `waitlist` collection.
19+
20+
If the API fails, the component falls back to local CSV so no leads are lost.
Binary file not shown.
12.4 KB
Binary file not shown.
46.3 KB
Binary file not shown.
Binary file not shown.

anymate_system/anymate_landing-page/dist/assets/index-3c3cb948.js

Lines changed: 68 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

anymate_system/anymate_landing-page/dist/assets/index-fb9eeeef.css

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="UTF-8">
5+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
6+
<title>ANYM⁸ - Math-powered 3D Asset Generation</title>
7+
<meta name="description" content="Math-powered 3D asset generation and marketplace. Create production-ready game assets with JSON recipes and deterministic generation.">
8+
<meta property="og:title" content="ANYM⁸ - Math-powered 3D Asset Generation">
9+
<meta property="og:description" content="Create production-ready game assets with JSON recipes and deterministic generation.">
10+
<meta property="og:type" content="website">
11+
<link href="https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;700;900&display=swap" rel="stylesheet">
12+
<script type="module" crossorigin src="/assets/index-3c3cb948.js"></script>
13+
<link rel="stylesheet" href="/assets/index-fb9eeeef.css">
14+
</head>
15+
<body>
16+
<div id="root"></div>
17+
18+
</body>
19+
</html>

anymate_system/anymate_landing-page/images/.jpg

Whitespace-only changes.

anymate_system/anymate_landing-page/images/.png

Whitespace-only changes.

0 commit comments

Comments
 (0)