One command copies the block into your project with the shadcn CLI (the registry is set once: Installation).
<script setup lang="ts">
import EventsItineraryMapSteps from '@/components/trame/blocks/events/events-itinerary-map-steps.vue'
const props = {
title: "Four days between lake and peaks",
intro: "A small-group walking trip, from hut to bivouac, with a certified guide. Nothing technical: just good shoes and a will to walk.",
highlights: [
{
label: "Duration",
value: "4 days, 3 nights"
},
{
label: "Distance",
value: "22 mi"
}
],
days: [
{
title: "From the village to the first hut",
date: "Saturday, July 12",
text: "We leave the village in the cool of the morning, on a trail that climbs in the shade of the larches to the first hut.",
places: [
{
name: "Starting village",
text: "Welcome, gear check, coffee."
},
{
name: "Stone bridge",
text: "A break by the stream.",
leg: "1.2 mi, 40 min"
}
],
activities: [
"Forest climb",
"Picnic at the stone bridge"
],
distance: "5.6 mi",
duration: "4 hours of walking",
overnight: {
name: "Larch Hut",
text: "12-bed dorm, dinner included."
},
image: "https://images.unsplash.com/photo-1562593028-1fe2d15bde36?w=1600&q=80",
alt: "A hiker on a stone path between fir trees"
},
{
title: "The pass and the ridge",
date: "Sunday, July 13",
text: "The finest day: a pass at 7,550 ft, then a ridge open onto the whole valley.",
places: [
{
name: "Croisette Pass",
text: "Views down both sides.",
leg: "3.1 mi, 2 hr 15 min"
},
{
name: "Marmot Ridge",
text: "An easy walk along a balcony trail.",
leg: "1.9 mi, 1 hr"
}
],
activities: [
"Climbing the pass",
"Lunch on the ridge"
],
distance: "8.7 mi",
duration: "6 hours of walking",
overnight: {
name: "Lakeside bivouac",
text: "Tents provided, dinner cooked by the guide."
},
image: "https://images.unsplash.com/photo-1576176539998-0237d1ac6a85?w=1600&q=80",
alt: "Two tents pitched in a meadow above a lake"
}
],
included: [
"A certified guide for the whole trip",
"All three nights, in a hut, a bivouac and a lodge"
],
excluded: [
"Travel to the starting village",
"Packed lunches"
],
action: {
label: "See departure dates",
action: "trip.dates",
record: {
id: "lac-sommets"
}
},
options: {
eyebrow: "Hut-to-hut trip"
}
}
</script>
<template>
<EventsItineraryMapSteps v-bind="props" />
</template>
import { EventsItineraryMapSteps } from '@/components/trame/blocks/events/events-itinerary-map-steps'
const props = {
title: "Four days between lake and peaks",
intro: "A small-group walking trip, from hut to bivouac, with a certified guide. Nothing technical: just good shoes and a will to walk.",
highlights: [
{
label: "Duration",
value: "4 days, 3 nights"
},
{
label: "Distance",
value: "22 mi"
}
],
days: [
{
title: "From the village to the first hut",
date: "Saturday, July 12",
text: "We leave the village in the cool of the morning, on a trail that climbs in the shade of the larches to the first hut.",
places: [
{
name: "Starting village",
text: "Welcome, gear check, coffee."
},
{
name: "Stone bridge",
text: "A break by the stream.",
leg: "1.2 mi, 40 min"
}
],
activities: [
"Forest climb",
"Picnic at the stone bridge"
],
distance: "5.6 mi",
duration: "4 hours of walking",
overnight: {
name: "Larch Hut",
text: "12-bed dorm, dinner included."
},
image: "https://images.unsplash.com/photo-1562593028-1fe2d15bde36?w=1600&q=80",
alt: "A hiker on a stone path between fir trees"
},
{
title: "The pass and the ridge",
date: "Sunday, July 13",
text: "The finest day: a pass at 7,550 ft, then a ridge open onto the whole valley.",
places: [
{
name: "Croisette Pass",
text: "Views down both sides.",
leg: "3.1 mi, 2 hr 15 min"
},
{
name: "Marmot Ridge",
text: "An easy walk along a balcony trail.",
leg: "1.9 mi, 1 hr"
}
],
activities: [
"Climbing the pass",
"Lunch on the ridge"
],
distance: "8.7 mi",
duration: "6 hours of walking",
overnight: {
name: "Lakeside bivouac",
text: "Tents provided, dinner cooked by the guide."
},
image: "https://images.unsplash.com/photo-1576176539998-0237d1ac6a85?w=1600&q=80",
alt: "Two tents pitched in a meadow above a lake"
}
],
included: [
"A certified guide for the whole trip",
"All three nights, in a hut, a bivouac and a lodge"
],
excluded: [
"Travel to the starting village",
"Packed lunches"
],
action: {
label: "See departure dates",
action: "trip.dates",
record: {
id: "lac-sommets"
}
},
options: {
eyebrow: "Hut-to-hut trip"
}
}
export function Section() {
return <EventsItineraryMapSteps {...props} />
}