Skip to content

Commit 7a143e5

Browse files
committed
Add call booking page
1 parent 59910b3 commit 7a143e5

File tree

6 files changed

+78
-9
lines changed

6 files changed

+78
-9
lines changed

bun.lock

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@
5050
"prettier": "^3.5.3",
5151
"pretty-quick": "^4.1.1",
5252
"react": "^19.1.0",
53+
"react-calendly": "^4.4.0",
5354
"react-dom": "^19.1.0",
5455
"react-hook-form": "^7.56.4",
5556
"react-transition-state": "^2.3.1",

src/components/Hero.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ export const Hero = () => {
115115

116116
<div className={clsx(styles.hero__actions, "animate fade delay-1")}>
117117
<Button
118-
href="/hire"
118+
href="/book"
119119
variant="primary"
120120
size="lg"
121121
EndIcon={ChevronRight}

src/components/SiteLayout.tsx

Lines changed: 19 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { Footer } from "components/Footer";
22
import { Navbar } from "components/Navbar";
33
import { Section } from "components/Section";
4-
import { ChevronRight } from "lucide-react";
4+
import { ChevronRight, PhoneIcon } from "lucide-react";
55
import { PropsWithChildren } from "react";
66
import { Button } from "./Button";
77
import { Cta, CtaProps } from "./Cta";
@@ -33,13 +33,24 @@ export const SiteLayout: React.FC<
3333
showTagline={showTagline}
3434
actions={
3535
!showTagline && (
36-
<Button
37-
href="/hire"
38-
EndIcon={ChevronRight}
39-
size="sm"
40-
>
41-
Work with us
42-
</Button>
36+
<>
37+
<Button
38+
href="/book"
39+
StartIcon={PhoneIcon}
40+
size="sm"
41+
variant="tertiary"
42+
>
43+
Book a call
44+
</Button>
45+
46+
<Button
47+
href="/hire"
48+
EndIcon={ChevronRight}
49+
size="sm"
50+
>
51+
Work with us
52+
</Button>
53+
</>
4354
)
4455
}
4556
/>

src/pages/book.tsx

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
import { NewsletterCTA } from "components/NewsletterCTA";
2+
import { PageHeader } from "components/PageHeader";
3+
import { PageMeta } from "components/PageMeta";
4+
import { Section } from "components/Section";
5+
import { SiteLayout } from "components/SiteLayout";
6+
import { NextPage } from "next";
7+
import { InlineWidget } from "react-calendly";
8+
9+
const HirePage: NextPage = () => {
10+
return (
11+
<>
12+
<PageMeta
13+
title="Hire Us"
14+
description="Apsis Labs is ready to get started making your project a reality."
15+
/>
16+
17+
<SiteLayout
18+
contained
19+
footer={
20+
<Section bordered theme="blue">
21+
<NewsletterCTA />
22+
</Section>
23+
}
24+
>
25+
<div className="stack gap-lg">
26+
<article className="stack gap-md">
27+
<PageHeader
28+
center
29+
title="Book a Call"
30+
subtitle={
31+
<>
32+
Got a project?{" "}
33+
<span className="text-primary">Let's talk.</span>
34+
</>
35+
}
36+
/>
37+
38+
<InlineWidget
39+
styles={{
40+
height: "1200px",
41+
}}
42+
url="https://calendly.com/wyattapsis/30min"
43+
/>
44+
</article>
45+
</div>
46+
</SiteLayout>
47+
</>
48+
);
49+
};
50+
51+
export default HirePage;

src/styles/components/Navbar.module.scss

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,9 @@
159159
}
160160

161161
&__actions {
162+
align-items: center;
163+
display: flex;
164+
gap: var(--space-2xs);
162165
}
163166

164167
&__tagline {

0 commit comments

Comments
 (0)