Skip to content

Commit f63a699

Browse files
committed
updates use cases
1 parent b6fa552 commit f63a699

File tree

5 files changed

+31
-29
lines changed

5 files changed

+31
-29
lines changed

src/content.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -342,7 +342,7 @@ const faq = defineCollection({
342342
category: z.string().optional(),
343343
draft: z.boolean().optional().default(false),
344344
}),
345-
});
345+
});
346346

347347
// Define use cases collections
348348
const useCases = defineCollection({

src/layouts/Layout.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,4 +195,4 @@ const twitterImageUrl =
195195
});
196196
</script>
197197
</body>
198-
</html>
198+
</html>

src/pages/use-cases.astro

Lines changed: 28 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
---
2+
import '@v1/styles/global.css';
23
import Layout from '@layouts/Layout.astro';
34
import Hero from '@components/Hero.astro';
45
import Footer from '@components/Footer.astro';
@@ -32,33 +33,35 @@ const description = fm.description;
3233
description={page.data.description}
3334
/>
3435

35-
<div class="section--block section--block--small-pad bg-navy relative">
36-
<div class="absolute top-0 left-0 z-40 inline-block w-full">
37-
<Image
38-
src={ImageLightTrail}
39-
alt="Sphere"
40-
class="fade-in--pure relative h-auto w-full"
41-
data-scroll-effect="parallax"
42-
data-scroll-speed="0.1"
43-
data-scroll-direction="down"
44-
data-viewport-offset="200"
45-
data-max-movement="50"
36+
<div class="section--block section--block--pad bg-midnight-fjord relative">
37+
<div class="max-width">
38+
<div class="absolute top-0 left-0 z-40 inline-block w-full">
39+
<Image
40+
src={ImageLightTrail}
41+
alt="Sphere"
42+
class="fade-in--pure relative h-auto w-full"
43+
data-scroll-effect="parallax"
44+
data-scroll-speed="0.1"
45+
data-scroll-direction="down"
46+
data-viewport-offset="200"
47+
data-max-movement="50"
48+
data-reveal="fade-in--pure--visible"
49+
data-reveal-delay="100"
50+
data-reveal-immediate="true"
51+
/>
52+
</div>
53+
<div
54+
class="fade-in--pure relative z-50 grid w-full max-w-none grid-cols-1 gap-8 md:grid-cols-2 md:gap-10 lg:grid-cols-3 lg:gap-12.5"
4655
data-reveal="fade-in--pure--visible"
47-
data-reveal-delay="100"
4856
data-reveal-immediate="true"
49-
/>
50-
</div>
51-
<div
52-
class="fade-in--pure relative z-50 grid w-full max-w-none grid-cols-1 gap-8 md:grid-cols-2 md:gap-10 lg:grid-cols-3 lg:gap-12.5"
53-
data-reveal="fade-in--pure--visible"
54-
data-reveal-immediate="true"
55-
data-reveal-delay="100"
56-
>
57-
{
58-
useCases.map((useCase) => (
59-
<UcCard title={useCase.data.title} description={useCase.data.description || ''} />
60-
))
61-
}
57+
data-reveal-delay="100"
58+
>
59+
{
60+
useCases.map((useCase) => (
61+
<UcCard title={useCase.data.title} description={useCase.data.description || ''} />
62+
))
63+
}
64+
</div>
6265
</div>
6366
</div>
6467
<GlobalSection />

src/types/common.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,4 +177,3 @@ export interface UcCardProps {
177177
slug: string;
178178
}
179179
// TOC interfaces removed - now using Astro's built-in MarkdownHeading type
180-

src/v1/styles/components.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -511,7 +511,7 @@
511511
}
512512

513513
.uc-card {
514-
@apply bg-navy relative flex flex-col justify-between gap-8 border border-white px-9 py-8 md:gap-10 md:px-10 md:py-14 lg:gap-14 lg:px-12.5 lg:py-16;
514+
@apply bg-midnight-fjord relative flex flex-col justify-between gap-8 border border-white px-9 py-8 md:gap-10 md:px-10 md:py-14 lg:gap-14 lg:px-12.5 lg:py-16;
515515
@apply transition-colors duration-300 ease-linear hover:border-white/60;
516516
@apply min-h-[300px] md:min-h-[574px];
517517
}

0 commit comments

Comments
 (0)