Skip to content

Commit 90bb96c

Browse files
FEAT: Add calcom booking to vibe code mvp page (#608)
* feat: Add calcom booking to page * fix: text area word counter color contrast issue on dark background
1 parent 3b928ba commit 90bb96c

File tree

4 files changed

+16
-2
lines changed

4 files changed

+16
-2
lines changed

apps/website/src/components/BaseContactForm.astro

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,12 @@ const { onDark, classNames, formId, formClassNames } = Astro.props;
7676
errorText={formContent.frontmatter.requiredField}
7777
onDark={onDark}
7878
/>
79-
<span class="text-secondary text-xs text-right mt-1 block">
79+
<span
80+
class={classnames("text-xs text-right mt-1 block", {
81+
"text-secondary": !onDark,
82+
"text-neutral-50": onDark,
83+
})}
84+
>
8085
<span id="char-counter">0</span>/1500
8186
</span>
8287
</div>

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ import Section from "../Section.astro";
1111
<Section
1212
contentClassName={`${grid_classes} bg-[#5362DBE5]/[0.9] text-white rounded-[48px] max-sm:gap-0`}
1313
className="bg-contrast !pt-34 md:!pt-68"
14+
idx="get-in-touch"
1415
>
1516
<div
1617
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/HowItWorks.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ const images = import.meta.glob<{ default: ImageMetadata }>(
4848
<div class="flex flex-wrap gap-2.5">
4949
<a
5050
id="book-a-call-action-hero"
51-
href="#get-your-plan-section"
51+
href="#get-in-touch"
5252
class="inline-block bg-crocoder-yellow rounded-md px-[25px] py-4 text-center text-contrast text-base font-medium hover:opacity-90 uppercase w-fit max-h-14"
5353
>
5454
Let's talk

apps/website/src/pages/vibe-code-mvp.astro

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
---
2+
import BookACallForm from "../components/BookACallForm.astro";
23
import Footer from "../components/footer.astro";
34
import Navigation from "../components/navigation.astro";
45
import GetInTouch from "../components/vibe-code-mvp/GetInTouch.astro";
@@ -26,5 +27,12 @@ const { ogImage = "https://www.crocoder.dev/homepage-metadata-img.png" } =
2627
<HowItWorks />
2728
<WhyWorkWithUs />
2829
<GetInTouch />
30+
<div class="bg-contrast w-full">
31+
<BookACallForm>
32+
<span slot="title">
33+
Build Your Business <span class="text-crocoder-yellow"> With Us </span>
34+
</span>
35+
</BookACallForm>
36+
</div>
2937
<Footer />
3038
</Base>

0 commit comments

Comments
 (0)