Skip to content

Commit bff74d2

Browse files
committed
good to go
1 parent 5842bcc commit bff74d2

File tree

1 file changed

+41
-3
lines changed

1 file changed

+41
-3
lines changed

src/pages/pricing/index.jsx

Lines changed: 41 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,23 @@ import LandingPageFooter from '../../components/landing-page-components/sections
44
import { MobileContextProvider, useIsMobile } from '../../components/landing-page-components/context-providers/mobile-context-provider';
55
import LandingPageHeader from '../../components/landing-page-components/sections/landing-page-header';
66
import LandingPageFaqCard from '../../components/landing-page-components/sections/landing-page-faq';
7+
import LandingPageCard from '../../components/landing-page-components/parts/landing-page-card';
8+
import LandingPageFeatureCard from '../../components/landing-page-components/parts/landing-page-feature-card.jsx';
9+
10+
11+
const FEATURES = [
12+
{
13+
iconSrc: "/landing-page/docs-icon.png",
14+
title: "Markdown docs by default",
15+
description: "We believe developer content should live as code, aka markdown. Your content lives right next to your codebase or in a documentation framework.",
16+
},
17+
{
18+
iconSrc: "/landing-page/update-icon.png",
19+
title: "Real-time updates",
20+
description: "Syncs with your CI/CD pipeline to keep everything up-to-date as you ship new code. Your docs stay great -- and acurate -- as you build your product.",
21+
}
22+
];
23+
724

825
const PricingPage = () => {
926
const isMobile = useIsMobile();
@@ -19,9 +36,30 @@ const PricingPage = () => {
1936
>
2037
<LandingPageHeader />
2138

22-
<div>
23-
Lorem ipsum dolor sit amet, consectetur adipiscing elit
24-
</div>
39+
<div
40+
className={isMobile ?
41+
"mt-[3rem] flex flex-col flex-wrap gap-[1.25rem] justify-center items-center w-full"
42+
:
43+
"mt-[3rem] flex flex-col flex-wrap gap-x-[1rem] gap-y-[5rem] justify-center items-center"
44+
}
45+
>
46+
{FEATURES.map((feature, idx) => (
47+
<div
48+
key={`landing-page-features-card-feature-card-${idx}`}
49+
className={isMobile ?
50+
"flex flex-row justify-center"
51+
:
52+
"flex flex-row justify-center h-[23rem]"
53+
}
54+
>
55+
<LandingPageFeatureCard
56+
iconSrc={feature.iconSrc}
57+
title={feature.title}
58+
description={feature.description}
59+
/>
60+
</div>
61+
))}
62+
</div>
2563

2664
<LandingPageFaqCard />
2765
<LandingPageFooter />

0 commit comments

Comments
 (0)