Skip to content

The only tool you need to know what is happening and how to fix it.

update

ddux3e9334810c96
diff --git a/frontend/package-lock.json b/frontend/package-lock.json
index f990a8a6..c6e628ea 100644
--- a/frontend/package-lock.json
+++ b/frontend/package-lock.json
@@ -1,12 +1,12 @@
{
"name": "frontend",
- "version": "1.0.2",
+ "version": "1.0.3",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "frontend",
- "version": "1.0.2",
+ "version": "1.0.3",
"dependencies": {
"@sveltejs/svelte-json-tree": "^2.2.1",
"lucide-svelte": "^0.562.0",
diff --git a/frontend/package.json b/frontend/package.json
index 1575d1d2..b159e4fa 100644
--- a/frontend/package.json
+++ b/frontend/package.json
@@ -1,7 +1,7 @@
{
"name": "frontend",
"private": true,
- "version": "1.0.2",
+ "version": "1.0.3",
"type": "module",
"scripts": {
"dev": "vite dev",
diff --git a/scripts/build-and-bundle-frontend.sh b/scripts/build-and-bundle-frontend.sh
index 6c18fa92..e324bfdf 100755
--- a/scripts/build-and-bundle-frontend.sh
+++ b/scripts/build-and-bundle-frontend.sh
@@ -39,6 +39,15 @@ if [[ "$CLOUD_MODE_INPUT" =~ ^[Yy]$ ]]; then
echo "CLOUD_MODE enabled"
fi
+# Ask for Turnstile site key
+read -p "Enter Cloudflare Turnstile site key or leave empty to disable captcha: " TURNSTILE_SITE_KEY_INPUT
+if [ -n "$TURNSTILE_SITE_KEY_INPUT" ]; then
+ export PUBLIC_TURNSTILE_SITE_KEY="$TURNSTILE_SITE_KEY_INPUT"
+ echo "Turnstile captcha enabled"
+else
+ echo "Building without Turnstile captcha"
+fi
+
# Build frontend
npm install
npm run build
diff --git a/website/app/cloud/page.tsx b/website/app/cloud/page.tsx
new file mode 100644
index 00000000..1f9ed43f
--- /dev/null
+++ b/website/app/cloud/page.tsx
@@ -0,0 +1,96 @@
+import { PricingCalculator } from "@/components/pricing-calculator";
+import Link from "next/link";
+import { Button } from "@/components/ui/button";
+import { ArrowRight } from "lucide-react";
+import { Accordion, AccordionContent, AccordionItem, AccordionTrigger } from "@/components/ui/accordion";
+import { Badge } from "@/components/ui/badge";
+
+export default function CloudPage() {
+ return (
+ <main className="min-h-screen bg-white text-zinc-950 font-sans selection:bg-zinc-100 selection:text-zinc-900">
+ {/* Hero Section */}
+ <section className="relative pt-16 pb-20 overflow-hidden">
+ <div className="absolute inset-0 -z-10 h-full w-full bg-white bg-[radial-gradient(#e5e7eb_1px,transparent_1px)] [background-size:16px_16px] [mask-image:radial-gradient(ellipse_50%_50%_at_50%_50%,#000_70%,transparent_100%)]"></div>
+ <div className="container mx-auto px-4 text-center">
+ <Badge variant="secondary" className="mb-4 bg-blue-50 text-blue-700 hover:bg-blue-100 px-2.5 py-0.5 border border-blue-100 text-xs font-normal rounded-full">
+ Traceway Cloud
+ </Badge>
+ <h1 className="text-4xl md:text-6xl font-bold tracking-tight mb-6 text-zinc-900">
+ Managed Traceway <span className="text-transparent bg-clip-text bg-gradient-to-r from-blue-600 to-indigo-600">for Teams</span>
+ </h1>
+ <p className="text-zinc-600 text-lg md:text-xl max-w-xl mx-auto mb-10 leading-relaxed font-medium">
+ Focus on shipping features, not managing infrastructure. Get all the power of Traceway with zero maintenance.
+ </p>
+ <div className="flex flex-col sm:flex-row items-center justify-center gap-3">
+ <Link href="http://cloud.tracewayapp.com/register">
+ <Button size="lg" className="h-10 px-6 text-sm bg-[#4ba3f7] text-white hover:bg-[#3b93e7] font-bold shadow-sm shadow-blue-400/20">
+ Start Free Trial <ArrowRight className="ml-2 h-4 w-4" />
+ </Button>
+ </Link>
+ <Link href="https://docs.tracewayapp.com/cloud">
+ <Button variant="outline" size="lg" className="h-10 px-6 text-sm border-zinc-200 bg-white hover:bg-zinc-50 text-zinc-900">
+ How it works
+ </Button>
+ </Link>
+ </div>
+ </div>
+ </section>
+
+ {/* Pricing Section */}
+ <section className="py-24 bg-zinc-50/50 border-y border-zinc-100">
+ <div className="container mx-auto px-4 max-w-5xl">
+ <div className="text-center mb-16">
+ <h2 className="text-3xl md:text-4xl font-bold mb-4 text-zinc-900 tracking-tight">Simple, usage-based pricing</h2>
+ <p className="text-zinc-600 text-lg max-w-xl mx-auto">
+ Start for free and scale as you grow. No credit card required for the starter plan.
+ </p>
+ </div>
+
+ <PricingCalculator />
+ </div>
+ </section>
+
+ {/* Cloud vs Self-Hosted Q&A */}
+ <section className="py-24 bg-white">
+ <div className="container mx-auto px-4 max-w-3xl">
+ <div className="text-center mb-16">
+ <h2 className="text-3xl font-bold mb-4 text-zinc-900 tracking-tight">Cloud vs. Self-Hosted</h2>
+ <p className="text-zinc-600 text-lg">
+ Common questions about our deployment options.
+ </p>
+ </div>
+
+ <Accordion type="single" collapsible className="w-full">
+ <AccordionItem value="item-1" className="border-b-zinc-200">
+ <AccordionTrigger className="text-zinc-900 hover:text-zinc-700 hover:no-underline text-left text-lg font-medium">
+ Why use Traceway Cloud?
+ </AccordionTrigger>
+ <AccordionContent className="text-zinc-600 leading-relaxed text-base">
+ Traceway Cloud is simply for teams that don't want to self-host. We run the exact same open-source code but manage the infrastructure, updates, and backups for you.
+ It allows you to focus on shipping features without worrying about maintaining an observability stack.
+ </AccordionContent>
+ </AccordionItem>
+ <AccordionItem value="item-2" className="border-b-zinc-200">
+ <AccordionTrigger className="text-zinc-900 hover:text-zinc-700 hover:no-underline text-left text-lg font-medium">
+ Is the Open Source version limited?
+ </AccordionTrigger>
+ <AccordionContent className="text-zinc-600 leading-relaxed text-base">
+ No. The code is 100% open source and fully featured. We do not gate features behind the cloud version.
+ The cloud offering exists solely for convenience and for users who prefer a managed service over self-hosting.
+ </AccordionContent>
+ </AccordionItem>
+ <AccordionItem value="item-3" className="border-b-zinc-200">
+ <AccordionTrigger className="text-zinc-900 hover:text-zinc-700 hover:no-underline text-left text-lg font-medium">
+ Can I migrate from Cloud to Self-Hosted later?
+ </AccordionTrigger>
+ <AccordionContent className="text-zinc-600 leading-relaxed text-base">
+ Yes, since the underlying software is the same, we can work with you to export your data and migrate to a self-hosted instance at any time.
+ You are never locked into our cloud platform.
+ </AccordionContent>
+ </AccordionItem>
+ </Accordion>
+ </div>
+ </section>
+ </main>
+ );
+}
diff --git a/website/app/layout.tsx b/website/app/layout.tsx
index ddc544db..a8247e41 100644
--- a/website/app/layout.tsx
+++ b/website/app/layout.tsx
@@ -1,3 +1,4 @@
+import { SiteHeader } from "@/components/site-header";
import type { Metadata } from "next";
import { Geist, Geist_Mono } from "next/font/google";
import "./globals.css";
@@ -30,6 +31,7 @@ export default function RootLayout({
<body
className={`${geistSans.variable} ${geistMono.variable} antialiased`}
>
+ <SiteHeader />
{children}
</body>
</html>
diff --git a/website/app/page.tsx b/website/app/page.tsx
index 9acd66dd..27caec95 100644
--- a/website/app/page.tsx
+++ b/website/app/page.tsx
@@ -8,33 +8,7 @@ import { Github, ArrowRight, Activity, TrendingUp, AlertCircle, Bug, ChartGantt
export default function Home() {
return (
- <div className="min-h-screen bg-white text-zinc-950 font-sans selection:bg-zinc-100 selection:text-zinc-900">
- {/* Navigation */}
- <nav className="border-b border-zinc-100 bg-white/80 backdrop-blur-md sticky top-0 z-50">
- <div className="container mx-auto px-4 h-14 flex items-center justify-between">
- <div className="flex items-center gap-2">
- <Image
- src="/images/logo.png"
- alt="Traceway Logo"
- width={100}
- height={100}
- className="w-auto h-8"
- />
- </div>
- <div className="flex items-center gap-4">
- <Link href="https://docs.tracewayapp.com" className="text-sm font-medium text-zinc-600 hover:text-zinc-900 transition-colors">
- Docs
- </Link>
- <Link href="https://github.com/tracewayapp/traceway" target="_blank" rel="noopener noreferrer">
- <Button variant="ghost" size="icon" className="h-8 w-8 text-zinc-600 hover:text-zinc-900 hover:bg-zinc-100">
- <Github className="h-4 w-4" />
- <span className="sr-only">GitHub</span>
- </Button>
- </Link>
- </div>
- </div>
- </nav>
-
+ <main className="min-h-screen bg-white text-zinc-950 font-sans selection:bg-zinc-100 selection:text-zinc-900">
{/* Hero Section */}
<section className="relative pt-16 pb-20 overflow-hidden">
{/* Dot Pattern Background */}
@@ -378,6 +352,6 @@ export default function Home() {
</div>
</div>
</footer>
- </div>
+ </main>
);
}
diff --git a/website/components/pricing-calculator.tsx b/website/components/pricing-calculator.tsx
new file mode 100644
index 00000000..09e03cb1
--- /dev/null
+++ b/website/components/pricing-calculator.tsx
@@ -0,0 +1,97 @@
+"use client";
+
+import * as React from "react";
+import { cn } from "@/lib/utils";
+import Link from "next/link";
+import { ArrowRight } from "lucide-react";
+import { Button } from "@/components/ui/button";
+
+const TIERS = [
+ {
+ id: "starter",
+ name: "Starter",
+ limit: "10k",
+ price: "Free",
+ description: "10k issues, requests, task runs",
+ },
+ {
+ id: "pro",
+ name: "Pro",
+ limit: "100k",
+ price: "$12.99",
+ monthlyLabel: "/ month",
+ description: "100k issues, requests, task runs",
+ },
+ {
+ id: "premium",
+ name: "Premium",
+ limit: "1mil",
+ price: "$24.99",
+ monthlyLabel: "/ month",
+ description: "1mil issues, requests, task runs",
+ },
+ {
+ id: "enterprise",
+ name: "Enterprise",
+ limit: "200mil",
+ price: "$499.99",
+ monthlyLabel: "/ month",
+ description: "200mil issues, requests, task runs",
+ },
+ {
+ id: "custom",
+ name: "Custom",
+ limit: "Unlimited",
+ price: "Contact Us",
+ description: "We are open to accommodating specific workloads and requirements.",
+ },
+];
+
+export function PricingCalculator() {
+ return (
+ <div className="w-full max-w-4xl mx-auto">
+ <div className="bg-white rounded-2xl border border-zinc-200 overflow-hidden">
+ {/* Pricing Table */}
+ <div>
+ <div className="grid grid-cols-12 gap-4 px-6 py-3 bg-zinc-50/50 text-xs font-semibold text-zinc-500 uppercase tracking-wider border-b border-zinc-100">
+ <div className="col-span-3">Tier</div>
+ <div className="col-span-3">Monthly Requests</div>
+ <div className="col-span-3">Base Price</div>
+ <div className="col-span-3">Includes</div>
+ </div>
+
+ <div className="divide-y divide-zinc-100">
+ {TIERS.map((tier) => (
+ <div
+ key={tier.id}
+ className="grid grid-cols-12 gap-4 px-6 py-5 items-center hover:bg-zinc-50 transition-colors"
+ >
+ <div className="col-span-3 font-bold text-zinc-900 flex items-center gap-3">
+ {tier.name}
+ </div>
+ <div className="col-span-3 text-zinc-600 font-medium text-sm">
+ {tier.limit}
+ </div>
+ <div className="col-span-3 text-zinc-900 font-bold">
+ {tier.price}
+ <span className="text-zinc-400 font-normal text-xs">{tier.monthlyLabel}</span>
+ </div>
+ <div className="col-span-3 text-zinc-500 text-xs text-balance leading-relaxed">
+ {tier.description}
+ </div>
+ </div>
+ ))}
+ </div>
+ </div>
+ </div>
+
+ <div className="mt-8 flex justify-center">
+ <Link href="http://cloud.tracewayapp.com/register">
+ <Button size="lg" className="h-10 px-6 text-sm bg-[#4ba3f7] text-white hover:bg-[#3b93e7] font-bold shadow-sm shadow-blue-400/20">
+ Try for free <ArrowRight className="ml-2 h-4 w-4" />
+ </Button>
+ </Link>
+ </div>
+ </div>
+ );
+}
diff --git a/website/components/site-header.tsx b/website/components/site-header.tsx
new file mode 100644
index 00000000..32d9f9bc
--- /dev/null
+++ b/website/components/site-header.tsx
@@ -0,0 +1,53 @@
+
+import Link from "next/link";
+import Image from "next/image";
+import { Button } from "@/components/ui/button";
+import { Github } from "lucide-react";
+
+export function SiteHeader() {
+ return (
+ <nav className="border-b border-zinc-100 bg-white/80 backdrop-blur-md sticky top-0 z-50">
+ <div className="container mx-auto px-4 h-14 flex items-center justify-between">
+ <div className="flex items-center gap-8">
+ <Link href="/" className="flex items-center gap-2">
+ <Image
+ src="/images/logo.png"
+ alt="Traceway Logo"
+ width={100}
+ height={100}
+ className="w-auto h-8"
+ />
+ </Link>
+ <div className="hidden md:flex items-center gap-6">
+ <Link href="/cloud" className="text-sm font-medium text-zinc-600 hover:text-zinc-900 transition-colors">
+ Cloud
+ </Link>
+ <Link href="https://docs.tracewayapp.com" className="text-sm font-medium text-zinc-600 hover:text-zinc-900 transition-colors">
+ Docs
+ </Link>
+ </div>
+ </div>
+ <div className="flex items-center gap-4">
+ <Link href="https://github.com/tracewayapp/traceway" target="_blank" rel="noopener noreferrer" className="hidden sm:block">
+ <Button variant="ghost" size="icon" className="h-8 w-8 text-zinc-600 hover:text-zinc-900 hover:bg-zinc-100">
+ <Github className="h-4 w-4" />
+ <span className="sr-only">GitHub</span>
+ </Button>
+ </Link>
+ <div className="flex items-center gap-2">
+ <Link href="http://cloud.tracewayapp.com/login">
+ <Button variant="ghost" className="text-zinc-600 hover:text-zinc-900 hover:bg-zinc-100">
+ Sign in
+ </Button>
+ </Link>
+ <Link href="http://cloud.tracewayapp.com/register">
+ <Button className="bg-[#4ba3f7] text-white hover:bg-[#3b93e7] font-medium">
+ Try for free
+ </Button>
+ </Link>
+ </div>
+ </div>
+ </div>
+ </nav>
+ );
+}
diff --git a/website/components/ui/button.tsx b/website/components/ui/button.tsx
index 37a7d4b9..1e458da5 100644
--- a/website/components/ui/button.tsx
+++ b/website/components/ui/button.tsx
@@ -5,7 +5,7 @@ import { cva, type VariantProps } from "class-variance-authority"
import { cn } from "@/lib/utils"
const buttonVariants = cva(
- "inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",
+ "cursor-pointer inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",
{
variants: {
variant: {