Skip to content

Commit 5842bcc

Browse files
committed
fixes errors before pricing
1 parent cb65c5c commit 5842bcc

File tree

3 files changed

+28
-2
lines changed

3 files changed

+28
-2
lines changed

src/components/landing-page-components/sections/landing-page-features-card.jsx

Lines changed: 26 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
11
import React from 'react';
22
import LandingPageCard from '../parts/landing-page-card';
3+
import { useHistory } from 'react-router-dom';
34
import LandingPageFeatureCard from '../parts/landing-page-feature-card';
45
import { useIsMobile } from '../context-providers/mobile-context-provider';
6+
import PrimaryButton from '../parts/landing-page-button-primary';
7+
import SecondaryButton from '../parts/landing-page-button-secondary';
8+
import { LINK_CHAT_WITH_FOUNDERS, LINK_GET_STARTED } from '@site/src/constants/landing-page-links-constants';
59

610
const FEATURES = [
711
{
@@ -38,7 +42,7 @@ const FEATURES = [
3842

3943
const LandingPageFeaturesCard = () => {
4044
const isMobile = useIsMobile();
41-
45+
const history = useHistory();
4246
return (
4347
<LandingPageCard
4448
className={isMobile ?
@@ -84,6 +88,27 @@ const LandingPageFeaturesCard = () => {
8488
</div>
8589
))}
8690
</div>
91+
<div
92+
className={isMobile ?
93+
"flex flex-col gap-[1rem] pt-[1.5rem]"
94+
:
95+
"flex gap-[1rem] pt-[2rem]"
96+
}
97+
>
98+
<PrimaryButton
99+
className="inline-flex !w-auto px-[1.5rem] py-[0.75rem]"
100+
onClick={() => history.push(LINK_GET_STARTED)}
101+
>
102+
Get started
103+
</PrimaryButton>
104+
105+
<SecondaryButton
106+
className="inline-flex !w-auto px-[1.5rem] py-[0.75rem]"
107+
onClick={() => window.open(LINK_CHAT_WITH_FOUNDERS, '_blank')}
108+
>
109+
Chat with us
110+
</SecondaryButton>
111+
</div>
87112
</LandingPageCard>
88113
);
89114
};

src/components/landing-page-components/sections/landing-page-header.jsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -176,6 +176,7 @@ const scrollToHeader = (headerId) => {
176176
style={{
177177
background: 'rgba(17, 35, 75, 0.80)',
178178
backdropFilter: 'blur(12.5px)',
179+
zIndex: 9000
179180
}}
180181
>
181182
<div

src/components/landing-page-components/sections/landing-page-quotes.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ const QUOTES = [
2020
{
2121
avatarSrc: "https://media.licdn.com/dms/image/v2/D5603AQE7kyH1Et3yNw/profile-displayphoto-shrink_800_800/profile-displayphoto-shrink_800_800/0/1719427949285?e=1732752000&v=beta&t=vRedtBeZ-dqq2V_pwMu8smoBpHq_d_D7WJO7A-K0P-Y",
2222
title: "Nicole Zhu, Co-Founder",
23-
company: "Jan AI",
23+
company: "Homebrew",
2424
quote: "I'm a fan of the Dev-Docs vision to automate technical docs with AI. We were able to scaffold an early version of Jan docs with Dev-Docs. It was seamless and enabled us to focus on product improvements. We love Dev-Docs!"
2525
},
2626
{

0 commit comments

Comments
 (0)