From 0b5983f2cd67a16fa83e24894a194f93f53af938 Mon Sep 17 00:00:00 2001 From: AykutSarac Date: Sat, 4 May 2024 20:55:07 +0300 Subject: [PATCH] feat: add free trial --- .../Views/GraphView/PremiumView.tsx | 10 ++++----- src/pages/index.tsx | 4 +++- src/pages/pricing.tsx | 21 +++++++++++-------- 3 files changed, 20 insertions(+), 15 deletions(-) diff --git a/src/containers/Views/GraphView/PremiumView.tsx b/src/containers/Views/GraphView/PremiumView.tsx index 49a72ff..91bea95 100644 --- a/src/containers/Views/GraphView/PremiumView.tsx +++ b/src/containers/Views/GraphView/PremiumView.tsx @@ -161,8 +161,8 @@ export const PremiumView = () => ( - Free version is not optimized to handle data of this size. Check out the premium version for - more features and capabilities. + Free version is not optimized to handle data of this size. Try the premium version for more + features and capabilities. diff --git a/src/pages/index.tsx b/src/pages/index.tsx index 6e96359..4eafd6c 100644 --- a/src/pages/index.tsx +++ b/src/pages/index.tsx @@ -238,6 +238,7 @@ export const HomePage = () => { visibleFrom="sm" radius="xl" mt="lg" + autoContrast > Go to Editor @@ -247,11 +248,12 @@ export const HomePage = () => { href="/editor" fw="bold" size="md" - color="indigo" + color="orange" rightSection={} hiddenFrom="sm" radius="xl" mt="lg" + autoContrast > Go to Editor diff --git a/src/pages/pricing.tsx b/src/pages/pricing.tsx index f286180..3d42976 100644 --- a/src/pages/pricing.tsx +++ b/src/pages/pricing.tsx @@ -1,5 +1,6 @@ import React from "react"; import Head from "next/head"; +import Link from "next/link"; import { Flex, Stack, @@ -28,7 +29,7 @@ const StyledPaperFree = styled(Paper)` padding: 1.5em; width: 400px; border-radius: 1em; - border: 2px solid #e9e9e9; + border: 3px solid #e9e9e9; `; const StyledPaper = styled(Paper)` @@ -38,7 +39,7 @@ const StyledPaper = styled(Paper)` linear-gradient(white, white) padding-box, linear-gradient(#ec85f5, #fb7eb0 28%, #fc9f96 53%, #ffbc88 78%, #ffc86a) border-box; border-radius: 1em; - border: 2px solid transparent; + border: 3px solid transparent; `; export const PricingCards = () => { @@ -85,16 +86,18 @@ export const PricingCards = () => { @@ -162,13 +165,13 @@ export const PricingCards = () => { href={paymentURL(isMonthly ? purchaseLinks.monthly : purchaseLinks.annual)} target="_blank" size="lg" - radius="md" - color="indigo" + radius="xl" + color="green" fullWidth my="md" rightSection={} > - Get Started + Start 3 Days Free Trial