Static website source for suedeai.org.
index.htmland page folders contain deployable static pagesassets/css/site.csscontains the shared visual systemassets/js/site.jscontains small progressive enhancementstests/verify_site.pyvalidates page coverage and SEO-critical markupbook-capture.phpandcontact-submit.phpare optional shared-hosting handlers
python3 -m http.server 8000Then open http://localhost:8000.
Upload all files and folders as-is to the web root for suedeai.org.
- static pages work immediately
book-capture.phpandcontact-submit.phprequire PHP enabled- the PHP handlers append submissions to local
.logfiles in the site root
- the site deploys cleanly to Vercel as a static site with serverless functions in
api/ - the book and contact forms progressively post to
/api/bookand/api/contactwhen those routes exist - if the Vercel API route fails or is unavailable, the forms fall back to the PHP actions for shared hosting
- the reader funnel resolves through
/sharp-excerpt/,/full-preview/, and the stable PDF asset path - the abridged PDF is hosted at
assets/files/stake-your-claim-condensed-preview.pdf - the book cover lives at
assets/img/stake-your-claim-cover.jpg - book requests are stored in Supabase for manual send-out from the Suede team
Required Vercel environment variables:
SUPABASE_URLSUPABASE_PUBLISHABLE_KEYSUPABASE_BOOK_TABLEdefault:book_leadsSUPABASE_CONTACT_TABLEdefault:contact_inquiries
Optional environment variables:
BOOK_EMAIL_FROMCONTACT_EMAIL_FROMCONTACT_NOTIFY_TORESEND_API_KEY
Current send-from recommendation:
info@suedeai.orgfor book delivery and contact notifications
Suggested Supabase tables:
\i supabase/schema.sqlBefore deploys, run the cross-project RLS audit from the sibling app repo:
cd ../Suede-AI-App/frontend
npm run audit:rlsDeployment flow:
- Import this repo into Vercel
- Add the Supabase environment variables
- Run the insert-only RLS policies from
supabase/schema.sql - Run
npm run audit:rlsfrom../Suede-AI-App/frontend - Point
suedeai.orgat the Vercel project - Keep
suedeai.aias the main site and let this site link into it
Detailed guide:
- [Vercel + Supabase + Namecheap deployment guide](/Users/jason/Documents/CodexXcampaign/SEO Webisite/docs/deployment/vercel-supabase-namecheap.md)
python3 tests/verify_site.py
php -l book-capture.php
php -l contact-submit.php