Skip to content

Commit fc2761f

Browse files
committed
fix: navigation animation - add absolute path to book-a-call-section target url
1 parent f311b21 commit fc2761f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

apps/website/src/components/BookACallForm.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ import meetingImage from "../assets/meeting-croc.png";
4343
</div>
4444

4545
<div
46-
class="relative col-span-6 md:col-span-10 md:col-start-2 overflow-hidden flex flex-col justify-center bg-white rounded"
46+
class="relative col-span-6 md:col-span-10 md:col-start-2 overflow-hidden flex flex-col justify-center bg-white rounded lg:min-h-[460px]"
4747
>
4848
<div id="book-a-call"></div>
4949
<CalcomEmbedInline

apps/website/src/components/navigation.astro

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ const optimizedLogo = await getImage({
110110
data-navhidden="true"
111111
id="book-a-call-action"
112112
class="invisible w-fit font-medium h-[39px] items-center px-4 py-2 rounded-md text-base text-center whitespace-nowrap bg-[#545664] text-[#ffffff] hover:opacity-90"
113-
href="#book-a-call-section"
113+
href="/#book-a-call-section"
114114
>
115115
Book a call
116116
</a>
@@ -153,7 +153,7 @@ const optimizedLogo = await getImage({
153153
text-base text-center
154154
whitespace-nowrap
155155
bg-[#545664] text-[#ffffff] hover:opacity-90"
156-
href="#book-a-call-section">Book a call</a
156+
href="/#book-a-call-section">Book a call</a
157157
>
158158
<a
159159
class="font-medium

0 commit comments

Comments
 (0)