Load site meta tags and trust badges from Meshkee business info.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
co-authored by
Cursor
parent
cd88e0ce46
commit
b4d6b30243
@@ -61,6 +61,13 @@ Homepage images: `GET /tenants/{domain}/website/static-images?pageKey=home`. Cat
|
||||
|
||||
`url` → img, `linkUrl` → wrap in a link, empty/fail → placeholder. Use `slot.aspectRatio`. If a slot’s size/ratio changes in CSS, update `STATIC_IMAGE_SLOTS` in `lib/static-images.ts` in the same change.
|
||||
|
||||
## Tags & badges
|
||||
|
||||
`GET /tenants/{domain}/website/business-info`
|
||||
|
||||
- `metaTags`: `[{ name, content }]` emitted once from root `generateMetadata` as `other`. Empty → omit.
|
||||
- `trustBadges`: `[{ kind: "enamad" | "samandehi", embedHtml }]` rendered in the footer with `dangerouslySetInnerHTML`. Empty → omit. Do not hardcode eNamad or Samandehi placeholders.
|
||||
|
||||
## Local fallbacks
|
||||
|
||||
- Slider: `src/assets/images/slides`, else `/placeholders/slider-*.svg`
|
||||
|
||||
Reference in New Issue
Block a user