One command copies the block into your project with the shadcn CLI (the registry is set once: Installation).
<script setup lang="ts">
import CaseStudiesStudyPageFactsStrip from '@/components/trame/blocks/case-studies/case-studies-study-page-facts-strip.vue'
const props = {
title: "A joinery workshop sells online without leaving its workbench",
deck: "In six weeks, the workshop went from a paper order book to a shop that takes measurements, lead times and deposits on its own.",
cover: "https://images.unsplash.com/photo-1597960194599-22929afc25b1?w=1600&q=80",
facts: [
{
label: "Customer",
value: "Light Oak Workshop"
},
{
label: "Location",
value: "Portland, Oregon"
}
],
sections: [
{
heading: "The need",
body: "Every table was drawn, quoted and followed up by phone. Requests came in by message, by mail and sometimes on the corner of a drawing, and the manager spent her evenings copying it all out.\n\nThe workshop wanted to keep its way of working: offer sizes, wood species and finishes, without turning every order into an appointment."
},
{
heading: "The setup",
body: "The shop was built around the quote: the customer picks the wood, the length and the finish, and watches the price and lead time update. A deposit is taken with the order, the balance on delivery.\n\nThe workshop photos were taken on site, on a Saturday, with whatever was already in use for that week’s orders."
}
],
quotes: [
{
text: "I don’t copy anything out anymore. Orders arrive with everything we need to cut the first tabletop.",
person: "Claire Marchand",
role: "workshop manager"
},
{
text: "Our customers finally understand why a lead time is a lead time.",
person: "Julien Vasseur",
role: "shop foreman"
}
],
figures: [
{
value: "6 weeks",
label: "from the first meeting to the first order"
},
{
value: "3 evenings",
label: "a week given back to the manager"
}
],
previous: {
id: "torrefaction",
title: "A coffee roaster that ships the same day",
customer: "Market Hall Roasters",
image: "https://images.unsplash.com/photo-1447933601403-0c6688de566e?w=1600&q=80",
alt: "Roasted coffee beans"
},
next: {
id: "poterie",
title: "A pottery that opens its studios to the public",
customer: "Riverbank Pottery",
image: "https://images.unsplash.com/photo-1676125105332-608345abe20e?w=1600&q=80",
alt: "A potter’s wheel surrounded by tools"
},
open: "case-study",
cta: {
label: "Talk about your project",
action: "contact"
},
options: {
eyebrow: "Customer story",
alt: "The joinery workshop, its workbenches and the light from the big window",
ctaTitle: "A story close to yours?"
}
}
</script>
<template>
<CaseStudiesStudyPageFactsStrip v-bind="props" />
</template>
import { CaseStudiesStudyPageFactsStrip } from '@/components/trame/blocks/case-studies/case-studies-study-page-facts-strip'
const props = {
title: "A joinery workshop sells online without leaving its workbench",
deck: "In six weeks, the workshop went from a paper order book to a shop that takes measurements, lead times and deposits on its own.",
cover: "https://images.unsplash.com/photo-1597960194599-22929afc25b1?w=1600&q=80",
facts: [
{
label: "Customer",
value: "Light Oak Workshop"
},
{
label: "Location",
value: "Portland, Oregon"
}
],
sections: [
{
heading: "The need",
body: "Every table was drawn, quoted and followed up by phone. Requests came in by message, by mail and sometimes on the corner of a drawing, and the manager spent her evenings copying it all out.\n\nThe workshop wanted to keep its way of working: offer sizes, wood species and finishes, without turning every order into an appointment."
},
{
heading: "The setup",
body: "The shop was built around the quote: the customer picks the wood, the length and the finish, and watches the price and lead time update. A deposit is taken with the order, the balance on delivery.\n\nThe workshop photos were taken on site, on a Saturday, with whatever was already in use for that week’s orders."
}
],
quotes: [
{
text: "I don’t copy anything out anymore. Orders arrive with everything we need to cut the first tabletop.",
person: "Claire Marchand",
role: "workshop manager"
},
{
text: "Our customers finally understand why a lead time is a lead time.",
person: "Julien Vasseur",
role: "shop foreman"
}
],
figures: [
{
value: "6 weeks",
label: "from the first meeting to the first order"
},
{
value: "3 evenings",
label: "a week given back to the manager"
}
],
previous: {
id: "torrefaction",
title: "A coffee roaster that ships the same day",
customer: "Market Hall Roasters",
image: "https://images.unsplash.com/photo-1447933601403-0c6688de566e?w=1600&q=80",
alt: "Roasted coffee beans"
},
next: {
id: "poterie",
title: "A pottery that opens its studios to the public",
customer: "Riverbank Pottery",
image: "https://images.unsplash.com/photo-1676125105332-608345abe20e?w=1600&q=80",
alt: "A potter’s wheel surrounded by tools"
},
open: "case-study",
cta: {
label: "Talk about your project",
action: "contact"
},
options: {
eyebrow: "Customer story",
alt: "The joinery workshop, its workbenches and the light from the big window",
ctaTitle: "A story close to yours?"
}
}
export function Section() {
return <CaseStudiesStudyPageFactsStrip {...props} />
}