Skip to content

Commit ba4912f

Browse files
committed
feat: edit BookACallForm component to accept more props
1 parent 27ce593 commit ba4912f

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
@@ -23,15 +23,18 @@ const { ogImage = "https://www.crocoder.dev/homepage-metadata-img.png" } =
2323
<ThankYouCard />
2424
<MainContent />
2525
<Specialization />
26-
<OurEngineers />
2726
<WhyWorkWithUs />
2827

29-
<BookACallForm
30-
calLink="team/crocoder/staff-augmentation-intro"
31-
eventType="staff-augmentation-intro"
32-
>
33-
<span slot="title"> Let's Build Together </span>
34-
</BookACallForm>
35-
36-
<Footer />
28+
<div class="bg-contrast w-full">
29+
<BookACallForm
30+
className="!bg-transparent !py-0 mt-[300px] md:mt-[400px] overflow-visible"
31+
contentClassName="items-center bg-secondary rounded-4xl md:rounded-[96px] md:pb-[122px]"
32+
calLink="team/crocoder/staff-augmentation-intro"
33+
eventType="staff-augmentation-intro"
34+
>
35+
<span slot="title"> Let's Build Together </span>
36+
</BookACallForm>
37+
</div>
3738
</Base>
39+
40+
<Footer />

0 commit comments

Comments
 (0)