53 Commits

Author SHA1 Message Date
ordinarthur
9a9519ce29 update site 2026-04-11 17:42:39 +02:00
ordinarthur
1b53e04b5d feat: switch to SSR for live Sanity updates
Migrate from SSG to SSR with @astrojs/node adapter so Sanity CMS
changes are reflected immediately without rebuild. Separate ports
for Astro SSR (4321) and Fastify API (3000) in production.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-04 11:41:34 +02:00
ordinarthur
7c77ac6c19 stylé de ouf 2 2026-04-04 11:15:58 +02:00
ordinarthur
f0042e49ec stylé de ouf 2026-04-04 11:15:54 +02:00
ordinarthur
4e2adf1afb fix: Safari mobile compatibility 2026-03-30 18:22:37 +02:00
ordinarthur
209d222eb0 remove: all scan/tech overlay effects 2026-03-30 18:19:20 +02:00
ordinarthur
15d7f856cb fix: smooth zoom reveal on product panel image 2026-03-30 18:16:37 +02:00
ordinarthur
0e07c4acd6 fix: remove scan effect on product panel image 2026-03-30 18:14:10 +02:00
ordinarthur
5257e53487 correct 2026-03-30 18:12:47 +02:00
ordinarthur
ea865574b7 new site 2026-03-30 18:03:12 +02:00
ordinarthur
39f7db84fb fix: add ComponentLoader for @adminjs/upload v4 compatibility
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-20 23:42:31 +01:00
ordinarthur
f4ac81dac3 feat: full product management from admin with image upload
- Add @adminjs/upload for image management (JPEG/PNG/WebP, max 5MB)
- Auto-compute imagePath, ogImage, slug, seoTitle, seoDescription
- Stripe price auto-sync on product create/edit
- Serve uploads via Fastify + nginx /uploads/ location
- Add imageKey/imageMime fields to schema
- Hide technical fields from admin edit form
- Add uploads/ and SQLite DB to .gitignore

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-20 23:38:11 +01:00
ordinarthur
4bb9ed86d4 feat: auto-sync product prices to Stripe from admin + UI fixes
- Admin edit hook syncs prices to Stripe (create/archive)
- "Prochainement disponible" disabled button for products without price
- Seed no longer hardcodes stripePriceId
- Fix nginx port mismatch (3001 → 3000)
- Coord tag background color + sound auto-start fix

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-20 23:30:39 +01:00
ordinarthur
d0b9242b89 change db type 2026-03-20 23:18:24 +01:00
ordinarthur
fc771aa2c1 feat: Enable ambient sound by default with autoplay on user interaction and update UI to reflect its active state. 2026-03-20 22:57:52 +01:00
ordinarthur
338efc548e feat: implement a contact modal with form submission functionality and minor style adjustments to card tags. 2026-03-20 22:57:23 +01:00
ordinarthur
801342a0bd update performance from lighthouse 2026-03-20 22:47:01 +01:00
ordinarthur
64e5159a55 correct seo 2026-03-20 22:31:12 +01:00
ordinarthur
39e2c7a1a0 new style rastafari 2026-03-20 22:27:12 +01:00
ordinarthur
90e229a763 add style frerot le boss 2026-03-20 22:15:18 +01:00
ordinarthur
5698eba6a8 ok prod 2026-03-13 10:23:05 +01:00
ordinarthur
76209f1e5d deploy: switch from Coolify to direct VPS deploy (nginx + systemd)
- nginx.conf: add proxy for /api, /admin, /robots.txt, /sitemap.xml to Fastify:3001
- deploy.sh: one-command rsync + build + restart
- deploy/setup.sh: first-time VPS setup (node, pnpm, nginx, systemd)
- deploy/rebours.service: systemd unit for Fastify server

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-13 09:52:48 +01:00
ordinarthur
5ef1e88f9a correct 2026-03-12 20:27:54 +01:00
ordinarthur
090a61d452 correct config 2026-03-12 20:20:56 +01:00
ordinarthur
9175004893 correct config 2026-03-12 20:13:00 +01:00
ordinarthur
eeb9025210 correct config 2026-03-12 20:03:57 +01:00
ordinarthur
8a96286551 correct 2026-03-12 19:57:16 +01:00
ordinarthur
8793113b65 fix: add @babel/plugin-syntax-import-assertions for AdminJS build
AdminJS requires this Babel plugin during the Astro build step.
Without it, Rollup fails to process .adminjs/entry.js.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-12 16:54:08 +01:00
ordinarthur
e3fb2752b7 fix: connect fastify to coolify network for DB access
The Docker Compose app creates its own isolated network, so the
fastify container cannot reach the PostgreSQL database managed
separately by Coolify. Adding the external 'coolify' network
allows inter-container communication.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-12 16:47:34 +01:00
ordinarthur
e8b71e7603 correcgt 2026-03-12 16:14:28 +01:00
ordinarthur
05b49baae9 correct docker compose 2026-03-12 16:11:30 +01:00
ordinarthur
542202883c remote pg for prod 2026-03-12 16:08:10 +01:00
ordinarthur
9537c0342c re-deploy 2026-03-12 15:37:59 +01:00
ordinarthur
4fdeacd19e feat: Add database with Prisma, AdminJS panel, Dockerization, Stripe integration, and migrate to pnpm. 2026-03-12 14:09:55 +01:00
ordinarthur
dd087d8826 add receipt 2026-02-27 18:37:58 +01:00
ordinarthur
598cb49b61 modify responsive 2026-02-27 18:36:09 +01:00
ordinarthur
7109ba44d7 add favicon logo 2026-02-27 18:28:00 +01:00
ordinarthur
5e540dc0bb add seo 2026-02-27 18:20:54 +01:00
ordinarthur
8be3338265 refactor using astro 2026-02-27 18:14:08 +01:00
ordinarthur
ad400fbd6e correct dot 2026-02-27 17:42:14 +01:00
ordinarthur
82226b2313 correct js 2026-02-27 16:25:54 +01:00
ordinarthur
45fd3c18c0 add prod data 2026-02-27 16:20:16 +01:00
ordinarthur
c9d78e29ee v4 2026-02-25 16:00:24 +01:00
ordinarthur
0edeeacbe2 v3 ? 2026-02-25 15:49:18 +01:00
ordinarthur
bb1b8039a3 v2 graphic 2026-02-25 15:40:06 +01:00
ordinarthur
a9e6b91c6b hot reload 2026-02-25 15:39:59 +01:00
ordinarthur
fd05422059 correct all + stripe ok 2026-02-25 15:26:18 +01:00
ordinarthur
b5a273ee2b change styles 2026-02-24 21:00:00 +01:00
ordinarthur
a9ebfb7b77 clean 2026-02-24 15:36:30 +01:00
ordinarthur
69cde9c64a good with docker 2026-02-24 15:13:37 +01:00