Skip to content

Commit ba1e2d4

Browse files
committed
add pricing
1 parent 391d71b commit ba1e2d4

File tree

8 files changed

+82
-54
lines changed

8 files changed

+82
-54
lines changed

src/components/FAQ.jsx

Lines changed: 22 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,6 @@ const FAQData = [
77
answer:
88
'No! Code Genie generates a foundation for you. What you do from there is totally up to you and your engineering team!',
99
},
10-
{
11-
question: 'Do I need to pay Code Genie a monthly fee?',
12-
answer:
13-
'No! The generated application is intended to be deployed to your own AWS account. We simply help you get started with a low cost solution ($0 when not in use!) that scales with you.',
14-
},
1510
{
1611
question: 'Am I locked into AWS?',
1712
answer: (
@@ -28,12 +23,31 @@ const FAQData = [
2823
Express
2924
</a>
3025
, making it highly portable. Unfortunately,{' '}
31-
<a href="https://aws.amazon.com/dynamodb/">DynamoDB</a> is a bit more
32-
challenging, and would require writing a database migration script and
33-
updating the controller logic.
26+
<a
27+
href="https://aws.amazon.com/dynamodb/"
28+
target="_blank"
29+
rel="noopener"
30+
>
31+
DynamoDB
32+
</a>{' '}
33+
is a bit more challenging, and would a database migration (e.g. see this
34+
article on how you would{' '}
35+
<a
36+
href="https://www.mongodb.com/blog/post/migrating-your-data-from-dynamodb-to-mongodb-atlas"
37+
target="_blank"
38+
rel="noopener"
39+
>
40+
migrate from DynamoDB to MongoDB
41+
</a>
42+
) and updating some controller logic.
3443
</>
3544
),
3645
},
46+
{
47+
question: 'Do I need to pay Code Genie a monthly fee?',
48+
answer:
49+
'No! The generated application is intended to be deployed to your own AWS account. We simply help you get started with a low cost solution ($0 when not in use!) that scales with you.',
50+
},
3751
]
3852

