diff --git a/CHANGELOG.md b/CHANGELOG.md index 6a5e06f..2e0b3a4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +### Changed +- **Homepage**: the full pricing section and comparison table are replaced by a short pricing summary linking to `/pricing`, and an Explore section linking to receiving, the SMTP relay, the free tools, open source, security and the comparison + --- ## [0.9.2] - 2026-10-21 diff --git a/apps/web/src/app/(marketing)/page.tsx b/apps/web/src/app/(marketing)/page.tsx index 660ddf2..0e1ef54 100644 --- a/apps/web/src/app/(marketing)/page.tsx +++ b/apps/web/src/app/(marketing)/page.tsx @@ -1,8 +1,8 @@ import { redirect } from "next/navigation"; import { CallToAction } from "~/components/marketing/CallToAction"; -import { ComparisonTable } from "~/components/marketing/Comparison"; +import { ExploreSection } from "~/components/marketing/ExploreSection"; import { TrustStrip } from "~/components/marketing/TrustStrip"; -import { Pricing } from "~/components/marketing/PricingSection"; +import { PricingTeaser } from "~/components/marketing/PricingTeaser"; import { DevSection } from "~/components/marketing/DevSection"; import { Features } from "~/components/marketing/Features"; import { Hero } from "~/components/marketing/Hero"; @@ -22,8 +22,8 @@ export default function Page() { - - + + ); diff --git a/apps/web/src/app/(marketing)/pricing/page.tsx b/apps/web/src/app/(marketing)/pricing/page.tsx index d737b6e..468a560 100644 --- a/apps/web/src/app/(marketing)/pricing/page.tsx +++ b/apps/web/src/app/(marketing)/pricing/page.tsx @@ -138,7 +138,7 @@ export default function PricingPage() { return (
- +
diff --git a/apps/web/src/components/marketing/Comparison.tsx b/apps/web/src/components/marketing/Comparison.tsx index 475b189..55f37aa 100644 --- a/apps/web/src/components/marketing/Comparison.tsx +++ b/apps/web/src/components/marketing/Comparison.tsx @@ -1,11 +1,8 @@ "use client"; import React from "react"; -import Link from "next/link"; import { Check, Minus } from "lucide-react"; -import { Button } from "@bytesend/ui/src/button"; import { Reveal } from "./Reveal"; -import { Section, SectionHeader } from "./Section"; // Competitor details as published on their pricing and docs pages; re-check before changing claims. export const COMPARISON_CHECKED = "October 2026"; @@ -25,33 +22,6 @@ export const comparisonRows: { feature: string; bs: string | boolean; resend: st { feature: "Open source", bs: true, resend: false, sendgrid: false, postmark: false, ses: false }, ]; -const APP_URL = "/signup"; - -export function ComparisonTable() { - return ( -
- - - - -
- -

- - See the full comparison - -

