From 12983316f5971795b9356c18d34ba2336fa4f465 Mon Sep 17 00:00:00 2001 From: m5r Date: Sat, 25 Sep 2021 07:08:29 +0800 Subject: [PATCH] public pages smol tings --- app/public-area/components/layout.tsx | 2 +- app/public-area/pages/pricing.tsx | 12 +++++++----- tailwind.config.js | 1 + 3 files changed, 9 insertions(+), 6 deletions(-) diff --git a/app/public-area/components/layout.tsx b/app/public-area/components/layout.tsx index 25c3271..680402a 100644 --- a/app/public-area/components/layout.tsx +++ b/app/public-area/components/layout.tsx @@ -12,7 +12,7 @@ const Layout: FunctionComponent = ({ children, title }) => (
{title ? (
-

{title}

+

{title}

) : null} diff --git a/app/public-area/pages/pricing.tsx b/app/public-area/pages/pricing.tsx index 6ed3835..6cef409 100644 --- a/app/public-area/pages/pricing.tsx +++ b/app/public-area/pages/pricing.tsx @@ -2,6 +2,7 @@ import type { BlitzPage } from "blitz"; import { Link, Routes } from "blitz"; import { HiCheck, HiX } from "react-icons/hi"; import clsx from "clsx"; +import * as Panelbear from "@panelbear/panelbear-js"; import BaseLayout from "../components/base-layout"; @@ -29,7 +30,7 @@ const pricing = { }, { title: "Yearly", - price: 10, + price: 12.5, frequency: "/month", description: "Text and call anyone, anywhere in the world, all year long.", features: paidFeatures, @@ -54,7 +55,7 @@ const Pricing: BlitzPage = () => { return (
-

+

Simple no-tricks pricing

@@ -68,18 +69,18 @@ const Pricing: BlitzPage = () => { className="relative p-8 bg-white border border-gray-200 rounded-2xl shadow-sm flex flex-col" >

-

{tier.title}

+

{tier.title}

{tier.yearly ? (

Get 2 months free!

) : null}

- {tier.price}€ + {tier.price}€ {tier.frequency}

{tier.yearly ? ( -

Billed yearly ({tier.price * 10}€)

+

Billed yearly ({tier.price * 12}€)

) : null}

{tier.description}

@@ -108,6 +109,7 @@ const Pricing: BlitzPage = () => { Panelbear.track("redirect-to-join-waitlist")} className={clsx( tier.yearly ? "bg-primary-500 text-white hover:bg-primary-600" diff --git a/tailwind.config.js b/tailwind.config.js index 84c074b..c1b85ca 100644 --- a/tailwind.config.js +++ b/tailwind.config.js @@ -82,6 +82,7 @@ module.exports = { 800: "#97266D", 900: "#702459", }, + navy: "#24185B", }, boxShadow: { "2xl": "0 25px 50px -12px rgba(0, 0, 0, 0.08)",