Commit Graph

8 Commits

Author SHA1 Message Date
L'électron rare 7787bed2e9 refactor: contact form delegates to mail-api
Replace nodemailer SMTP with HTTP fetch to mail-api
container (http://mail-api:3200/api/mail/send) which
already holds the Brevo SMTP creds. Single source of
truth for mail credentials, no duplication across
electron-rare-site and mail-api.

Drop nodemailer + @types/nodemailer from deps. Restore
npm ci in Dockerfile since the lock no longer drifts.

Override defaults via env: MAIL_API_URL, MAIL_FROM,
MAIL_TO. mail-api intra-Docker network reachable
because both services are on the traefik network.
2026-04-28 10:02:07 +02:00
L'électron rare 225bd1d457 feat: contact form via SMTP + 3D click links
Replace Frappe/Dolibarr API with direct SMTP send via
nodemailer. Form posts to local /api/submit-lead, no
external proxy on api.lelectronrare.fr (which was down
since Frappe was retired ~13 days ago).

Add onClick handler on BMU/I2C/MOSFET 3D meshes that
redirects to /contact/. Cursor pointer on hover for
affordance.

Switch Dockerfile from npm ci to npm install --no-audit
since package-lock will regen with nodemailer added.

Container env vars to configure:
  SMTP_HOST, SMTP_PORT, SMTP_USER, SMTP_PASS
  MAIL_FROM (defaults to SMTP_USER)
  MAIL_TO (defaults to contact@lelectronrare.fr)
2026-04-28 09:39:40 +02:00
Clément SAILLANT d5f1ce84b4 feat: WebGL cinematic countdown — 3D atom with circular orbital text
- Three.js + React Three Fiber + postprocessing (bloom, chromatic aberration, glitch, scanlines)
- Nucleus with pulsing energy core, wireframe icosahedron shell
- 3 electron orbits with trail particles + energy arcs
- 600 particle cloud with organic movement
- Circular orbital text: title, countdown timer, subtitle curved on 3D rings
- Mouse interactions: camera parallax, atom speed boost, nucleus glow on proximity
- Camera smooth lerp follow with gentle auto-drift
- Font fix: woff2 → ttf for troika-three-text compatibility
- Logo: static mark instead of missing sprite frames

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-29 17:32:38 +00:00
Electron Rare Bot 3f677718c6 ci: replace OVH FTP deploy with Cloudflare tunnel deploy via Photon 2026-03-19 16:21:44 +00:00
Clément SAILLANT 49b0f6ae23 fix(security): resolve npm audit moderate vulnerabilities 2026-03-04 09:38:36 +00:00
Clément SAILLANT a0255bca06 chore: dynamic UI sprint update and repo hygiene 2026-03-02 20:23:05 +01:00
Clément SAILLANT 58a94001f8 feat: enable GH Pages stable plus deploy externe Vercel/Netlify 2026-03-02 09:06:47 +01:00
Clément SAILLANT a607feda60 feat: apply pro creative-lab art direction and validate astro pipeline 2026-03-02 09:06:46 +01:00