From cc442bfebf9dca69f220cba69acd63e3cde38065 Mon Sep 17 00:00:00 2001 From: Patti <139997703+Patticatti@users.noreply.github.com> Date: Tue, 3 Sep 2024 17:40:40 -0700 Subject: [PATCH] fix(website): New subscription cards style (#6549) Signed-off-by: Patti <139997703+Patticatti@users.noreply.github.com> --- website/src/app/blog/page.tsx | 8 +- website/src/app/changelog/layout.tsx | 2 +- website/src/app/globals.css | 2 +- website/src/app/page.tsx | 12 +- website/src/app/pricing/_page.tsx | 266 +++++++++++------- website/src/app/pricing/layout.tsx | 10 +- website/src/app/support/layout.tsx | 8 +- website/src/components/BattleCard/index.tsx | 3 +- .../components/CustomerTestimonials/index.tsx | 3 +- .../src/components/ElevatorPitch/index.tsx | 3 +- website/src/components/FeatureCards/index.tsx | 9 +- .../src/components/FeatureSection/index.tsx | 4 +- website/src/components/Footer/index.tsx | 3 +- website/src/components/RootLayout/index.tsx | 23 +- .../src/components/SingleFeature/index.tsx | 3 +- website/src/components/UseCaseCards/index.tsx | 5 +- website/src/lib/fonts.ts | 12 - website/tailwind.config.js | 10 + 18 files changed, 222 insertions(+), 164 deletions(-) delete mode 100644 website/src/lib/fonts.ts diff --git a/website/src/app/blog/page.tsx b/website/src/app/blog/page.tsx index 2f7b0a70a..1ce654557 100644 --- a/website/src/app/blog/page.tsx +++ b/website/src/app/blog/page.tsx @@ -14,11 +14,13 @@ export default function Page() { return (
-
-

+
+

Blog

-

+

Announcements, how-tos, and more from the Firezone team.

diff --git a/website/src/app/changelog/layout.tsx b/website/src/app/changelog/layout.tsx index 49b06852d..e27169145 100644 --- a/website/src/app/changelog/layout.tsx +++ b/website/src/app/changelog/layout.tsx @@ -14,7 +14,7 @@ export default function Layout({ children }: { children: React.ReactNode }) {

-

+

Changelog

diff --git a/website/src/app/globals.css b/website/src/app/globals.css index d40f7fae7..dffa62149 100644 --- a/website/src/app/globals.css +++ b/website/src/app/globals.css @@ -5,7 +5,7 @@ @layer components { /* Fix inline headings */ *:is(h1, h2, h3, h4, h5, h6) { - @apply flex items-center gap-1; + @apply flex items-center gap-1 font-manrope; } /* Fix anchor slug links and scroll position due to fixed navbar */ diff --git a/website/src/app/page.tsx b/website/src/app/page.tsx index 9c4f308c2..c071ed064 100644 --- a/website/src/app/page.tsx +++ b/website/src/app/page.tsx @@ -22,7 +22,6 @@ import { FadeIn, } from "@/components/Animations"; import ElevatorPitch from "@/components/ElevatorPitch"; -import { manrope } from "@/lib/fonts"; import "@/styles/hero.css"; import CustomerTestimonials from "@/components/CustomerTestimonials"; import FeatureCards from "@/components/FeatureCards"; @@ -42,17 +41,16 @@ export default function Page() {

Upgrade your VPN to zero-trust access

-

+

Firezone is a fast, flexible VPN replacement built on WireGuard® that protects your most valuable resources without tedious configuration. -

+

Runs everywhere your business does @@ -306,7 +304,7 @@ export default function Page() { Open source

Open source for transparency and trust diff --git a/website/src/app/pricing/_page.tsx b/website/src/app/pricing/_page.tsx index 19b603431..99635b1f3 100644 --- a/website/src/app/pricing/_page.tsx +++ b/website/src/app/pricing/_page.tsx @@ -7,6 +7,7 @@ import Link from "next/link"; import PlanTable from "./plan_table"; import { useState } from "react"; import { Accordion } from "flowbite-react"; +import { FaCheck, FaCircleCheck } from "react-icons/fa6"; export default function _Page() { let [annual, setAnnual] = useState(true); @@ -14,104 +15,119 @@ export default function _Page() { return ( <> -
-
- - Monthly - - - - Annual - - {" "} - (Save 17%) +
+
+
+ + Monthly - + + + Annual + + Save 17% + + +
-
-
-

+ +
+
+

Starter

-

- Secure remote access for individuals and small groups -

-

+

Free

-
+

+ Secure remote access for individuals and small groups. +

+
-
    +

    + No credit card required. +

    +
    • - - + + Up to 6 users
    • - - + + Access your homelab or VPC from anywhere
    • - - + + Native clients for Windows, Linux, macOS, iOS, Android
    • - - + + Authenticate via email or OpenID Connect (OIDC)
    • - - + + Load balancing and automatic failover
    • - - + + No firewall configuration required
    • - - + + Community Support
-
-

+
+

Team

-

- Zero trust network access for teams and organizations -

-

+ +

{annual && ( <> $5 @@ -120,144 +136,184 @@ export default function _Page() { )} {!annual && $5} - + {" "} - per user / month + per user/month

-
+

+ Zero trust network access for teams and organizations +

+
-

- Everything in Starter, plus: +

{ + setAnnual(true); + }} + > + Save 17% by switching to annual

-
    + +
    • - - + + + Everything in Starter + +
    • +
      +
      +

      plus

      +
      +
      +
    • + + Up to 100 users
    • - - + + Resource access logs
    • - - + + Port and protocol traffic restrictions
    • - - + + Conditional access policies
    • - - + + Customize your account slug
    • - - + + Faster relay network
    • - - + + Priority email support
-
-
-

+
+
+

Enterprise

- + 30-day trial
-

- Compliance-ready security for large organizations -

-

+

Contact us

-
+

+ Compliance-ready security for large organizations +

+
-

- Everything in Team, plus: -

-
    + +
    • - - Unlimited users + + + Everything in Starter and Team + +
    • +
      +
      +

      plus

      +
      +
      +
    • + + + Unlimited users +
    • - + + + Unthrottled relay network + +
    • +
    • + Directory sync for Google, Entra ID, Okta, and JumpCloud
    • - - - - Unthrottled - {" "} - relay network - -
    • -
    • - + Dedicated Slack support channel
    • - + Uptime SLAs
    • - + 40-hour pentest & SOC 2 reports
    • - + Roadmap acceleration
    • - + White-glove onboarding
    • - + Annual invoicing
    diff --git a/website/src/app/pricing/layout.tsx b/website/src/app/pricing/layout.tsx index 1f412388a..41c760eb5 100644 --- a/website/src/app/pricing/layout.tsx +++ b/website/src/app/pricing/layout.tsx @@ -12,12 +12,14 @@ export default function Layout({ children }: { children: React.ReactNode }) { className="py-12 mx-auto" />
-
-
-

+
+
+

Plans & Pricing

-

+

Pick a plan that best suits your needs. No credit card required to sign up.

diff --git a/website/src/app/support/layout.tsx b/website/src/app/support/layout.tsx index 0e1ee813b..23748ecdb 100644 --- a/website/src/app/support/layout.tsx +++ b/website/src/app/support/layout.tsx @@ -13,11 +13,13 @@ export default function Layout({ children }: { children: React.ReactNode }) { />
-
-

+
+

Support

-

+

Need help? We've got you covered. See our support options below.

diff --git a/website/src/components/BattleCard/index.tsx b/website/src/components/BattleCard/index.tsx index 2a9d7bb60..d232dd164 100644 --- a/website/src/components/BattleCard/index.tsx +++ b/website/src/components/BattleCard/index.tsx @@ -1,7 +1,6 @@ import Link from "next/link"; import Image from "next/image"; import { HiArrowLongRight, HiCheck, HiXMark } from "react-icons/hi2"; -import { manrope } from "@/lib/fonts"; export default function BattleCard2() { return ( @@ -11,7 +10,7 @@ export default function BattleCard2() { Compare

More features for less diff --git a/website/src/components/CustomerTestimonials/index.tsx b/website/src/components/CustomerTestimonials/index.tsx index 032f11afe..7ca54f929 100644 --- a/website/src/components/CustomerTestimonials/index.tsx +++ b/website/src/components/CustomerTestimonials/index.tsx @@ -6,7 +6,6 @@ import Link from "next/link"; import { FaQuoteLeft } from "react-icons/fa"; import { HiArrowLeft, HiArrowRight } from "react-icons/hi2"; import { FaHeart } from "react-icons/fa"; -import { manrope } from "@/lib/fonts"; import ActionLink from "@/components/ActionLink"; import { Route } from "next"; @@ -119,7 +118,7 @@ export default function CustomerTestimonials() {

Customers{" "} {" "} diff --git a/website/src/components/ElevatorPitch/index.tsx b/website/src/components/ElevatorPitch/index.tsx index c66c1e5dd..746791958 100644 --- a/website/src/components/ElevatorPitch/index.tsx +++ b/website/src/components/ElevatorPitch/index.tsx @@ -7,7 +7,6 @@ import { } from "react-icons/hi2"; import { HiLightningBolt } from "react-icons/hi"; import { FaBookOpen } from "react-icons/fa"; -import { manrope } from "@/lib/fonts"; import Image from "next/image"; import { SlideIn } from "@/components/Animations"; @@ -91,7 +90,7 @@ export default function ElevatorPitch() { Stay Connected

Supercharge your workforce in minutes. diff --git a/website/src/components/FeatureCards/index.tsx b/website/src/components/FeatureCards/index.tsx index 6d5bcd195..6ceec9ab6 100644 --- a/website/src/components/FeatureCards/index.tsx +++ b/website/src/components/FeatureCards/index.tsx @@ -3,7 +3,6 @@ import { useState } from "react"; import { HiCloud, HiMiniPuzzlePiece, HiLockClosed } from "react-icons/hi2"; import { SlideIn } from "@/components/Animations"; -import { manrope } from "@/lib/fonts"; import ActionLink from "../ActionLink"; export default function FeatureCards() { @@ -15,7 +14,7 @@ export default function FeatureCards() { Built for you

Simplify access management with WireGuard. @@ -47,7 +46,7 @@ export default function FeatureCards() {

Flexible

@@ -66,7 +65,7 @@ export default function FeatureCards() {

Secure

@@ -88,7 +87,7 @@ export default function FeatureCards() { />

Granular

diff --git a/website/src/components/FeatureSection/index.tsx b/website/src/components/FeatureSection/index.tsx index dddb9b992..c73a6253c 100644 --- a/website/src/components/FeatureSection/index.tsx +++ b/website/src/components/FeatureSection/index.tsx @@ -1,5 +1,3 @@ -import { manrope } from "@/lib/fonts"; - export default function FeatureSection({ reverse = false, title, @@ -21,7 +19,7 @@ export default function FeatureSection({ {titleCaption}

{title}

diff --git a/website/src/components/Footer/index.tsx b/website/src/components/Footer/index.tsx index 79a9956a9..db575f146 100644 --- a/website/src/components/Footer/index.tsx +++ b/website/src/components/Footer/index.tsx @@ -14,14 +14,13 @@ import { LinuxIcon, AndroidIcon, } from "@/components/Icons"; -import { manrope } from "@/lib/fonts"; export default function Footer() { return (