Skip to content

Commit ef093a1

Browse files
committed
feat: edit BookACallForm component to accept more props
1 parent 803ff5c commit ef093a1

File tree

2 files changed

+16
-10
lines changed

2 files changed

+16
-10
lines changed

apps/website/src/components/BookACallForm.astro

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,14 @@ export interface Props {
1111
calLink?: string;
1212
eventType?: string;
1313
className?: string;
14+
contentClassName?: string;
1415
}
1516
1617
const {
1718
calLink = "team/crocoder/hello",
1819
eventType = "hello",
1920
className,
21+
contentClassName,
2022
} = Astro.props;
2123
---
2224

@@ -25,7 +27,7 @@ const {
2527
"bg-secondary !pb-16 md:!pb-24 !pt-0 overflow-visible mt-[220px] xl:mt-[300px]",
2628
className,
2729
)}
28-
contentClassName={`${grid_classes} items-center`}
30+
contentClassName={classNames(`${grid_classes} items-center`, contentClassName)}
2931
>
3032
<div
3133
class="col-span-6 md:col-span-8 md:col-start-3 -translate-y-1/2 -mb-40 xl:col-span-6 xl:col-start-4 lg:-mb-60"
@@ -69,3 +71,4 @@ const {
6971
/>
7072
</div>
7173
</Section>
74+

apps/website/src/pages/staff-augmentation.astro

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -30,15 +30,18 @@ const { ogImage = "https://www.crocoder.dev/homepage-metadata-img.png" } =
3030
</Section>
3131
<Testimonial classNames="lg:py-24" />
3232
<Specialization />
33-
<OurEngineers />
3433
<WhyWorkWithUs />
3534

36-
<BookACallForm
37-
calLink="team/crocoder/staff-augmentation-intro"
38-
eventType="staff-augmentation-intro"
39-
>
40-
<span slot="title"> Let's Build Together </span>
41-
</BookACallForm>
42-
43-
<Footer />
35+
<div class="bg-contrast w-full">
36+
<BookACallForm
37+
className="!bg-transparent !py-0 mt-[300px] md:mt-[400px] overflow-visible"
38+
contentClassName="items-center bg-secondary rounded-4xl md:rounded-[96px] md:pb-[122px]"
39+
calLink="team/crocoder/staff-augmentation-intro"
40+
eventType="staff-augmentation-intro"
41+
>
42+
<span slot="title"> Let's Build Together </span>
43+
</BookACallForm>
44+
</div>
4445
</Base>
46+
47+
<Footer />

0 commit comments

Comments
 (0)