@kurbo/dkit 0.4.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/README.md +24 -0
- package/dist/bin.js +8066 -0
- package/dist/bin.js.map +1 -0
- package/package.json +58 -0
- package/vendor/registry/blocks/blog-detail/module.json +27 -0
- package/vendor/registry/blocks/blog-detail/ui/minimal/next/blog-detail.tsx +26 -0
- package/vendor/registry/blocks/blog-detail/ui/minimal/nuxt/BlogDetail.vue +27 -0
- package/vendor/registry/blocks/blog-detail/ui/shadcn/next/blog-detail.tsx +106 -0
- package/vendor/registry/blocks/blog-detail/ui/shadcn/nuxt/BlogDetail.vue +116 -0
- package/vendor/registry/blocks/blog-list/module.json +26 -0
- package/vendor/registry/blocks/blog-list/ui/minimal/next/blog-list.tsx +130 -0
- package/vendor/registry/blocks/blog-list/ui/minimal/nuxt/BlogList.vue +62 -0
- package/vendor/registry/blocks/blog-list/ui/shadcn/next/blog-list.tsx +109 -0
- package/vendor/registry/blocks/blog-list/ui/shadcn/nuxt/BlogList.vue +100 -0
- package/vendor/registry/blocks/blog-list-cards/module.json +27 -0
- package/vendor/registry/blocks/blog-list-cards/ui/minimal/next/blog-list-cards.tsx +130 -0
- package/vendor/registry/blocks/blog-list-cards/ui/minimal/nuxt/BlogListCards.vue +114 -0
- package/vendor/registry/blocks/blog-list-cards/ui/shadcn/next/blog-list-cards.tsx +119 -0
- package/vendor/registry/blocks/blog-list-cards/ui/shadcn/nuxt/BlogListCards.vue +113 -0
- package/vendor/registry/blocks/booking-form-ui/module.json +15 -0
- package/vendor/registry/blocks/booking-form-ui/ui/minimal/next/booking-form.tsx +89 -0
- package/vendor/registry/blocks/booking-form-ui/ui/shadcn/next/booking-form.tsx +92 -0
- package/vendor/registry/blocks/contact-form-ui/module.json +27 -0
- package/vendor/registry/blocks/contact-form-ui/ui/minimal/next/contact-form.tsx +45 -0
- package/vendor/registry/blocks/contact-form-ui/ui/minimal/nuxt/ContactForm.vue +79 -0
- package/vendor/registry/blocks/contact-form-ui/ui/shadcn/next/contact-form.tsx +55 -0
- package/vendor/registry/blocks/contact-form-ui/ui/shadcn/nuxt/ContactForm.vue +92 -0
- package/vendor/registry/blocks/faq-list/module.json +15 -0
- package/vendor/registry/blocks/faq-list/ui/minimal/next/faq-list.tsx +78 -0
- package/vendor/registry/blocks/faq-list/ui/shadcn/next/faq-list.tsx +77 -0
- package/vendor/registry/blocks/maintenance-gate/module.json +13 -0
- package/vendor/registry/blocks/maintenance-gate/ui/minimal/next/maintenance-gate.tsx +135 -0
- package/vendor/registry/blocks/maintenance-gate/ui/shadcn/next/maintenance-gate.tsx +87 -0
- package/vendor/registry/blocks/nav-footer/module.json +13 -0
- package/vendor/registry/blocks/nav-footer/ui/minimal/next/nav-footer.tsx +55 -0
- package/vendor/registry/blocks/nav-footer/ui/shadcn/next/nav-footer.tsx +41 -0
- package/vendor/registry/blocks/nav-header/module.json +14 -0
- package/vendor/registry/blocks/nav-header/ui/minimal/next/nav-header.tsx +244 -0
- package/vendor/registry/blocks/nav-header/ui/shadcn/next/nav-header-client.tsx +185 -0
- package/vendor/registry/blocks/nav-header/ui/shadcn/next/nav-header.tsx +12 -0
- package/vendor/registry/blocks/page-detail/module.json +26 -0
- package/vendor/registry/blocks/page-detail/ui/minimal/next/page-detail.tsx +26 -0
- package/vendor/registry/blocks/page-detail/ui/minimal/nuxt/PageDetail.vue +26 -0
- package/vendor/registry/blocks/page-detail/ui/shadcn/next/page-detail.tsx +61 -0
- package/vendor/registry/blocks/page-detail/ui/shadcn/nuxt/PageDetail.vue +62 -0
- package/vendor/registry/blocks/project-detail/module.json +15 -0
- package/vendor/registry/blocks/project-detail/ui/minimal/next/project-detail.tsx +58 -0
- package/vendor/registry/blocks/project-detail/ui/shadcn/next/project-detail.tsx +91 -0
- package/vendor/registry/blocks/project-list/module.json +14 -0
- package/vendor/registry/blocks/project-list/ui/minimal/next/project-list.tsx +104 -0
- package/vendor/registry/blocks/project-list/ui/shadcn/next/project-list.tsx +81 -0
- package/vendor/registry/blocks/project-list-cards/module.json +15 -0
- package/vendor/registry/blocks/project-list-cards/ui/minimal/next/project-list-cards.tsx +125 -0
- package/vendor/registry/blocks/project-list-cards/ui/shadcn/next/project-list-cards.tsx +94 -0
- package/vendor/registry/blocks/projects-carousel/module.json +15 -0
- package/vendor/registry/blocks/projects-carousel/ui/minimal/next/projects-carousel-client.tsx +239 -0
- package/vendor/registry/blocks/projects-carousel/ui/minimal/next/projects-carousel.tsx +24 -0
- package/vendor/registry/blocks/projects-carousel/ui/shadcn/next/projects-carousel-client.tsx +102 -0
- package/vendor/registry/blocks/projects-carousel/ui/shadcn/next/projects-carousel.tsx +24 -0
- package/vendor/registry/blocks/service-detail/module.json +15 -0
- package/vendor/registry/blocks/service-detail/ui/minimal/next/service-detail.tsx +49 -0
- package/vendor/registry/blocks/service-detail/ui/shadcn/next/service-detail.tsx +75 -0
- package/vendor/registry/blocks/service-list/module.json +14 -0
- package/vendor/registry/blocks/service-list/ui/minimal/next/service-list.tsx +103 -0
- package/vendor/registry/blocks/service-list/ui/shadcn/next/service-list.tsx +80 -0
- package/vendor/registry/blocks/service-list-cards/module.json +15 -0
- package/vendor/registry/blocks/service-list-cards/ui/minimal/next/service-list-cards.tsx +124 -0
- package/vendor/registry/blocks/service-list-cards/ui/shadcn/next/service-list-cards.tsx +92 -0
- package/vendor/registry/blocks/site-brand/module.json +13 -0
- package/vendor/registry/blocks/site-brand/ui/minimal/next/site-brand.tsx +61 -0
- package/vendor/registry/blocks/site-brand/ui/shadcn/next/site-brand.tsx +48 -0
- package/vendor/registry/blocks/site-logo/module.json +13 -0
- package/vendor/registry/blocks/site-logo/ui/minimal/next/site-logo.tsx +37 -0
- package/vendor/registry/blocks/site-logo/ui/shadcn/next/site-logo.tsx +34 -0
- package/vendor/registry/blocks/social-links/module.json +13 -0
- package/vendor/registry/blocks/social-links/ui/minimal/next/social-links.tsx +55 -0
- package/vendor/registry/blocks/social-links/ui/shadcn/next/social-links.tsx +46 -0
- package/vendor/registry/blocks/team-detail/module.json +15 -0
- package/vendor/registry/blocks/team-detail/ui/minimal/next/team-detail.tsx +113 -0
- package/vendor/registry/blocks/team-detail/ui/shadcn/next/team-detail.tsx +77 -0
- package/vendor/registry/blocks/team-list/module.json +14 -0
- package/vendor/registry/blocks/team-list/ui/minimal/next/team-list.tsx +113 -0
- package/vendor/registry/blocks/team-list/ui/shadcn/next/team-list.tsx +77 -0
- package/vendor/registry/blocks/team-list-cards/module.json +15 -0
- package/vendor/registry/blocks/team-list-cards/ui/minimal/next/team-list-cards.tsx +111 -0
- package/vendor/registry/blocks/team-list-cards/ui/shadcn/next/team-list-cards.tsx +83 -0
- package/vendor/registry/blocks/testimonials-carousel/module.json +15 -0
- package/vendor/registry/blocks/testimonials-carousel/ui/minimal/next/testimonials-carousel-client.tsx +230 -0
- package/vendor/registry/blocks/testimonials-carousel/ui/minimal/next/testimonials-carousel.tsx +23 -0
- package/vendor/registry/blocks/testimonials-carousel/ui/shadcn/next/testimonials-carousel-client.tsx +91 -0
- package/vendor/registry/blocks/testimonials-carousel/ui/shadcn/next/testimonials-carousel.tsx +23 -0
- package/vendor/registry/blocks/testimonials-list/module.json +14 -0
- package/vendor/registry/blocks/testimonials-list/ui/minimal/next/testimonials-list.tsx +109 -0
- package/vendor/registry/blocks/testimonials-list/ui/shadcn/next/testimonials-list.tsx +72 -0
- package/vendor/registry/blocks/testimonials-list-cards/module.json +15 -0
- package/vendor/registry/blocks/testimonials-list-cards/ui/minimal/next/testimonials-list-cards.tsx +114 -0
- package/vendor/registry/blocks/testimonials-list-cards/ui/shadcn/next/testimonials-list-cards.tsx +72 -0
- package/vendor/registry/core/languages/policies.json +25 -0
- package/vendor/registry/core/languages/seed.json +16 -0
- package/vendor/registry/core/languages/snapshot.json +94 -0
- package/vendor/registry/modules/blog/access/policies.json +49 -0
- package/vendor/registry/modules/blog/access/policies.multilocale.json +67 -0
- package/vendor/registry/modules/blog/lib.multilocale.ts +552 -0
- package/vendor/registry/modules/blog/lib.ts +346 -0
- package/vendor/registry/modules/blog/module.json +50 -0
- package/vendor/registry/modules/blog/schema/snapshot.json +701 -0
- package/vendor/registry/modules/blog/schema/snapshot.multilocale.json +884 -0
- package/vendor/registry/modules/blog/services/ATTRIBUTION.md +8 -0
- package/vendor/registry/modules/blog/services/assets/ada-lovelace-avatar.jpg +0 -0
- package/vendor/registry/modules/blog/services/assets/hello-from-dkit-cover.jpg +0 -0
- package/vendor/registry/modules/blog/services/seed.json +70 -0
- package/vendor/registry/modules/blog/services/seed.multilocale.json +90 -0
- package/vendor/registry/modules/blog/types.multilocale.ts +96 -0
- package/vendor/registry/modules/blog/types.ts +62 -0
- package/vendor/registry/modules/booking-form/access/policies.json +25 -0
- package/vendor/registry/modules/booking-form/access/policies.multilocale.json +27 -0
- package/vendor/registry/modules/booking-form/lib.multilocale.ts +71 -0
- package/vendor/registry/modules/booking-form/lib.ts +77 -0
- package/vendor/registry/modules/booking-form/module.json +32 -0
- package/vendor/registry/modules/booking-form/schema/snapshot.json +294 -0
- package/vendor/registry/modules/booking-form/schema/snapshot.multilocale.json +467 -0
- package/vendor/registry/modules/booking-form/services/flows.json +19 -0
- package/vendor/registry/modules/booking-form/types.multilocale.ts +29 -0
- package/vendor/registry/modules/booking-form/types.ts +27 -0
- package/vendor/registry/modules/contact-form/access/policies.json +25 -0
- package/vendor/registry/modules/contact-form/access/policies.multilocale.json +27 -0
- package/vendor/registry/modules/contact-form/lib.multilocale.ts +65 -0
- package/vendor/registry/modules/contact-form/lib.ts +67 -0
- package/vendor/registry/modules/contact-form/module.json +32 -0
- package/vendor/registry/modules/contact-form/schema/snapshot.json +193 -0
- package/vendor/registry/modules/contact-form/schema/snapshot.multilocale.json +293 -0
- package/vendor/registry/modules/contact-form/services/flows.json +19 -0
- package/vendor/registry/modules/contact-form/types.multilocale.ts +21 -0
- package/vendor/registry/modules/contact-form/types.ts +19 -0
- package/vendor/registry/modules/faq/access/policies.json +25 -0
- package/vendor/registry/modules/faq/access/policies.multilocale.json +18 -0
- package/vendor/registry/modules/faq/lib.multilocale.ts +120 -0
- package/vendor/registry/modules/faq/lib.ts +73 -0
- package/vendor/registry/modules/faq/module.json +31 -0
- package/vendor/registry/modules/faq/schema/snapshot.json +180 -0
- package/vendor/registry/modules/faq/schema/snapshot.multilocale.json +116 -0
- package/vendor/registry/modules/faq/services/seed.json +38 -0
- package/vendor/registry/modules/faq/services/seed.multilocale.json +32 -0
- package/vendor/registry/modules/faq/types.multilocale.ts +31 -0
- package/vendor/registry/modules/faq/types.ts +17 -0
- package/vendor/registry/modules/navigation/access/policies.json +31 -0
- package/vendor/registry/modules/navigation/access/policies.multilocale.json +51 -0
- package/vendor/registry/modules/navigation/lib.multilocale.ts +198 -0
- package/vendor/registry/modules/navigation/lib.ts +252 -0
- package/vendor/registry/modules/navigation/module.json +46 -0
- package/vendor/registry/modules/navigation/schema/snapshot.json +453 -0
- package/vendor/registry/modules/navigation/schema/snapshot.multilocale.json +864 -0
- package/vendor/registry/modules/navigation/services/seed.json +103 -0
- package/vendor/registry/modules/navigation/services/seed.multilocale.json +88 -0
- package/vendor/registry/modules/navigation/types.multilocale.ts +60 -0
- package/vendor/registry/modules/navigation/types.ts +44 -0
- package/vendor/registry/modules/pages/access/policies.json +25 -0
- package/vendor/registry/modules/pages/access/policies.multilocale.json +18 -0
- package/vendor/registry/modules/pages/lib.multilocale.ts +166 -0
- package/vendor/registry/modules/pages/lib.ts +123 -0
- package/vendor/registry/modules/pages/module.json +39 -0
- package/vendor/registry/modules/pages/schema/snapshot.json +247 -0
- package/vendor/registry/modules/pages/schema/snapshot.multilocale.json +187 -0
- package/vendor/registry/modules/pages/services/seed.json +24 -0
- package/vendor/registry/modules/pages/services/seed.multilocale.json +34 -0
- package/vendor/registry/modules/pages/types.multilocale.ts +37 -0
- package/vendor/registry/modules/pages/types.ts +21 -0
- package/vendor/registry/modules/projects/access/policies.json +31 -0
- package/vendor/registry/modules/projects/access/policies.multilocale.json +43 -0
- package/vendor/registry/modules/projects/lib.multilocale.ts +111 -0
- package/vendor/registry/modules/projects/lib.ts +138 -0
- package/vendor/registry/modules/projects/module.json +48 -0
- package/vendor/registry/modules/projects/schema/snapshot.json +348 -0
- package/vendor/registry/modules/projects/schema/snapshot.multilocale.json +577 -0
- package/vendor/registry/modules/projects/services/ATTRIBUTION.md +7 -0
- package/vendor/registry/modules/projects/services/assets/brand-identity-cover.jpg +0 -0
- package/vendor/registry/modules/projects/services/seed.json +40 -0
- package/vendor/registry/modules/projects/services/seed.multilocale.json +31 -0
- package/vendor/registry/modules/projects/types.multilocale.ts +38 -0
- package/vendor/registry/modules/projects/types.ts +28 -0
- package/vendor/registry/modules/services/access/policies.json +31 -0
- package/vendor/registry/modules/services/access/policies.multilocale.json +43 -0
- package/vendor/registry/modules/services/lib.multilocale.ts +109 -0
- package/vendor/registry/modules/services/lib.ts +134 -0
- package/vendor/registry/modules/services/module.json +47 -0
- package/vendor/registry/modules/services/schema/snapshot.json +305 -0
- package/vendor/registry/modules/services/schema/snapshot.multilocale.json +510 -0
- package/vendor/registry/modules/services/services/ATTRIBUTION.md +8 -0
- package/vendor/registry/modules/services/services/assets/design-development.jpg +0 -0
- package/vendor/registry/modules/services/services/assets/strategy-consulting.jpg +0 -0
- package/vendor/registry/modules/services/services/seed.json +44 -0
- package/vendor/registry/modules/services/services/seed.multilocale.json +31 -0
- package/vendor/registry/modules/services/types.multilocale.ts +36 -0
- package/vendor/registry/modules/services/types.ts +26 -0
- package/vendor/registry/modules/settings/access/policies.json +31 -0
- package/vendor/registry/modules/settings/access/policies.multilocale.json +43 -0
- package/vendor/registry/modules/settings/lib.multilocale.ts +158 -0
- package/vendor/registry/modules/settings/lib.ts +259 -0
- package/vendor/registry/modules/settings/module.json +33 -0
- package/vendor/registry/modules/settings/schema/snapshot.json +315 -0
- package/vendor/registry/modules/settings/schema/snapshot.multilocale.json +586 -0
- package/vendor/registry/modules/settings/services/assets/dkit-logo.svg +4 -0
- package/vendor/registry/modules/settings/services/seed.json +31 -0
- package/vendor/registry/modules/settings/services/seed.multilocale.json +42 -0
- package/vendor/registry/modules/settings/types.multilocale.ts +72 -0
- package/vendor/registry/modules/settings/types.ts +94 -0
- package/vendor/registry/modules/team/access/policies.json +31 -0
- package/vendor/registry/modules/team/access/policies.multilocale.json +43 -0
- package/vendor/registry/modules/team/lib.multilocale.ts +88 -0
- package/vendor/registry/modules/team/lib.ts +120 -0
- package/vendor/registry/modules/team/module.json +47 -0
- package/vendor/registry/modules/team/schema/snapshot.json +295 -0
- package/vendor/registry/modules/team/schema/snapshot.multilocale.json +525 -0
- package/vendor/registry/modules/team/services/ATTRIBUTION.md +8 -0
- package/vendor/registry/modules/team/services/assets/morgan-lee-photo.jpg +0 -0
- package/vendor/registry/modules/team/services/assets/taylor-kim-photo.jpg +0 -0
- package/vendor/registry/modules/team/services/seed.json +52 -0
- package/vendor/registry/modules/team/services/seed.multilocale.json +30 -0
- package/vendor/registry/modules/team/types.multilocale.ts +33 -0
- package/vendor/registry/modules/team/types.ts +27 -0
- package/vendor/registry/modules/testimonials/access/policies.json +31 -0
- package/vendor/registry/modules/testimonials/access/policies.multilocale.json +43 -0
- package/vendor/registry/modules/testimonials/lib.multilocale.ts +93 -0
- package/vendor/registry/modules/testimonials/lib.ts +85 -0
- package/vendor/registry/modules/testimonials/module.json +41 -0
- package/vendor/registry/modules/testimonials/schema/snapshot.json +248 -0
- package/vendor/registry/modules/testimonials/schema/snapshot.multilocale.json +462 -0
- package/vendor/registry/modules/testimonials/services/ATTRIBUTION.md +8 -0
- package/vendor/registry/modules/testimonials/services/assets/jane-doe-avatar.jpg +0 -0
- package/vendor/registry/modules/testimonials/services/assets/sample-author-avatar.jpg +0 -0
- package/vendor/registry/modules/testimonials/services/seed.json +49 -0
- package/vendor/registry/modules/testimonials/services/seed.multilocale.json +30 -0
- package/vendor/registry/modules/testimonials/types.multilocale.ts +27 -0
- package/vendor/registry/modules/testimonials/types.ts +22 -0
- package/vendor/registry/registry.json +832 -0
- package/vendor/registry/shared/helpers.ts +16 -0
- package/vendor/registry/shared/i18n.ts +74 -0
- package/vendor/registry/shared/minimal.css +83 -0
- package/vendor/registry/shared/paths.ts +50 -0
- package/vendor/registry/shared/prose.css +113 -0
- package/vendor/registry/tsconfig.json +49 -0
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
|
|
3
|
+
import {
|
|
4
|
+
Carousel,
|
|
5
|
+
CarouselContent,
|
|
6
|
+
CarouselItem,
|
|
7
|
+
CarouselNext,
|
|
8
|
+
CarouselPrevious,
|
|
9
|
+
} from "@/components/ui/carousel";
|
|
10
|
+
|
|
11
|
+
export type ProjectSlide = {
|
|
12
|
+
id: string;
|
|
13
|
+
title: string;
|
|
14
|
+
href: string;
|
|
15
|
+
summary?: string | null;
|
|
16
|
+
client?: string | null;
|
|
17
|
+
location?: string | null;
|
|
18
|
+
imageUrl?: string | null;
|
|
19
|
+
};
|
|
20
|
+
|
|
21
|
+
/** Full-bleed Embla carousel — one project per slide on the section bg. */
|
|
22
|
+
export function ProjectsCarouselClient({
|
|
23
|
+
slides,
|
|
24
|
+
}: {
|
|
25
|
+
slides: ProjectSlide[];
|
|
26
|
+
}) {
|
|
27
|
+
if (!slides.length) {
|
|
28
|
+
return (
|
|
29
|
+
<p className="rounded-xl border border-dashed border-border px-6 py-12 text-center text-muted-foreground">
|
|
30
|
+
No published projects yet.
|
|
31
|
+
</p>
|
|
32
|
+
);
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
return (
|
|
36
|
+
<section className="w-full overflow-x-clip bg-muted/40 py-16 sm:py-24">
|
|
37
|
+
<div className="mx-auto mb-12 max-w-2xl px-6 text-center">
|
|
38
|
+
<p className="mb-3 text-xs font-medium tracking-[0.2em] text-primary uppercase">
|
|
39
|
+
Portfolio
|
|
40
|
+
</p>
|
|
41
|
+
<h2 className="text-3xl font-semibold tracking-tight text-foreground sm:text-4xl">
|
|
42
|
+
Selected work
|
|
43
|
+
</h2>
|
|
44
|
+
</div>
|
|
45
|
+
|
|
46
|
+
<Carousel
|
|
47
|
+
opts={{ align: "center", loop: slides.length > 1 }}
|
|
48
|
+
className="mx-auto w-full max-w-5xl px-12 sm:px-16"
|
|
49
|
+
>
|
|
50
|
+
<CarouselContent className="-ml-0">
|
|
51
|
+
{slides.map((project) => (
|
|
52
|
+
<CarouselItem key={project.id} className="pl-0 basis-full">
|
|
53
|
+
<a
|
|
54
|
+
href={project.href}
|
|
55
|
+
className="group mx-auto flex max-w-4xl flex-col no-underline"
|
|
56
|
+
>
|
|
57
|
+
{project.imageUrl ? (
|
|
58
|
+
// eslint-disable-next-line @next/next/no-img-element
|
|
59
|
+
<img
|
|
60
|
+
src={project.imageUrl}
|
|
61
|
+
alt=""
|
|
62
|
+
className="aspect-[16/9] w-full object-cover"
|
|
63
|
+
/>
|
|
64
|
+
) : (
|
|
65
|
+
<div className="flex aspect-[16/9] w-full items-center justify-center bg-background text-muted-foreground">
|
|
66
|
+
No image
|
|
67
|
+
</div>
|
|
68
|
+
)}
|
|
69
|
+
<div className="mt-8 px-2 text-center sm:px-6">
|
|
70
|
+
{(project.client || project.location) && (
|
|
71
|
+
<p className="mb-2 text-xs tracking-wide text-muted-foreground uppercase">
|
|
72
|
+
{[project.client, project.location]
|
|
73
|
+
.filter(Boolean)
|
|
74
|
+
.join(" · ")}
|
|
75
|
+
</p>
|
|
76
|
+
)}
|
|
77
|
+
<h3 className="text-2xl font-semibold tracking-tight text-foreground transition-colors group-hover:text-primary sm:text-3xl">
|
|
78
|
+
{project.title}
|
|
79
|
+
</h3>
|
|
80
|
+
{project.summary ? (
|
|
81
|
+
<p className="mx-auto mt-3 max-w-2xl text-base leading-relaxed text-muted-foreground">
|
|
82
|
+
{project.summary}
|
|
83
|
+
</p>
|
|
84
|
+
) : null}
|
|
85
|
+
<span className="mt-5 inline-block text-sm font-medium text-primary">
|
|
86
|
+
View project →
|
|
87
|
+
</span>
|
|
88
|
+
</div>
|
|
89
|
+
</a>
|
|
90
|
+
</CarouselItem>
|
|
91
|
+
))}
|
|
92
|
+
</CarouselContent>
|
|
93
|
+
{slides.length > 1 ? (
|
|
94
|
+
<>
|
|
95
|
+
<CarouselPrevious className="left-2 border-border bg-background sm:left-4" />
|
|
96
|
+
<CarouselNext className="right-2 border-border bg-background sm:right-4" />
|
|
97
|
+
</>
|
|
98
|
+
) : null}
|
|
99
|
+
</Carousel>
|
|
100
|
+
</section>
|
|
101
|
+
);
|
|
102
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { getProjects, projectImageUrl } from "@/lib/dkit/projects";
|
|
2
|
+
import { moduleHref } from "@/lib/dkit/paths";
|
|
3
|
+
import {
|
|
4
|
+
ProjectsCarouselClient,
|
|
5
|
+
type ProjectSlide,
|
|
6
|
+
} from "./projects-carousel-client";
|
|
7
|
+
|
|
8
|
+
/** Uses your project's shadcn carousel — full-bleed, one project per slide. */
|
|
9
|
+
export async function ProjectsCarousel() {
|
|
10
|
+
const projects = await getProjects();
|
|
11
|
+
const slides: ProjectSlide[] = await Promise.all(
|
|
12
|
+
projects.map(async (project) => ({
|
|
13
|
+
id: project.id,
|
|
14
|
+
title: project.title,
|
|
15
|
+
href: await moduleHref("projects", project.slug),
|
|
16
|
+
summary: project.summary,
|
|
17
|
+
client: project.client,
|
|
18
|
+
location: project.location,
|
|
19
|
+
imageUrl: projectImageUrl(project),
|
|
20
|
+
})),
|
|
21
|
+
);
|
|
22
|
+
|
|
23
|
+
return <ProjectsCarouselClient slides={slides} />;
|
|
24
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
{
|
|
2
|
+
"type": "dkit:block",
|
|
3
|
+
"id": "service-detail",
|
|
4
|
+
"title": "Service detail",
|
|
5
|
+
"description": "Service page with pricing, image, and rich text",
|
|
6
|
+
"version": "0.1.0",
|
|
7
|
+
"frameworks": ["next"],
|
|
8
|
+
"uiKits": ["shadcn", "minimal"],
|
|
9
|
+
"shadcnComponents": ["badge", "button"],
|
|
10
|
+
"slot": "detail",
|
|
11
|
+
"route": { "kind": "slug" },
|
|
12
|
+
"registryDependencies": ["services"],
|
|
13
|
+
"dependencies": ["@directus/sdk"],
|
|
14
|
+
"layers": ["ui"]
|
|
15
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { getServiceBySlug, serviceImageUrl } from "@/lib/dkit/services";
|
|
2
|
+
import { moduleHref } from "@/lib/dkit/paths";
|
|
3
|
+
|
|
4
|
+
/** Minimal kit — semantic HTML + dkit-prose only. */
|
|
5
|
+
export async function ServiceDetail({
|
|
6
|
+
slug,
|
|
7
|
+
}: {
|
|
8
|
+
slug: string;
|
|
9
|
+
}) {
|
|
10
|
+
const basePath = await moduleHref("services");
|
|
11
|
+
const service = await getServiceBySlug(slug);
|
|
12
|
+
if (!service) {
|
|
13
|
+
return (
|
|
14
|
+
<div>
|
|
15
|
+
<p>Service not found.</p>
|
|
16
|
+
<p>
|
|
17
|
+
<a href={basePath}>← Back to services</a>
|
|
18
|
+
</p>
|
|
19
|
+
</div>
|
|
20
|
+
);
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
const imageUrl = serviceImageUrl(service);
|
|
24
|
+
|
|
25
|
+
return (
|
|
26
|
+
<article>
|
|
27
|
+
<p>
|
|
28
|
+
<a href={basePath}>← All services</a>
|
|
29
|
+
</p>
|
|
30
|
+
{imageUrl ? (
|
|
31
|
+
// eslint-disable-next-line @next/next/no-img-element
|
|
32
|
+
<img src={imageUrl} alt="" style={{ maxWidth: "100%" }} />
|
|
33
|
+
) : null}
|
|
34
|
+
<h1>{service.title}</h1>
|
|
35
|
+
{service.price_label ? (
|
|
36
|
+
<p>
|
|
37
|
+
<strong>{service.price_label}</strong>
|
|
38
|
+
</p>
|
|
39
|
+
) : null}
|
|
40
|
+
{service.summary ? <p>{service.summary}</p> : null}
|
|
41
|
+
{service.body ? (
|
|
42
|
+
<div
|
|
43
|
+
className="dkit-prose dkit-prose--compact"
|
|
44
|
+
dangerouslySetInnerHTML={{ __html: service.body }}
|
|
45
|
+
/>
|
|
46
|
+
) : null}
|
|
47
|
+
</article>
|
|
48
|
+
);
|
|
49
|
+
}
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import { getServiceBySlug, serviceImageUrl } from "@/lib/dkit/services";
|
|
2
|
+
import { moduleHref } from "@/lib/dkit/paths";
|
|
3
|
+
import { Badge } from "@/components/ui/badge";
|
|
4
|
+
import { buttonVariants } from "@/components/ui/button";
|
|
5
|
+
import { cn } from "@/lib/utils";
|
|
6
|
+
|
|
7
|
+
/** Uses your project's shadcn/ui components. */
|
|
8
|
+
export async function ServiceDetail({
|
|
9
|
+
slug,
|
|
10
|
+
}: {
|
|
11
|
+
slug: string;
|
|
12
|
+
}) {
|
|
13
|
+
const basePath = await moduleHref("services");
|
|
14
|
+
const service = await getServiceBySlug(slug);
|
|
15
|
+
if (!service) {
|
|
16
|
+
return (
|
|
17
|
+
<div className="mx-auto max-w-2xl px-6 py-20 text-center text-muted-foreground">
|
|
18
|
+
<p className="text-2xl font-semibold text-foreground">
|
|
19
|
+
Service not found
|
|
20
|
+
</p>
|
|
21
|
+
<a
|
|
22
|
+
href={basePath}
|
|
23
|
+
className={cn(buttonVariants({ variant: "link" }), "mt-4")}
|
|
24
|
+
>
|
|
25
|
+
← Back to services
|
|
26
|
+
</a>
|
|
27
|
+
</div>
|
|
28
|
+
);
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
const imageUrl = serviceImageUrl(service);
|
|
32
|
+
|
|
33
|
+
return (
|
|
34
|
+
<article className="mx-auto max-w-2xl px-6 py-16 sm:py-20">
|
|
35
|
+
<a
|
|
36
|
+
href={basePath}
|
|
37
|
+
className={cn(buttonVariants({ variant: "ghost" }), "mb-10")}
|
|
38
|
+
>
|
|
39
|
+
← All services
|
|
40
|
+
</a>
|
|
41
|
+
|
|
42
|
+
{imageUrl ? (
|
|
43
|
+
// eslint-disable-next-line @next/next/no-img-element
|
|
44
|
+
<img
|
|
45
|
+
src={imageUrl}
|
|
46
|
+
alt=""
|
|
47
|
+
className="mb-10 aspect-[16/9] w-full rounded-xl object-cover ring-1 ring-border"
|
|
48
|
+
/>
|
|
49
|
+
) : null}
|
|
50
|
+
|
|
51
|
+
<header className="border-b border-border pb-10">
|
|
52
|
+
<h1 className="text-4xl font-semibold leading-[1.15] tracking-tight text-foreground sm:text-5xl">
|
|
53
|
+
{service.title}
|
|
54
|
+
</h1>
|
|
55
|
+
{service.price_label ? (
|
|
56
|
+
<Badge variant="secondary" className="mt-4">
|
|
57
|
+
{service.price_label}
|
|
58
|
+
</Badge>
|
|
59
|
+
) : null}
|
|
60
|
+
{service.summary ? (
|
|
61
|
+
<p className="mt-4 text-base leading-relaxed text-muted-foreground">
|
|
62
|
+
{service.summary}
|
|
63
|
+
</p>
|
|
64
|
+
) : null}
|
|
65
|
+
</header>
|
|
66
|
+
|
|
67
|
+
{service.body ? (
|
|
68
|
+
<div
|
|
69
|
+
className="dkit-prose mt-10"
|
|
70
|
+
dangerouslySetInnerHTML={{ __html: service.body }}
|
|
71
|
+
/>
|
|
72
|
+
) : null}
|
|
73
|
+
</article>
|
|
74
|
+
);
|
|
75
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
{
|
|
2
|
+
"type": "dkit:block",
|
|
3
|
+
"id": "service-list",
|
|
4
|
+
"title": "Service list",
|
|
5
|
+
"description": "Stacked service list with optional thumbnails and pricing",
|
|
6
|
+
"version": "0.1.0",
|
|
7
|
+
"frameworks": ["next"],
|
|
8
|
+
"uiKits": ["shadcn", "minimal"],
|
|
9
|
+
"slot": "list",
|
|
10
|
+
"route": { "kind": "index" },
|
|
11
|
+
"registryDependencies": ["services"],
|
|
12
|
+
"dependencies": ["@directus/sdk"],
|
|
13
|
+
"layers": ["ui"]
|
|
14
|
+
}
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
import { getServices, serviceImageUrl } from "@/lib/dkit/services";
|
|
2
|
+
import { moduleHref } from "@/lib/dkit/paths";
|
|
3
|
+
|
|
4
|
+
/** Minimal kit — stacked list (shared type primitives). */
|
|
5
|
+
export async function ServiceList() {
|
|
6
|
+
const services = await getServices();
|
|
7
|
+
const hrefById = Object.fromEntries(
|
|
8
|
+
await Promise.all(
|
|
9
|
+
services.map(async (service) => [service.id, await moduleHref("services", service.slug)] as const),
|
|
10
|
+
),
|
|
11
|
+
);
|
|
12
|
+
|
|
13
|
+
return (
|
|
14
|
+
<section>
|
|
15
|
+
<style>{`
|
|
16
|
+
.dkit-service-list {
|
|
17
|
+
list-style: none;
|
|
18
|
+
margin: 0;
|
|
19
|
+
padding: 0;
|
|
20
|
+
}
|
|
21
|
+
.dkit-service-list > li {
|
|
22
|
+
display: flex;
|
|
23
|
+
gap: 1rem;
|
|
24
|
+
padding: 1rem 0;
|
|
25
|
+
border-bottom: 1px solid var(--dkit-border, #ddd);
|
|
26
|
+
}
|
|
27
|
+
.dkit-service-list > li:last-child {
|
|
28
|
+
border-bottom: 0;
|
|
29
|
+
}
|
|
30
|
+
.dkit-service-list__thumb {
|
|
31
|
+
flex: 0 0 auto;
|
|
32
|
+
width: 4rem;
|
|
33
|
+
height: 4rem;
|
|
34
|
+
object-fit: cover;
|
|
35
|
+
}
|
|
36
|
+
.dkit-service-list__body {
|
|
37
|
+
min-width: 0;
|
|
38
|
+
flex: 1;
|
|
39
|
+
}
|
|
40
|
+
.dkit-service-list__title {
|
|
41
|
+
margin: 0 0 0.25rem;
|
|
42
|
+
font-size: 1.25rem;
|
|
43
|
+
}
|
|
44
|
+
.dkit-service-list__price {
|
|
45
|
+
margin: 0.5rem 0 0;
|
|
46
|
+
font-size: 0.875rem;
|
|
47
|
+
font-weight: 600;
|
|
48
|
+
color: var(--dkit-accent, #0F766E);
|
|
49
|
+
}
|
|
50
|
+
.dkit-service-list__summary {
|
|
51
|
+
margin: 0.5rem 0 0;
|
|
52
|
+
color: var(--dkit-muted, #555);
|
|
53
|
+
}
|
|
54
|
+
`}</style>
|
|
55
|
+
|
|
56
|
+
<header>
|
|
57
|
+
<p className="dkit-label">What we offer</p>
|
|
58
|
+
<h1 className="dkit-headline">Services</h1>
|
|
59
|
+
</header>
|
|
60
|
+
|
|
61
|
+
{services.length === 0 ? (
|
|
62
|
+
<p>No published services yet.</p>
|
|
63
|
+
) : (
|
|
64
|
+
<ul className="dkit-service-list">
|
|
65
|
+
{services.map((service) => {
|
|
66
|
+
const imageUrl = serviceImageUrl(service);
|
|
67
|
+
return (
|
|
68
|
+
<li key={service.id}>
|
|
69
|
+
{imageUrl ? (
|
|
70
|
+
// eslint-disable-next-line @next/next/no-img-element
|
|
71
|
+
<img
|
|
72
|
+
className="dkit-service-list__thumb"
|
|
73
|
+
src={imageUrl}
|
|
74
|
+
alt=""
|
|
75
|
+
width={64}
|
|
76
|
+
height={64}
|
|
77
|
+
/>
|
|
78
|
+
) : null}
|
|
79
|
+
<div className="dkit-service-list__body">
|
|
80
|
+
<h2 className="dkit-service-list__title">
|
|
81
|
+
<a href={hrefById[service.id]!}>
|
|
82
|
+
{service.title}
|
|
83
|
+
</a>
|
|
84
|
+
</h2>
|
|
85
|
+
{service.price_label ? (
|
|
86
|
+
<p className="dkit-service-list__price">
|
|
87
|
+
{service.price_label}
|
|
88
|
+
</p>
|
|
89
|
+
) : null}
|
|
90
|
+
{service.summary ? (
|
|
91
|
+
<p className="dkit-service-list__summary">
|
|
92
|
+
{service.summary}
|
|
93
|
+
</p>
|
|
94
|
+
) : null}
|
|
95
|
+
</div>
|
|
96
|
+
</li>
|
|
97
|
+
);
|
|
98
|
+
})}
|
|
99
|
+
</ul>
|
|
100
|
+
)}
|
|
101
|
+
</section>
|
|
102
|
+
);
|
|
103
|
+
}
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
import { getServices, serviceImageUrl } from "@/lib/dkit/services";
|
|
2
|
+
import { moduleHref } from "@/lib/dkit/paths";
|
|
3
|
+
import { Badge } from "@/components/ui/badge";
|
|
4
|
+
|
|
5
|
+
/** Uses your project's shadcn/ui components. */
|
|
6
|
+
export async function ServiceList() {
|
|
7
|
+
const services = await getServices();
|
|
8
|
+
const hrefById = Object.fromEntries(
|
|
9
|
+
await Promise.all(
|
|
10
|
+
services.map(async (service) => [service.id, await moduleHref("services", service.slug)] as const),
|
|
11
|
+
),
|
|
12
|
+
);
|
|
13
|
+
|
|
14
|
+
return (
|
|
15
|
+
<div className="relative mx-auto max-w-2xl px-6 py-16 sm:py-20">
|
|
16
|
+
<header className="mb-12 border-b border-border pb-10">
|
|
17
|
+
<p className="mb-3 text-xs font-medium tracking-[0.2em] text-primary uppercase">
|
|
18
|
+
What we offer
|
|
19
|
+
</p>
|
|
20
|
+
<h1 className="text-4xl font-semibold leading-tight tracking-tight text-foreground sm:text-5xl">
|
|
21
|
+
Services
|
|
22
|
+
</h1>
|
|
23
|
+
<p className="mt-4 max-w-md text-base leading-relaxed text-muted-foreground">
|
|
24
|
+
Explore our capabilities.
|
|
25
|
+
</p>
|
|
26
|
+
</header>
|
|
27
|
+
|
|
28
|
+
{services.length === 0 ? (
|
|
29
|
+
<p className="rounded-xl border border-dashed border-border bg-muted/40 px-6 py-10 text-center text-muted-foreground">
|
|
30
|
+
No published services yet.
|
|
31
|
+
</p>
|
|
32
|
+
) : (
|
|
33
|
+
<ul className="space-y-1">
|
|
34
|
+
{services.map((service, i) => {
|
|
35
|
+
const imageUrl = serviceImageUrl(service);
|
|
36
|
+
return (
|
|
37
|
+
<li key={service.id}>
|
|
38
|
+
<a
|
|
39
|
+
href={hrefById[service.id]!}
|
|
40
|
+
className="group flex gap-5 rounded-xl px-4 py-5 transition-colors hover:bg-muted/60"
|
|
41
|
+
>
|
|
42
|
+
{imageUrl ? (
|
|
43
|
+
// eslint-disable-next-line @next/next/no-img-element
|
|
44
|
+
<img
|
|
45
|
+
src={imageUrl}
|
|
46
|
+
alt=""
|
|
47
|
+
className="mt-0.5 h-16 w-16 shrink-0 rounded-lg object-cover ring-1 ring-border"
|
|
48
|
+
/>
|
|
49
|
+
) : (
|
|
50
|
+
<span className="mt-1 w-8 shrink-0 font-mono text-xs text-muted-foreground tabular-nums">
|
|
51
|
+
{String(i + 1).padStart(2, "0")}
|
|
52
|
+
</span>
|
|
53
|
+
)}
|
|
54
|
+
<span className="min-w-0 flex-1">
|
|
55
|
+
<span className="block text-xl font-medium tracking-tight text-foreground transition-colors group-hover:text-primary">
|
|
56
|
+
{service.title}
|
|
57
|
+
</span>
|
|
58
|
+
{service.summary ? (
|
|
59
|
+
<span className="mt-2 block text-sm leading-relaxed text-muted-foreground">
|
|
60
|
+
{service.summary}
|
|
61
|
+
</span>
|
|
62
|
+
) : null}
|
|
63
|
+
<span className="mt-3 flex flex-wrap items-center gap-x-2 text-xs text-muted-foreground">
|
|
64
|
+
{service.price_label ? (
|
|
65
|
+
<Badge variant="secondary">{service.price_label}</Badge>
|
|
66
|
+
) : null}
|
|
67
|
+
<span className="ml-auto text-primary opacity-0 transition group-hover:opacity-100">
|
|
68
|
+
Learn more →
|
|
69
|
+
</span>
|
|
70
|
+
</span>
|
|
71
|
+
</span>
|
|
72
|
+
</a>
|
|
73
|
+
</li>
|
|
74
|
+
);
|
|
75
|
+
})}
|
|
76
|
+
</ul>
|
|
77
|
+
)}
|
|
78
|
+
</div>
|
|
79
|
+
);
|
|
80
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
{
|
|
2
|
+
"type": "dkit:block",
|
|
3
|
+
"id": "service-list-cards",
|
|
4
|
+
"title": "Service list (cards)",
|
|
5
|
+
"description": "Card grid of services with image, pricing, and summary",
|
|
6
|
+
"version": "0.1.0",
|
|
7
|
+
"frameworks": ["next"],
|
|
8
|
+
"uiKits": ["shadcn", "minimal"],
|
|
9
|
+
"shadcnComponents": ["badge", "card"],
|
|
10
|
+
"slot": "list",
|
|
11
|
+
"route": { "kind": "index" },
|
|
12
|
+
"registryDependencies": ["services"],
|
|
13
|
+
"dependencies": ["@directus/sdk"],
|
|
14
|
+
"layers": ["ui"]
|
|
15
|
+
}
|
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
import { getServices, serviceImageUrl } from "@/lib/dkit/services";
|
|
2
|
+
import { moduleHref } from "@/lib/dkit/paths";
|
|
3
|
+
|
|
4
|
+
/** Minimal kit — uses shared .dkit-card / type primitives. */
|
|
5
|
+
export async function ServiceListCards() {
|
|
6
|
+
const services = await getServices();
|
|
7
|
+
const hrefById = Object.fromEntries(
|
|
8
|
+
await Promise.all(
|
|
9
|
+
services.map(async (service) => [service.id, await moduleHref("services", service.slug)] as const),
|
|
10
|
+
),
|
|
11
|
+
);
|
|
12
|
+
|
|
13
|
+
return (
|
|
14
|
+
<section>
|
|
15
|
+
<style>{`
|
|
16
|
+
.dkit-service-cards {
|
|
17
|
+
display: grid;
|
|
18
|
+
gap: 1.25rem;
|
|
19
|
+
grid-template-columns: 1fr;
|
|
20
|
+
list-style: none;
|
|
21
|
+
margin: 0;
|
|
22
|
+
padding: 0;
|
|
23
|
+
}
|
|
24
|
+
@media (min-width: 640px) {
|
|
25
|
+
.dkit-service-cards {
|
|
26
|
+
grid-template-columns: 1fr 1fr;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
.dkit-service-cards__media,
|
|
30
|
+
.dkit-service-cards__placeholder {
|
|
31
|
+
display: block;
|
|
32
|
+
width: 100%;
|
|
33
|
+
aspect-ratio: 16 / 10;
|
|
34
|
+
object-fit: cover;
|
|
35
|
+
background: #eee;
|
|
36
|
+
}
|
|
37
|
+
.dkit-service-cards__placeholder {
|
|
38
|
+
display: flex;
|
|
39
|
+
align-items: center;
|
|
40
|
+
justify-content: center;
|
|
41
|
+
color: #bbb;
|
|
42
|
+
font-size: 2rem;
|
|
43
|
+
}
|
|
44
|
+
.dkit-service-cards__title {
|
|
45
|
+
margin: 0;
|
|
46
|
+
font-size: 1.25rem;
|
|
47
|
+
}
|
|
48
|
+
.dkit-service-cards__price {
|
|
49
|
+
margin: 0.25rem 0 0;
|
|
50
|
+
font-size: 0.875rem;
|
|
51
|
+
font-weight: 600;
|
|
52
|
+
color: var(--dkit-accent, #0F766E);
|
|
53
|
+
}
|
|
54
|
+
.dkit-service-cards__summary {
|
|
55
|
+
margin: 0.75rem 0 0;
|
|
56
|
+
flex: 1;
|
|
57
|
+
font-size: 0.875rem;
|
|
58
|
+
color: var(--dkit-muted, #555);
|
|
59
|
+
}
|
|
60
|
+
.dkit-card__body .dkit-link {
|
|
61
|
+
margin-top: 1rem;
|
|
62
|
+
}
|
|
63
|
+
`}</style>
|
|
64
|
+
|
|
65
|
+
<header>
|
|
66
|
+
<p className="dkit-label">What we offer</p>
|
|
67
|
+
<h1 className="dkit-headline">Services</h1>
|
|
68
|
+
<p className="dkit-subtitle">Browse offerings.</p>
|
|
69
|
+
</header>
|
|
70
|
+
|
|
71
|
+
{services.length === 0 ? (
|
|
72
|
+
<p>No published services yet.</p>
|
|
73
|
+
) : (
|
|
74
|
+
<ul className="dkit-service-cards">
|
|
75
|
+
{services.map((service) => {
|
|
76
|
+
const imageUrl = serviceImageUrl(service);
|
|
77
|
+
return (
|
|
78
|
+
<li key={service.id}>
|
|
79
|
+
<a
|
|
80
|
+
className="dkit-card dkit-card--media"
|
|
81
|
+
href={hrefById[service.id]!}
|
|
82
|
+
>
|
|
83
|
+
{imageUrl ? (
|
|
84
|
+
// eslint-disable-next-line @next/next/no-img-element
|
|
85
|
+
<img
|
|
86
|
+
className="dkit-service-cards__media"
|
|
87
|
+
src={imageUrl}
|
|
88
|
+
alt=""
|
|
89
|
+
/>
|
|
90
|
+
) : (
|
|
91
|
+
<span
|
|
92
|
+
className="dkit-service-cards__placeholder"
|
|
93
|
+
aria-hidden
|
|
94
|
+
>
|
|
95
|
+
✦
|
|
96
|
+
</span>
|
|
97
|
+
)}
|
|
98
|
+
<div className="dkit-card__body">
|
|
99
|
+
<h2 className="dkit-service-cards__title">
|
|
100
|
+
{service.title}
|
|
101
|
+
</h2>
|
|
102
|
+
{service.price_label ? (
|
|
103
|
+
<p className="dkit-service-cards__price">
|
|
104
|
+
{service.price_label}
|
|
105
|
+
</p>
|
|
106
|
+
) : null}
|
|
107
|
+
{service.summary ? (
|
|
108
|
+
<p className="dkit-service-cards__summary">
|
|
109
|
+
{service.summary}
|
|
110
|
+
</p>
|
|
111
|
+
) : (
|
|
112
|
+
<span className="dkit-service-cards__summary" />
|
|
113
|
+
)}
|
|
114
|
+
<span className="dkit-link">Learn more →</span>
|
|
115
|
+
</div>
|
|
116
|
+
</a>
|
|
117
|
+
</li>
|
|
118
|
+
);
|
|
119
|
+
})}
|
|
120
|
+
</ul>
|
|
121
|
+
)}
|
|
122
|
+
</section>
|
|
123
|
+
);
|
|
124
|
+
}
|