diff --git a/website/src/app/api/releases/route.ts b/website/src/app/api/releases/route.ts index e66b3385c..f8ec8412a 100644 --- a/website/src/app/api/releases/route.ts +++ b/website/src/app/api/releases/route.ts @@ -1,9 +1,19 @@ import { NextRequest, NextResponse } from "next/server"; import { get } from "@vercel/edge-config"; +// Cache responses +export const dynamic = "force-static"; + +// Revalidate cache every 60 seconds +export const revalidate = 60; + export async function GET(_req: NextRequest) { - const versions = { - portal: await get("deployed_sha"), + return NextResponse.json(versions()); +} + +function versions() { + return { + portal: get("deployed_sha"), // mark:current-apple-version apple: "1.3.6", // mark:current-android-version @@ -15,6 +25,4 @@ export async function GET(_req: NextRequest) { // mark:current-gateway-version gateway: "1.3.2", }; - - return NextResponse.json(versions); } diff --git a/website/src/app/blog/page.tsx b/website/src/app/blog/page.tsx index 02d3cadd6..e7be9cb82 100644 --- a/website/src/app/blog/page.tsx +++ b/website/src/app/blog/page.tsx @@ -12,9 +12,7 @@ export default function Page() {
-

+

Blog

@@ -22,7 +20,7 @@ export default function Page() {

- +
); } diff --git a/website/src/app/changelog/layout.tsx b/website/src/app/changelog/layout.tsx index e27169145..49b06852d 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 d1fca177f..728e4a7b9 100644 --- a/website/src/app/globals.css +++ b/website/src/app/globals.css @@ -2,10 +2,23 @@ @tailwind components; @tailwind utilities; +html { + font-family: var(--font-source-sans-3); +} + +h1, +h2, +h3, +h4, +h5, +h6 { + font-family: var(--font-manrope); +} + @layer components { /* Fix inline headings */ *:is(h1, h2, h3, h4, h5, h6) { - @apply flex items-center gap-1 font-manrope; + @apply flex items-center gap-1; } /* 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 cdd772928..3138d5278 100644 --- a/website/src/app/page.tsx +++ b/website/src/app/page.tsx @@ -55,7 +55,7 @@ export default function Page() {

Upgrade your VPN to zero-trust access @@ -177,7 +177,7 @@ export default function Page() { Flexible security

Runs everywhere your business does @@ -318,9 +318,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 3cd2e31b2..eac706e57 100644 --- a/website/src/app/pricing/_page.tsx +++ b/website/src/app/pricing/_page.tsx @@ -16,7 +16,7 @@ export default function _Page() { return ( <>
-
+
-
+

Starter

diff --git a/website/src/components/BattleCard/index.tsx b/website/src/components/BattleCard/index.tsx index d232dd164..9a763d305 100644 --- a/website/src/components/BattleCard/index.tsx +++ b/website/src/components/BattleCard/index.tsx @@ -9,9 +9,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 7ca54f929..c9c05f6ed 100644 --- a/website/src/components/CustomerTestimonials/index.tsx +++ b/website/src/components/CustomerTestimonials/index.tsx @@ -75,9 +75,7 @@ const TestimonialBox = ({ }: TestimonialBoxProps) => { return (
- +

-

+

Customers{" "} {" "} us, diff --git a/website/src/components/ElevatorPitch/index.tsx b/website/src/components/ElevatorPitch/index.tsx index a3216233c..1b6975cd4 100644 --- a/website/src/components/ElevatorPitch/index.tsx +++ b/website/src/components/ElevatorPitch/index.tsx @@ -91,9 +91,7 @@ export default function ElevatorPitch() {
Stay Connected
-

+

Eliminate ACL hell

diff --git a/website/src/components/FeatureCards/index.tsx b/website/src/components/FeatureCards/index.tsx index 6ceec9ab6..9e1f78fe5 100644 --- a/website/src/components/FeatureCards/index.tsx +++ b/website/src/components/FeatureCards/index.tsx @@ -13,9 +13,7 @@ export default function FeatureCards() {
Built for you
-

+

Simplify access management with WireGuard.

@@ -45,9 +43,7 @@ export default function FeatureCards() {
-

+

Flexible

@@ -64,9 +60,7 @@ export default function FeatureCards() {

-

+

Secure

@@ -86,9 +80,7 @@ export default function FeatureCards() { className="w-6 h-6 lg:w-7 lg:h-7" />

-

+

Granular

diff --git a/website/src/components/FeatureSection/index.tsx b/website/src/components/FeatureSection/index.tsx index c73a6253c..5160349a7 100644 --- a/website/src/components/FeatureSection/index.tsx +++ b/website/src/components/FeatureSection/index.tsx @@ -18,9 +18,7 @@ export default function FeatureSection({

{titleCaption}
-

+

{title}

{description} diff --git a/website/src/components/Footer/index.tsx b/website/src/components/Footer/index.tsx index db575f146..773fc4838 100644 --- a/website/src/components/Footer/index.tsx +++ b/website/src/components/Footer/index.tsx @@ -19,9 +19,7 @@ export default function Footer() { return (