@sarimarcus/content-sites-tourism 0.64.0 → 0.65.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -2,6 +2,13 @@
2
2
 
3
3
  All packages in the platform release in lockstep; entries are per release version.
4
4
 
5
+ ## 0.65.0 (2026-11-12)
6
+
7
+ Additive.
8
+
9
+ - `TourismHomePage` food band: at desktop width the feature figure stays in view (sticky) beside the dish list, and each dish line is clamped to 3 lines from tablet width up.
10
+ - New optional `food.feature.href` on `TourismHomeModel`: links the feature caption to its dish. Left out, the caption stays plain text.
11
+
5
12
  ## 0.64.0 (2026-11-12)
6
13
 
7
14
  Additive (SLA-4070).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sarimarcus/content-sites-tourism",
3
- "version": "0.64.0",
3
+ "version": "0.65.0",
4
4
  "description": "City-tourism vertical: city-entity components, pages templates and utilities for the tourism sites.",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -38,7 +38,7 @@
38
38
  "peerDependencies": {
39
39
  "astro": "^7.0.6",
40
40
  "tailwindcss": "^4.1.18",
41
- "@sarimarcus/content-sites-core": "0.64.0",
42
- "@sarimarcus/content-sites-ui": "0.64.0"
41
+ "@sarimarcus/content-sites-core": "0.65.0",
42
+ "@sarimarcus/content-sites-ui": "0.65.0"
43
43
  }
44
44
  }
@@ -346,7 +346,7 @@ const showEntry = Boolean(events?.columns.entry);
346
346
  <div class="hp-food">
347
347
  <figure class="hp-food__fig">
348
348
  <div>{food.feature.image && <ResponsiveImage src={food.feature.image} alt={food.feature.alt} sizes="(min-width: 52rem) 640px, 141vw" loading="lazy" />}</div>
349
- <figcaption class="hp-soft">{food.feature.caption}</figcaption>
349
+ <figcaption class="hp-soft">{food.feature.href ? <a href={food.feature.href}>{food.feature.caption}</a> : food.feature.caption}</figcaption>
350
350
  </figure>
351
351
  <div>
352
352
  <div class="hp-head">
@@ -268,6 +268,7 @@
268
268
  .hp .hp-itins { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; }
269
269
  .hp .hp-mons { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 3rem; }
270
270
  .hp .hp-dishes { display: grid; gap: 0; }
271
+ .hp .hp-dishes > * p { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; overflow: hidden; }
271
272
  .hp .hp-quarters { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.75rem 1.5rem; }
272
273
  .hp .hp-feed__list, .hp .hp-walks, .hp .hp-trips, .hp .hp-tours .hp-swipe { display: block; }
273
274
  .hp .hp-context ul { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@@ -285,6 +286,7 @@
285
286
  .hp .hp-feed { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
286
287
  .hp .hp-quarters { grid-template-columns: repeat(4, minmax(0, 1fr)); }
287
288
  .hp .hp-food { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: start; }
289
+ .hp .hp-food__fig { position: sticky; top: 6rem; }
288
290
  .hp .hp-dishes { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 2rem; }
289
291
  .hp .hp-out { grid-template-columns: repeat(2, minmax(0, 1fr)); }
290
292
  }
@@ -96,7 +96,8 @@ export interface TourismHomeModel {
96
96
  };
97
97
  food: HomeHead & {
98
98
  carouselAriaLabel: string;
99
- feature: { image?: ImageMetadata; alt: string; caption: string };
99
+ /** `href` links the caption to the featured dish. */
100
+ feature: { image?: ImageMetadata; alt: string; caption: string; href?: string };
100
101
  dishes: HomeDish[];
101
102
  wheres: { heading: string; /** Each an HTML string. */ items: string[] };
102
103
  };