3953
export const FAQ = () => (

src/components/Features1.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ export const Features1 = () => {
1111
return (
1212
<section
1313
className="w-full bg-customDarkBg2 mt-12 sm:mt-20 mb-10 lg:my-20"
14-
id="features3"
14+
id="features"
1515
>
1616
<motion.div
1717
initial={{ opacity: 0 }}

src/components/Features3.jsx

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,7 @@ import { CheckArrowIcon } from '../assets/icons/CheckArrowIcon'
1010

1111
export const Features3 = () => {
1212
return (
13-
<section
14-
className="w-full bg-customDarkBg2 mt-12 sm:mt-20 mb-10 lg:my-20"
15-
id="features"
16-
>
13+
<section className="w-full bg-customDarkBg2 mt-12 sm:mt-20 mb-10 lg:my-20">
1714
<motion.div
1815
initial={{ opacity: 0 }}
1916
whileInView={{ opacity: 1 }}

src/components/FeaturesDiagonal.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ export const FeaturesDiagonal = ({ children }) => {
4848
Get Started
4949
</div>
5050
</div>
51-
<div className="w-4/5 lg:w-1/2 lg:pl-16 flex justify-center mx-auto pt-16 lg:pt-0 max-h-[400px]">
51+
<div className="w-4/5 lg:w-1/2 lg:pl-16 flex justify-center mx-auto pt-16 lg:pt-0 max-h-[472px]">
5252
{children}
5353
</div>
5454
</div>

src/components/Navbar.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ const navbarLinks = [
88
{ label: 'Home', href: '#home', ariaLabel: 'Home' },
99
{ label: 'Features', href: '#features', ariaLabel: 'Features' },
1010
{ label: 'Pricing', href: '#pricing', ariaLabel: 'Pricing' },
11-
{ label: 'Feedback', href: '#feedback', ariaLabel: 'Feedback' },
11+
// { label: 'Feedback', href: '#feedback', ariaLabel: 'Feedback' },
1212
{ label: 'FAQ', href: '#FAQ', ariaLabel: 'FAQ' },
1313
]
1414

src/components/Pricing.jsx

Lines changed: 50 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,24 @@
1-
import { useState } from "react";
2-
import { motion } from "framer-motion";
1+
import { useState } from 'react'
2+
import { motion } from 'framer-motion'
33

4-
import { InvitationModal } from "./InvitationModal";
5-
import { CheckArrowIcon } from "../assets/icons/CheckArrowIcon";
4+
import { InvitationModal } from './InvitationModal'
5+
import { CheckArrowIcon } from '../assets/icons/CheckArrowIcon'
66

77
const pricingData = [
8-
"Seamless integration",
9-
"Real-time data visualization",
10-
"Advanced predictive analytics",
11-
"Collaborative environment",
12-
"Responsive customer support",
13-
];
8+
'Seamless integration',
9+
'Real-time data visualization',
10+
'Advanced predictive analytics',
11+
'Collaborative environment',
12+
'Responsive customer support',
13+
]
1414

1515
export const Pricing = () => {
16-
const [isMonthly, setIsMonthly] = useState(true);
17-
const [isModalOpen, setIsModalOpen] = useState(false);
16+
const [isMonthly, setIsMonthly] = useState(true)
17+
const [isModalOpen, setIsModalOpen] = useState(false)
1818

1919
const handleChange = () => {
20-
setIsMonthly(!isMonthly);
21-
};
20+
setIsMonthly(!isMonthly)
21+
}
2222

2323
return (
2424
<section className="w-screen flex justify-center bg-customDarkBg2 relative">
@@ -32,17 +32,33 @@ export const Pricing = () => {
3232
>
3333
<div className="container mx-auto px-4">
3434
<div className="max-w-2xl mx-auto text-center mb-16">
35-
<span className="custom-block-subtitle">
36-
Find Your Perfect Fit
37-
</span>
35+
<span className="custom-block-subtitle">Get in touch</span>
3836
<h2 className="mt-6 mb-6 text-4xl lg:text-5xl font-bold font-heading text-white">
39-
Choose your best plan
37+
Custom pricing available now
4038
</h2>
4139
<p className="mb-6 text-customGrayText">
42-
Select the plan that suits your needs and benefit from our
43-
analytics tools.
40+
Code Genie is not yet generally available and we're currently
41+
working closely with partners to jumpstart the development of
42+
their new software projects. We're also offering free builds for
43+
some Nonprofits.{' '}
44+
<a href="mailto:[email protected]">
45+
Shoot us an email to schedule a demo
46+
</a>
47+
.
4448
</p>
45-
<label className="mx-auto bg-customDarkBg3 relative flex justify-between items-center group text-xl w-44 h-12 rounded-lg pr-36 pl-1 cursor-pointer">
49+
<div className="flex justify-center">
50+
<div
51+
className="w-[210px] h-12 custom-button-colored mr-10 "
52+
onClick={() =>
53+
window.open(
54+
'mailto:[email protected]?subject=Code Genie Demo'
55+
)
56+
}
57+
>
58+
Schedule a demo
59+
</div>
60+
</div>
61+
{/* <label className="mx-auto bg-customDarkBg3 relative flex justify-between items-center group text-xl w-44 h-12 rounded-lg pr-36 pl-1 cursor-pointer">
4662
<input
4763
type="checkbox"
4864
className="peer appearance-none"
@@ -53,16 +69,16 @@ export const Pricing = () => {
5369
<div className="flex absolute text-white text-sm font-bold">
5470
<div
5571
className={
56-
isMonthly ? "mr-9 ml-3" : "mr-9 ml-3 text-gray-400"
72+
isMonthly ? 'mr-9 ml-3' : 'mr-9 ml-3 text-gray-400'
5773
}
5874
>
5975
Monthly
6076
</div>
61-
<div className={isMonthly && "text-gray-400"}>Yearly</div>
77+
<div className={isMonthly && 'text-gray-400'}>Yearly</div>
6278
</div>
63-
</label>
79+
</label> */}
6480
</div>
65-
<div className="flex flex-wrap flex-col lg:flex-row -mx-4 items-center mt-20">
81+
{/* <div className="flex flex-wrap flex-col lg:flex-row -mx-4 items-center mt-20">
6682
<div className="w-[350px] sm:w-[380px] lg:w-1/3 px-4 mb-8 lg:mb-0">
6783
<div className="p-8 bg-customDarkBg3 rounded-3xl">
6884
<h4 className="mb-2 text-xl font-bold font-heading text-white text-left">
@@ -73,7 +89,7 @@ export const Pricing = () => {
7389
$0
7490
</div>
7591
<div className="text-gray-500">
76-
{isMonthly ? "/ month" : "/ year"}
92+
{isMonthly ? '/ month' : '/ year'}
7793
</div>
7894
</div>
7995
@@ -103,10 +119,10 @@ export const Pricing = () => {
103119
</h4>
104120
<div className="flex justify-start items-end">
105121
<div className="text-4xl sm:text-5xl font-bold text-white text-left mt-4 mr-2">
106-
{isMonthly ? "$19" : "$180"}
122+
{isMonthly ? '$19' : '$180'}
107123
</div>
108124
<div className="text-gray-500">
109-
{isMonthly ? "/ month" : "/ year"}
125+
{isMonthly ? '/ month' : '/ year'}
110126
</div>
111127
</div>
112128
<p className="mt-8 mb-8 2xl:mb-12 text-gray-500 leading-loose text-left">
@@ -135,14 +151,14 @@ export const Pricing = () => {
135151
</h4>
136152
<div className="flex justify-start items-end">
137153
<div className="text-4xl sm:text-5xl font-bold text-white text-left mt-4 mr-2">
138-
{isMonthly ? "$36" : "$390"}
154+
{isMonthly ? '$36' : '$390'}
139155
</div>
140156
<div className="text-gray-500">
141-
{isMonthly ? "/ month" : "/ year"}
157+
{isMonthly ? '/ month' : '/ year'}
142158
</div>
143159
</div>
144160
<p className="mt-4 mb-6 2xl:mb-10 text-gray-500 leading-loose text-left">
145-
Experience the full power of our analytic platform
161+
Experience the full power of our analytic platform
146162
</p>
147163
<ul className="mb-2 2xl:mb-6 text-white">
148164
{pricingData.map((text, index) => (
@@ -160,13 +176,13 @@ export const Pricing = () => {
160176
</div>
161177
</div>
162178
</div>
163-
</div>
179+
</div> */}
164180
</div>
165181
</motion.div>
166182
</div>
167183
{isModalOpen && (
168184
<InvitationModal isOpen={isModalOpen} setIsOpen={setIsModalOpen} />
169185
)}
170186
</section>
171-
);
172-
};
187+
)
188+
}

src/pages/index.astro

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import { Features2 } from "../components/Features2.jsx";
88
import { Features3 } from "../components/Features3.jsx";
99
// import { Testimonials } from "../components/Testimonials.jsx";
1010
import { FeaturesDiagonal } from "../components/FeaturesDiagonal.jsx";
11-
// import { Pricing } from "../components/Pricing.jsx";
11+
import { Pricing } from "../components/Pricing.jsx";
1212
import { FAQ } from "../components/FAQ.jsx";
1313
// import { Brands } from "../components/Brands.jsx";
1414
import { Divider } from "../components/Divider";
@@ -97,8 +97,9 @@ definitions:
9797
<!-- <Testimonials client:load /> -->
9898
<FeaturesDiagonal client:load>
9999
<Code code={projectSchemaYamlFile} lang="yaml" />
100-
</FeaturesDiagonal>
101-
<!-- <Pricing client:load /> -->
100+
</FeaturesDiagonal>
101+
<Pricing client:load />
102+
<Divider />
102103
<!-- <Brands client:load /> -->
103104
<FAQ client:load />
104105
<Footer />

src/styles/Theme.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,6 @@ html {
6161
font-display: var(--fontsource-Inter-font-display, optional);
6262
}
6363

64-
a {
64+
/* a {
6565
@apply underline text-blue-600 hover:text-blue-800 visited:text-purple-600
66-
}
66+
} */

0 commit comments

Comments
 (0)