-
-
- ); -} - export function ComparisonGrid() { const cols = ["ByteSend", "Resend", "SendGrid", "Postmark", "AWS SES"] as const; const vals = (row: (typeof comparisonRows)[0]) => [row.bs, row.resend, row.sendgrid, row.postmark, row.ses] as (string | boolean)[]; @@ -104,4 +74,4 @@ function CompCell({ val }: { val: string | boolean }) { return {val}; } -export default ComparisonTable; +export default ComparisonGrid; diff --git a/apps/web/src/components/marketing/ExploreSection.tsx b/apps/web/src/components/marketing/ExploreSection.tsx new file mode 100644 index 0000000..a7ab7a6 --- /dev/null +++ b/apps/web/src/components/marketing/ExploreSection.tsx @@ -0,0 +1,70 @@ +import Link from "next/link"; +import { ArrowRight, GitBranch, Inbox, Lock, Scale, ServerCog, Wrench } from "lucide-react"; +import { Reveal } from "./Reveal"; +import { Section, SectionHeader } from "./Section"; + +const LINKS = [ + { + href: "/receiving", + icon: Inbox, + title: "Receive email too", + text: "Give your app an address and get every message as a webhook, through the API, in an inbox, or forwarded on.", + }, + { + href: "/smtp", + icon: ServerCog, + title: "SMTP relay", + text: "Point WordPress, Laravel, Django or any SMTP app at ByteSend by changing one setting.", + }, + { + href: "/tools", + icon: Wrench, + title: "Free email tools", + text: "Check any domain's DMARC, SPF and DKIM in seconds, with plain-language results.", + }, + { + href: "/open-source", + icon: GitBranch, + title: "Open source", + text: "Read every line, or run the same code on your own servers with your own Amazon SES account.", + }, + { + href: "/security", + icon: Lock, + title: "Security", + text: "How your account, email and data are protected, and who helps us process it.", + }, + { + href: "/compare", + icon: Scale, + title: "How we compare", + text: "ByteSend next to Resend, SendGrid, Postmark and Amazon SES, and when each is the better fit.", + }, +]; + +export function ExploreSection() { + return ( +
+ +
+ {LINKS.map((link, index) => ( + + + +

+ {link.title} + +

+

{link.text}

+ +
+ ))} +
+
+ ); +} + +export default ExploreSection; diff --git a/apps/web/src/components/marketing/PricingSection.tsx b/apps/web/src/components/marketing/PricingSection.tsx index 8d09d01..2c475df 100644 --- a/apps/web/src/components/marketing/PricingSection.tsx +++ b/apps/web/src/components/marketing/PricingSection.tsx @@ -43,7 +43,7 @@ function highlights(plan: PlanType) { return items; } -export function Pricing({ showDetailsLink = true }: { showDetailsLink?: boolean } = {}) { +export function Pricing() { const [currency, setCurrency] = React.useState("usd"); return ( @@ -125,13 +125,6 @@ export function Pricing({ showDetailsLink = true }: { showDetailsLink?: boolean Prices exclude VAT and sales tax, which are added at checkout where they apply. Every plan includes the API, SMTP relay, SDKs, webhooks, templates and marketing email.

- {showDetailsLink ? ( -

- - Compare every plan limit and read the pricing FAQ - -

- ) : null}
diff --git a/apps/web/src/components/marketing/PricingTeaser.tsx b/apps/web/src/components/marketing/PricingTeaser.tsx new file mode 100644 index 0000000..2174be2 --- /dev/null +++ b/apps/web/src/components/marketing/PricingTeaser.tsx @@ -0,0 +1,55 @@ +import Link from "next/link"; +import { ArrowRight } from "lucide-react"; +import { PLANS, SOLD_PAID_PLANS, type PlanType } from "@bytesend/lib"; +import { Button } from "@bytesend/ui/src/button"; +import { Reveal } from "./Reveal"; +import { HairlineGrid, Section, SectionHeader } from "./Section"; + +const PLAN_ORDER: PlanType[] = ["FREE", ...SOLD_PAID_PLANS]; +const number = new Intl.NumberFormat("en-US", { notation: "compact", maximumFractionDigits: 1 }); +const lowestRate = Math.min(...SOLD_PAID_PLANS.map((plan) => PLANS[plan].usageMetering?.transactional ?? Number.POSITIVE_INFINITY)) * 1000; + +export function PricingTeaser() { + return ( +
+ + + + + {PLAN_ORDER.map((plan) => { + const tier = PLANS[plan]; + return ( +
+

{tier.displayName}

+

+ {tier.monthlyPrice === 0 ? "Free" : `$${tier.monthlyPrice / 100}`} + {tier.monthlyPrice > 0 ? / month : null} +

+

{number.format(tier.limits.monthlyEmailLimit)} emails a month

+

{number.format(tier.limits.inboundEmailsPerMonth)} received

+
+ ); + })} +
+
+ +
+ + +
+
+ ); +} + +export default PricingTeaser;