From 52b773379e880083be3b32438d290d6ce330b82c Mon Sep 17 00:00:00 2001 From: Baptiste Arnaud Date: Thu, 17 Mar 2022 14:37:00 +0100 Subject: [PATCH] =?UTF-8?q?docs(lp):=20=F0=9F=92=84=20Small=20visual=20fix?= =?UTF-8?q?es?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/landing-page/assets/style.css | 10 ++ .../Homepage/EasyBuildingExperience.tsx | 2 +- .../components/Homepage/EasyEmbed.tsx | 2 +- .../Homepage/Hero/BackgroundPolygons.tsx | 4 +- .../components/Homepage/Hero/Hero.tsx | 20 +--- .../components/Homepage/Integrations.tsx | 4 +- .../components/Homepage/RealTimeResults.tsx | 1 + .../Homepage/Testimonials/Testimonials.tsx | 4 +- .../PricingPage/PricingCard/Card.tsx | 3 +- .../PricingPage/PricingCard/index.tsx | 77 ++++++------ apps/landing-page/pages/_document.tsx | 2 +- apps/landing-page/pages/pricing.tsx | 113 +++++++++++++++--- 12 files changed, 159 insertions(+), 83 deletions(-) diff --git a/apps/landing-page/assets/style.css b/apps/landing-page/assets/style.css index 4d9b51fb9..c6fe4740e 100644 --- a/apps/landing-page/assets/style.css +++ b/apps/landing-page/assets/style.css @@ -25,9 +25,19 @@ .animation-delay-2000 { animation-delay: 2s; } + +.animation-delay-2000 { + animation-delay: 2s; +} +.animation-delay-3000 { + animation-delay: 3s; +} .animation-delay-4000 { animation-delay: 4s; } +.animation-delay-5000 { + animation-delay: 5s; +} @keyframes blob { 0% { diff --git a/apps/landing-page/components/Homepage/EasyBuildingExperience.tsx b/apps/landing-page/components/Homepage/EasyBuildingExperience.tsx index 80b6f8d3a..0f37f9cc9 100644 --- a/apps/landing-page/components/Homepage/EasyBuildingExperience.tsx +++ b/apps/landing-page/components/Homepage/EasyBuildingExperience.tsx @@ -27,7 +27,7 @@ export const EasyBuildingExperience = () => { justifyContent="space-between" alignItems="center" > - + Easy building experience diff --git a/apps/landing-page/components/Homepage/EasyEmbed.tsx b/apps/landing-page/components/Homepage/EasyEmbed.tsx index ecc295d7c..28e4215e9 100644 --- a/apps/landing-page/components/Homepage/EasyEmbed.tsx +++ b/apps/landing-page/components/Homepage/EasyEmbed.tsx @@ -27,7 +27,7 @@ export const EasyEmbed = () => { justifyContent="space-between" alignItems="center" > - + Embed it in a click diff --git a/apps/landing-page/components/Homepage/Hero/BackgroundPolygons.tsx b/apps/landing-page/components/Homepage/Hero/BackgroundPolygons.tsx index ddc724116..4e0b95a97 100644 --- a/apps/landing-page/components/Homepage/Hero/BackgroundPolygons.tsx +++ b/apps/landing-page/components/Homepage/Hero/BackgroundPolygons.tsx @@ -6,7 +6,7 @@ export const BackgroundPolygons = () => { <> { { return ( @@ -62,23 +61,10 @@ export const Hero = () => { > Create a typebot - - No trial. Generous, unlimited free plan. + Generous, unlimited free plan. @@ -90,7 +76,7 @@ export const Hero = () => { rounded="full" filter="blur(40px)" opacity="0.7" - className="animated-blob animation-delay-2000" + className="animated-blob" data-aos="fade" data-aos-delay="1200" /> @@ -102,7 +88,7 @@ export const Hero = () => { rounded="full" filter="blur(40px)" opacity="0.7" - className="animated-blob animation-delay-4000" + className="animated-blob animation-delay-5000" data-aos="fade" data-aos-delay="1200" /> diff --git a/apps/landing-page/components/Homepage/Integrations.tsx b/apps/landing-page/components/Homepage/Integrations.tsx index c9a367c95..455a7f35d 100644 --- a/apps/landing-page/components/Homepage/Integrations.tsx +++ b/apps/landing-page/components/Homepage/Integrations.tsx @@ -74,7 +74,7 @@ export const Integrations = () => ( align="center" borderWidth="1px" data-aos="fade" - data-aos-delay={idx * 100} + data-aos-delay={idx * 200} > @@ -94,7 +94,7 @@ export const Integrations = () => ( align="center" borderWidth="1px" data-aos="fade" - data-aos-delay={(secondRowIcons.length - idx) * 100} + data-aos-delay={(secondRowIcons.length - idx) * 200} > diff --git a/apps/landing-page/components/Homepage/RealTimeResults.tsx b/apps/landing-page/components/Homepage/RealTimeResults.tsx index 6642b2613..3c51813b9 100644 --- a/apps/landing-page/components/Homepage/RealTimeResults.tsx +++ b/apps/landing-page/components/Homepage/RealTimeResults.tsx @@ -109,6 +109,7 @@ export const RealTimeResults = () => { borderRadius: '0.5rem', border: 'none', backgroundColor: 'white', + pointerEvents: 'none', }} /> diff --git a/apps/landing-page/components/Homepage/Testimonials/Testimonials.tsx b/apps/landing-page/components/Homepage/Testimonials/Testimonials.tsx index c9cb88095..d097244c5 100755 --- a/apps/landing-page/components/Homepage/Testimonials/Testimonials.tsx +++ b/apps/landing-page/components/Homepage/Testimonials/Testimonials.tsx @@ -30,7 +30,7 @@ export const Testimonials = () => { on my marketing campaigns. I noticed the improvement on day one. That was a game-changer. - { I am really loving using Typebot! I have used so many bot builders (ActiveChat, Botstar, Uchat, Monkeybot) and Typebot is definitely the most user-friendly, and yet still powerful. - + */} { bg={useColorModeValue('white', 'gray.700')} position="relative" px="6" - pb="6" - pt="16" + py="6" overflow="hidden" shadow="lg" maxW="md" diff --git a/apps/landing-page/components/PricingPage/PricingCard/index.tsx b/apps/landing-page/components/PricingPage/PricingCard/index.tsx index 790a237b2..0cd0b04dd 100644 --- a/apps/landing-page/components/PricingPage/PricingCard/index.tsx +++ b/apps/landing-page/components/PricingPage/PricingCard/index.tsx @@ -31,43 +31,48 @@ export const PricingCard = (props: PricingCardProps) => { return ( - - {icon} - - {name} - - - - - {price} - - {(price.includes('$') || price.includes('€')) && ( - - / mo - - )} + + + + {icon} + + {name} + + + + + {price} + + {(price.includes('$') || price.includes('€')) && ( + + / month + + )} + + + {features.map((feature, index) => ( + + + {feature} + + ))} + + + + {button} - - {features.map((feature, index) => ( - - - {feature} - - ))} - - {button} ) } diff --git a/apps/landing-page/pages/_document.tsx b/apps/landing-page/pages/_document.tsx index bafa31391..1dabc22bb 100644 --- a/apps/landing-page/pages/_document.tsx +++ b/apps/landing-page/pages/_document.tsx @@ -21,7 +21,7 @@ class MyDocument extends Document { - +
diff --git a/apps/landing-page/pages/pricing.tsx b/apps/landing-page/pages/pricing.tsx index 82932a321..2ff6d0491 100644 --- a/apps/landing-page/pages/pricing.tsx +++ b/apps/landing-page/pages/pricing.tsx @@ -1,5 +1,14 @@ -import { VStack } from '@chakra-ui/layout' -import { DarkMode, Flex, Stack } from '@chakra-ui/react' +import { Box, Heading, VStack } from '@chakra-ui/layout' +import { + Accordion, + AccordionButton, + AccordionIcon, + AccordionItem, + AccordionPanel, + DarkMode, + Flex, + Stack, +} from '@chakra-ui/react' import { Footer } from 'components/common/Footer' import { Navbar } from 'components/common/Navbar/Navbar' import { NextChakraLink } from 'components/common/nextChakraAdapters/NextChakraLink' @@ -28,19 +37,6 @@ const Pricing = () => { pb={40} > - - - - - @@ -49,7 +45,7 @@ const Pricing = () => { { features: [ 'Unlimited typebots', 'Unlimited responses', - 'Custom JS / CSS', - 'Native integrations (Google Sheets, Webhooks, Zapier...)', - 'Basic analytics (Sessions, time, completion...)', + 'Native integrations', + 'Webhooks', + 'Custom Javascript & CSS', ], }} button={ @@ -105,6 +101,10 @@ const Pricing = () => { } /> + + Frequently asked questions + +