This repository has been archived by the owner on Jan 9, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: variant of calculator page with share section (#207)
New calculator page variant located at `/savings-calculator` with a "share kardinal" section and updated Demo CTA 
- Loading branch information
Showing
10 changed files
with
332 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
import { Metadata } from "next"; | ||
|
||
import Calculator from "@/components/Calculator"; | ||
import CTA from "@/components/CTA"; | ||
import CTADemo from "@/components/CTADemo"; | ||
import SavingsGraph from "@/components/SavingsGraph"; | ||
import ShareKardinal from "@/components/ShareKardinal"; | ||
import Spacer from "@/components/Spacer"; | ||
import { TextBase } from "@/components/Text"; | ||
|
||
export const metadata: Metadata = { | ||
title: "Kardinal | Savings Calculator", | ||
description: "Calculate exactly how much your team could save with Kardinal", | ||
}; | ||
|
||
const Page = () => { | ||
return ( | ||
<> | ||
<CTA | ||
style={{ maxHeight: 540, minHeight: 540 }} | ||
imageUrl={null} | ||
buttonText={null} | ||
fullHeight | ||
heading={ | ||
<> | ||
Save <em>~90%</em> on dev sandbox costs with <em>Kardinal</em> | ||
</> | ||
} | ||
> | ||
<TextBase> | ||
Check out our calculator below to see <br data-desktop />{" "} | ||
<em>exactly how much</em> your team could save. | ||
</TextBase> | ||
</CTA> | ||
|
||
<Calculator /> | ||
|
||
<Spacer height={48} /> | ||
|
||
<SavingsGraph /> | ||
|
||
<ShareKardinal /> | ||
|
||
<CTADemo /> | ||
</> | ||
); | ||
}; | ||
|
||
export default Page; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.