Files

33 lines
1.5 KiB
Markdown

# Apex Vehicle Registration — Embeddable HTML Snippet
A self-contained HTML/JS snippet for vehicle registration forms on the apextrackexperience.com website. Cascading make/model/year dropdowns with factory horsepower ratings, color field, and a specs panel that only unlocks after color is selected.
## Files
- **Vehicle database:** `/root/portal-mockup/vehicles.json` — 50+ makes, 200+ models with HP ratings
- **Full snippet:** `/root/.hermes/references/apex-vreg-final.html` — ~16KB, self-contained, no external dependencies
- **Hosted preview:** `https://vaultwarden.tailc2f3b0.ts.net/portal/apex-vreg-final.html`
## Installation
Paste the entire contents of `apex-vreg-final.html` into an Elementor HTML widget on the NASA page. No additional files needed — the vehicle database is inlined as JSON in the `<script>` tag.
## Light theme details
The snippet uses a light/white theme:
- Background: `#ffffff`, Cards: `#f8f9fa`, borders: `#e2e8f0`
- Accent: `#2563eb` (blue) — matches NASA branding
- Font: Inter, email-safe stack
## Vehicle database maintenance
The JSON file is static — no API calls, no monthly fees. The user edits the file to add vehicles.
### Adding vehicles
```json
{
"Ferrari": {
"F80": {"2026": 1184}
}
}
```
### Exotic vehicle update cron
A cron job (`exotic-vehicle-scout`) runs daily at 9 AM searching for newly announced exotic/performance vehicles. Silent if nothing new. Focus on Ferrari, Lamborghini, McLaren, Porsche, Bugatti, Koenigsegg, Pagani, Aston Martin, Rimac, Lotus, Maserati + high-end BMW M, Mercedes-AMG, Audi RS.