Skip to content

Commit 0050272

Browse files
feat: add why work with us section cards
1 parent 8192a22 commit 0050272

File tree

12 files changed

+107
-5
lines changed

12 files changed

+107
-5
lines changed
Lines changed: 8 additions & 0 deletions
Loading
Lines changed: 5 additions & 0 deletions
Loading
Lines changed: 13 additions & 0 deletions
Loading
Lines changed: 8 additions & 0 deletions
Loading

apps/website/src/components/vibe-code-mvp/GetInTouch.astro

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ import Section from "../Section.astro";
99
---
1010

1111
<Section
12-
contentClassName={`${grid_classes} bg-[#5362DBE5]/[0.9] text-white rounded-[48px] mt-12 md:mt-22 max-sm:gap-0`}
13-
className="bg-contrast"
12+
contentClassName={`${grid_classes} bg-[#5362DBE5]/[0.9] text-white rounded-[48px] max-sm:gap-0`}
13+
className="bg-contrast !pt-68"
1414
>
1515
<div
1616
class="flex flex-col gap-2 md:gap-4 col-span-6 md:col-span-12 md:px-8 lg:col-span-5 lg:col-start-2 max-md:px-4 lg:px-0"

apps/website/src/components/vibe-code-mvp/WhyWorkWithUs.astro

Lines changed: 46 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,24 @@ import Pill from "../../components/Pill.astro";
55
import Section from "../../components/Section.astro";
66
import { grid_classes } from "../../components/_grid";
77
import "../../styles/main.css";
8+
import { getCollection } from "astro:content";
9+
import { Image } from "astro:assets";
10+
11+
const reasons = (await getCollection("vibecodemvpwhyworkwithus")) as {
12+
data: {
13+
image: string;
14+
imageAlt: string;
15+
title: string;
16+
};
17+
}[];
18+
19+
const images = import.meta.glob<{ default: ImageMetadata }>(
20+
"/src/assets/*.svg"
21+
);
822
---
923

1024
<Section className="!p-0" contentClassName="md:max-w-screen">
11-
<div class="relative pt-[196px] pb-24">
25+
<div class="relative pt-49 pb-24 min-[1920px]:pb-48 min-[1920px]:pt-98">
1226
<Picture
1327
src={team}
1428
alt="Developers collaborating"
@@ -26,7 +40,7 @@ import "../../styles/main.css";
2640
</div>
2741
<div class="mx-auto xl:px-0">
2842
<div
29-
class={`${grid_classes} md:max-w-[var(--max-width)] px-4 md:px-7 py-24 md:!py-[144px] md:mx-auto relative z-[2] min-[1281px]:px-0`}
43+
class={`${grid_classes} md:max-w-[var(--max-width)] px-4 md:px-7 py-0 md:mx-auto relative z-[2] min-[1281px]:px-0`}
3044
>
3145
<div
3246
class="row-start-1
@@ -42,7 +56,7 @@ import "../../styles/main.css";
4256
>Why work with us</Pill
4357
>
4458
<h2
45-
class="text-[18px] leading-[22px] min-[390px]:text-[24px] min-[390px]:leading-[28px] sm:text-[32px] sm:leading-[36px] md:text-[54px] md:leading-[59.4px] font-medium tracking-tight text-center"
59+
class="text-[18px] leading-[22px] min-[390px]:text-[24px] min-[390px]:leading-[28px] sm:text-[32px] sm:leading-[36px] md:text-[54px] md:leading-[59.4px] font-medium lg:text-[74px] lg:leading-[82px] tracking-tight text-center"
4660
>
4761
The <span class="text-crocoder-orange">Dev Team</span> Who <span
4862
class="text-crocoder-orange">Finishes</span
@@ -58,4 +72,33 @@ import "../../styles/main.css";
5872
</div>
5973
</div>
6074
</div>
75+
<div class="bg-contrast">
76+
<div
77+
class={`${grid_classes}
78+
md:max-w-[var(--max-width)]
79+
px-4 md:px-7 py-0
80+
md:mx-auto
81+
relative
82+
min-[1281px]:px-0
83+
`}
84+
>
85+
<div
86+
class="col-span-12 flex gap-2 flex-wrap items-center justify-center lg:items-stretch"
87+
>
88+
{
89+
reasons.map((r) => (
90+
<div class="bg-white/10 p-5 rounded-2xl flex flex-col gap-5 flex-grow sm:flex-[calc(50vw-40px)] min-lg:flex-1">
91+
<Image
92+
src={images[r.data.image]()}
93+
alt={r.data.imageAlt}
94+
width={48}
95+
height={48}
96+
/>
97+
<p class="text-[22px] leading-6 text-[#FFFFFF]">{r.data.title}</p>
98+
</div>
99+
))
100+
}
101+
</div>
102+
</div>
103+
</div>
61104
</Section>

apps/website/src/components/vibe-code-mvp/WorkWithUsCard.astro

Whitespace-only changes.
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
image: "/src/assets/shipment.svg"
3+
imageAlt: "Illustration of a box with check mark on it"
4+
title: "We ship vibe-coded MVPs without rebuilding them from scratch."
5+
---
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
image: "/src/assets/artificial_intelligence.svg"
3+
imageAlt: "Illustration of a brain"
4+
title: "We know your tools — GPT, Framer, Bubble, Supabase, Vercel, etc."
5+
---
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
image: "/src/assets/target-icon-correct.svg"
3+
imageAlt: "Illustration of a target with arrow in its center"
4+
title: "We speak product, not just code."
5+
---

0 commit comments

Comments
 (0)