2026-11-06 18:58:40 +02:00
# 3dealer
2026-07-31 17:41:55 +03:00
2026-11-06 18:58:40 +02:00
The storefront for 3dealer.gr: a boboko shop (Laravel + Lunar, on top of the shared
`boboko/core` package). It's also the **reference shop** : boboko's standard storefront is being
worked out here.
2026-11-06 18:49:52 +02:00
2026-11-06 18:58:40 +02:00
## Shared rules: the `boboko` plugin
2026-07-31 17:41:55 +03:00
2026-11-06 18:58:40 +02:00
The rules for every boboko shop are in the ** `boboko` Claude Code plugin** (re-skills
marketplace, enabled in `.claude/settings.json` ). Its skills load when the work calls for them:
2026-07-31 17:41:55 +03:00
2026-11-06 18:58:40 +02:00
| Skill | For |
2026-07-31 17:41:55 +03:00
|---|---|
2026-11-06 18:58:40 +02:00
| `boboko-platform` | How core, starter and the shops fit together; where new code goes; approved third-party scripts |
| `cacheable-pages` | Catalogue pages identical for every visitor; islands; JSON writes. **Read before touching catalogue pages, the header, the layout or any form** |
| `storefront-frontend` | Tailwind, tokens, components, Popover, Stimulus, ARIA, Greek capitals, forms |
| `storefront-performance` | Core Web Vitals: bundling, fonts, LCP images, CLS, Speculation Rules, bfcache |
| `locale-routes` | `{locale}` routes, `$locale` first in controllers, same slugs, hreflang |
| `storefront-translations` | `storefront.*` labels as Language Lines; getting keys into core |
| `core-local-dev` , `releasing-core` | Working on core alongside this shop; releasing and `bin/deploy` |
2026-07-31 17:41:55 +03:00
2026-11-06 18:58:40 +02:00
If something below conflicts with a skill, this file wins for 3dealer. Say so, so the skill or
this file gets fixed.
2026-07-31 17:41:55 +03:00
2026-11-06 18:58:40 +02:00
**Work in progress:** [CACHING-TRANSITION.md ](CACHING-TRANSITION.md ) has the current transition's
decisions, task status and rules. Known problems: [README.md ](README.md ), "Known issues".
2026-07-31 17:41:55 +03:00
2026-11-06 18:58:40 +02:00
## Greek register
2026-07-31 17:41:55 +03:00
2026-11-06 18:58:40 +02:00
- **Greek register:** `singular` . Use the informal second person (εσύ/σου/σε), e.g.
"Η κριτική σου", "Το όνομά σου", "Το email σου".
2026-07-31 17:41:55 +03:00
2026-11-06 18:58:40 +02:00
All UI text written for this project follows it, including labels added in the admin.
2026-07-31 17:41:55 +03:00
2026-11-06 18:58:40 +02:00
## Design tokens
2026-07-31 17:41:55 +03:00
2026-11-06 18:58:40 +02:00
In `@theme {}` in `resources/css/app.css` :
2026-07-31 17:41:55 +03:00
2026-11-06 18:58:40 +02:00
- `--font-sans` : **Manrope** (body text).
- `--font-display` : **Manrope** (headings, nav, buttons). Kept separate from `--font-sans` in
case they diverge later.
- `--color-brand` / `--color-brand-light` : the brand greens.
- `--text-h1` … `--text-h4` : the heading sizes.
2026-07-31 17:41:55 +03:00
2026-11-06 18:58:40 +02:00
Reuse these and the colours already in use (`neutral-200` , `black` ) before adding anything.
The Manrope weights used above the fold are preloaded in `layouts/app.blade.php` ; a new heavy
weight in a hero needs its own preload there.
2026-07-31 17:41:55 +03:00
2026-11-06 18:58:40 +02:00
## 3dealer specifics
2026-07-31 17:41:55 +03:00
2026-11-06 18:58:40 +02:00
- **Product custom fields** (text answers and photo uploads on the product page): how they work,
limits and clean-up are in [README.md ](README.md ). Products with custom fields can't be
quick-added from cards.
- **hCaptcha** protects the contact and login forms only.
- **Stoic** provides the FAQ, legal pages and other client-edited copy (`App\Services\Stoic` ,
`App\Models\Stoic*` ).