User pointed at https://menu.furset.ru/view/23855347 as a design they like and asked for a couple more templates in that direction. Added: - premium-dark: near-black background, warm gold accents, real line-drawn icon badges (calendar/people/box -- not emoji) for the date/guests/boxes stats, bullet-point value props under the title, minimal flat menu list -- closely matching that reference's visual language instead of the card-heavy style of the existing templates. - premium-emerald: the same layout in an emerald-green palette, as the second "couple" of designs requested, sharing the cover code with premium-dark and only differing by PALETTES entry. Both plug into the existing shared renderContentPages engine, so they get proper multi-page menu + pricing pages for free, consistent with all 6 existing signature templates. New icon-drawing helpers (iconBadge/iconCalendar/iconPeople/iconGauge/iconBox, statBadgeRow, bulletList) live in the shared helper section for reuse. Verified locally: both render in <70ms combined, produce 3 pages each for a normal order, and hold up under the same adversarial-data pass used for the other 6 (long names, 350 guests, seven-figure price, item with no photo/price/category) -- no overlap, no crashes, generous ellipsis truncation throughout. Fixed one real bug found while testing: the date value in the stat badge ("8 августа 2026 г.") was getting ellipsis-truncated at font-size 20px; reduced to 16px so it fits cleanly. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> |
||
|---|---|---|
| .github/workflows | ||
| docs | ||
| ops | ||
| public | ||
| supabase/functions | ||
| tests | ||
| .gitignore | ||
| deploy-trigger.txt | ||
| GITHUB-CLOUDFLARE-SETUP.txt | ||
| package-lock.json | ||
| package.json | ||
| PUSH-TO-GITHUB.bat | ||
| README.md | ||
| TIMEWEB-APP-PLATFORM.md | ||
| UPDATE-FROM-REMOTE-AND-PUSH.bat | ||
| wrangler.jsonc | ||
Caterium
Caterium catering SaaS frontend with Supabase backend.
Production
Primary production URL: https://app.caterium.ru
Production frontend is hosted on Timeweb Cloud App Platform:
- repository:
pavlov346346-source/caterium-app - branch:
production - publish directory:
public - auto deploy: enabled for
production
main is the integration branch. GitHub Actions runs the full Caterium QA workflow for each push to main. Only a successful QA run may promote the verified commit to production.
The Cloudflare Worker ancient-sound-04ab is retained only as a fallback. It is not the primary production target and must not replace the Timeweb deployment unless an intentional fallback procedure is being used.
Deploy checks
npm ci
npm audit --audit-level=high
npm run check:deploy
npm run test:e2e
The QA workflow performs these checks automatically. High/critical npm audit findings block promotion.
Cloudflare fallback
Use Cloudflare only as a backup deployment target. Manual fallback deployment is available as:
npm run deploy:cloudflare-backup
When configuring Git-based Cloudflare fallback deployment, use the verified production branch rather than main so the fallback receives the same QA-approved commit as Timeweb.
Backend
Supabase Edge Functions are versioned under supabase/functions/.
SQL migration/history files live under ops/sql/.
Database DDL changes should be applied as migrations and kept in repository history.
See TIMEWEB-APP-PLATFORM.md for the production hosting checklist.