The only tool you need to know what is happening and how to fix it.
Go alertingexception-trackerissue-trackinglogsmetricsmonitoringobservability-platformopen-telemetryotelsession-replaytelemetrytraces
Open telemetry website update
ddux96832648d8ed
diff --git a/backend/app/controllers/project.controller.go b/backend/app/controllers/project.controller.goindex 8db037de..c3c7acb5 100644--- a/backend/app/controllers/project.controller.go+++ b/backend/app/controllers/project.controller.go@@ -32,7 +32,8 @@ var validFrameworks = map[string]bool{"nextjs": true,"nestjs": true,"express": true,- "remix": true,+ "remix": true,+ "opentelemetry": true,}// Project name validation regex: allows alphanumeric, spaces, hyphens, and underscores@@ -80,7 +81,7 @@ func (p projectController) CreateProject(c *gin.Context) {if !validFrameworks[request.Framework] {traceway.CaptureMessage("Invalid framework received: " + request.Framework)- c.JSON(http.StatusBadRequest, gin.H{"error": "Framework must be one of: gin, fiber, chi, fasthttp, stdlib, custom, react, svelte, vuejs, nextjs, nestjs, express, remix"})+ c.JSON(http.StatusBadRequest, gin.H{"error": "Framework must be one of: gin, fiber, chi, fasthttp, stdlib, custom, react, svelte, vuejs, nextjs, nestjs, express, remix, opentelemetry"})return}diff --git a/frontend/src/lib/components/framework-combobox.svelte b/frontend/src/lib/components/framework-combobox.svelteindex ea8db791..b949f9df 100644--- a/frontend/src/lib/components/framework-combobox.svelte+++ b/frontend/src/lib/components/framework-combobox.svelte@@ -34,6 +34,7 @@{ value: 'nestjs', label: 'NestJS', description: 'Node.js server framework', group: 'JavaScript' },{ value: 'express', label: 'Express', description: 'Minimal Node.js framework', group: 'JavaScript' },{ value: 'remix', label: 'Remix', description: 'React full-stack framework', group: 'JavaScript' },+ { value: 'opentelemetry', label: 'OpenTelemetry', description: 'Vendor-neutral observability', group: 'Backend' },] as const;const selectedFrameworkLabel = $derived(getFrameworkLabel(value));@@ -52,6 +53,7 @@const goFrameworks = $derived(filteredFrameworks.filter(f => f.group === 'Go'));const jsFrameworks = $derived(filteredFrameworks.filter(f => f.group === 'JavaScript'));+ const backendFrameworks = $derived(filteredFrameworks.filter(f => f.group === 'Backend'));function handleOpenChange(isOpen: boolean) {open = isOpen;@@ -169,6 +171,32 @@{/each}</Combobox.Group>{/if}+ {#if backendFrameworks.length > 0}+ <Combobox.Group>+ <Combobox.GroupHeading class="px-2 py-1.5 text-xs font-semibold text-muted-foreground">Backend</Combobox.GroupHeading>+ {#each backendFrameworks as fw}+ <Combobox.Item+ value={fw.value}+ class={cn(+ "data-[highlighted]:bg-accent data-[highlighted]:text-accent-foreground [&_svg:not([class*='text-'])]:text-muted-foreground relative flex w-full cursor-default items-center gap-2 rounded-sm py-1.5 ps-2 pe-8 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4"+ )}+ >+ {#snippet children({ selected })}+ <div class="flex items-center gap-2">+ <FrameworkIcon framework={fw.value} />+ <div class="flex flex-col">+ <span class="font-medium">{fw.label}</span>+ <span class="text-xs text-muted-foreground">{fw.description}</span>+ </div>+ </div>+ {#if selected}+ <Check class="absolute end-2 size-4" />+ {/if}+ {/snippet}+ </Combobox.Item>+ {/each}+ </Combobox.Group>+ {/if}{/if}</Combobox.Viewport><SelectScrollDownButton />diff --git a/frontend/src/lib/components/framework-icon.svelte b/frontend/src/lib/components/framework-icon.svelteindex 60fa7e66..33219134 100644--- a/frontend/src/lib/components/framework-icon.svelte+++ b/frontend/src/lib/components/framework-icon.svelte@@ -46,6 +46,8 @@<img src="/express.png" alt="Express" class={className} />{:else if framework === 'remix'}<img src="/remix.png" alt="Remix" class={className} />+{:else if framework === 'opentelemetry'}+ <img src="/opentelemetry.png" alt="OpenTelemetry" class={className} />{:else}<img src="/custom.png" alt="Custom" class={className} />{/if}diff --git a/frontend/src/lib/state/projects.svelte.ts b/frontend/src/lib/state/projects.svelte.tsindex 1e3c66ee..651a6127 100644--- a/frontend/src/lib/state/projects.svelte.ts+++ b/frontend/src/lib/state/projects.svelte.ts@@ -1,7 +1,7 @@import { api } from '$lib/api';import { authState } from './auth.svelte';-export type Framework = 'gin' | 'fiber' | 'chi' | 'fasthttp' | 'stdlib' | 'custom' | 'react' | 'svelte' | 'vuejs' | 'nextjs' | 'nestjs' | 'express' | 'remix';+export type Framework = 'gin' | 'fiber' | 'chi' | 'fasthttp' | 'stdlib' | 'custom' | 'react' | 'svelte' | 'vuejs' | 'nextjs' | 'nestjs' | 'express' | 'remix' | 'opentelemetry';export const FRONTEND_FRAMEWORKS: Framework[] = ['react', 'svelte', 'vuejs'];export const JS_FRAMEWORKS: Framework[] = ['react', 'svelte', 'vuejs', 'nextjs', 'nestjs', 'express', 'remix'];@@ -20,6 +20,7 @@ export const FRAMEWORK_LABELS: Record<Framework, string> = {nestjs: 'NestJS',express: 'Express',remix: 'Remix',+ opentelemetry: 'OpenTelemetry',};export function getFrameworkLabel(fw: Framework): string {@@ -34,6 +35,10 @@ export function isJsFramework(fw: Framework): boolean {return JS_FRAMEWORKS.includes(fw);}+export function isOtelFramework(fw: Framework): boolean {+ return fw === 'opentelemetry';+}+export interface Project {id: string;name: string;diff --git a/frontend/src/lib/utils/framework-code.ts b/frontend/src/lib/utils/framework-code.tsindex 1ceee6ca..6449ca65 100644--- a/frontend/src/lib/utils/framework-code.ts+++ b/frontend/src/lib/utils/framework-code.ts@@ -28,6 +28,8 @@ export function getInstallCommand(framework: Framework): string {return 'npm install @tracewayapp/express';case 'remix':return 'npm install @tracewayapp/remix';+ case 'opentelemetry':+ return '';case 'custom':default:return base;@@ -200,6 +202,9 @@ export default withTraceway({connectionString: "${connectionString}",});`;+ case 'opentelemetry':+ return '';+case 'custom':default:return `package main@@ -286,10 +291,12 @@ export function getFrameworkLabel(framework: Framework): string {nestjs: 'NestJS',express: 'Express',remix: 'Remix',+ opentelemetry: 'OpenTelemetry',};return labels[framework] || framework;}export function getCodeLanguage(framework: Framework): 'go' | 'javascript' {+ if (framework === 'opentelemetry') return 'go';return isJsFramework(framework) ? 'javascript' : 'go';}diff --git a/frontend/src/routes/connection/+page.svelte b/frontend/src/routes/connection/+page.svelteindex bb06cb2c..fde6fc0d 100644--- a/frontend/src/routes/connection/+page.svelte+++ b/frontend/src/routes/connection/+page.svelte@@ -8,7 +8,7 @@} from '$lib/components/ui/card';import { Button } from '$lib/components/ui/button';import { Copy, Check, KeyRound } from 'lucide-svelte';- import { projectsState, type ProjectWithToken, isJsFramework } from '$lib/state/projects.svelte';+ import { projectsState, type ProjectWithToken, isJsFramework, isOtelFramework } from '$lib/state/projects.svelte';import { LoadingCircle } from '$lib/components/ui/loading-circle';import FrameworkIcon from '$lib/components/framework-icon.svelte';import Highlight from 'svelte-highlight';@@ -29,6 +29,12 @@let copiedToken = $state(false);let copiedCommand = $state(false);let generatingToken = $state(false);+ let copiedOtelEndpoint = $state(false);+ let copiedOtelToken = $state(false);++ const isOtel = $derived(projectWithToken ? isOtelFramework(projectWithToken.framework) : false);+ const otelEndpoint = $derived(projectWithToken ? `${projectWithToken.backendUrl}/api/report` : '');+ const otelToken = $derived(projectWithToken?.token ?? '');const sdkCode = $derived(projectWithToken@@ -90,6 +96,18 @@copiedCommand = true;setTimeout(() => (copiedCommand = false), 2000);}++ async function copyOtelEndpoint() {+ await navigator.clipboard.writeText(otelEndpoint);+ copiedOtelEndpoint = true;+ setTimeout(() => (copiedOtelEndpoint = false), 2000);+ }++ async function copyOtelToken() {+ await navigator.clipboard.writeText(otelToken);+ copiedOtelToken = true;+ setTimeout(() => (copiedOtelToken = false), 2000);+ }</script><div class="space-y-4">@@ -99,6 +117,49 @@</div>{#if projectWithToken}+ {#if isOtel}+ <Card>+ <CardHeader>+ <CardTitle class="flex items-center gap-2">+ <FrameworkIcon framework={projectWithToken.framework} />+ OpenTelemetry Integration+ </CardTitle>+ <CardDescription>+ Point your OTLP exporter at Traceway+ </CardDescription>+ </CardHeader>+ <CardContent>+ <div class="space-y-6">+ <div>+ <p class="text-sm font-medium mb-2">Step 1 — Endpoint URL</p>+ <div class="flex items-center gap-2">+ <code class="flex-1 rounded-md bg-muted px-3 py-2 text-sm font-mono break-all">{otelEndpoint}</code>+ <Button variant="outline" size="sm" onclick={copyOtelEndpoint}>+ {#if copiedOtelEndpoint}+ <Check class="h-4 w-4 text-green-500" />+ {:else}+ <Copy class="h-4 w-4" />+ {/if}+ </Button>+ </div>+ </div>+ <div>+ <p class="text-sm font-medium mb-2">Step 2 — Token</p>+ <div class="flex items-center gap-2">+ <code class="flex-1 rounded-md bg-muted px-3 py-2 text-sm font-mono break-all">{otelToken}</code>+ <Button variant="outline" size="sm" onclick={copyOtelToken}>+ {#if copiedOtelToken}+ <Check class="h-4 w-4 text-green-500" />+ {:else}+ <Copy class="h-4 w-4" />+ {/if}+ </Button>+ </div>+ </div>+ </div>+ </CardContent>+ </Card>+ {:else}<Card><CardHeader><CardTitle class="flex items-center gap-2">@@ -236,6 +297,7 @@</CardContent></Card>{/if}+ {/if}{:else}<Card><CardContent class="p-6 text-center">diff --git a/frontend/static/opentelemetry.png b/frontend/static/opentelemetry.pngnew file mode 100644index 00000000..51d10498Binary files /dev/null and b/frontend/static/opentelemetry.png differdiff --git a/printscreens/session-replay.png b/printscreens/session-replay.pngnew file mode 100644index 00000000..cb07a402Binary files /dev/null and b/printscreens/session-replay.png differdiff --git a/website/app/contact/page.tsx b/website/app/contact/page.tsxnew file mode 100644index 00000000..31a0ad6a--- /dev/null+++ b/website/app/contact/page.tsx@@ -0,0 +1,158 @@+"use client";++import { useState, FormEvent } from "react";++export default function Contact() {+ const [subject, setSubject] = useState("");+ const [email, setEmail] = useState("");+ const [message, setMessage] = useState("");+ const [customerType, setCustomerType] = useState("");+ const [status, setStatus] = useState<+ "idle" | "loading" | "success" | "error"+ >("idle");+ const [errorMessage, setErrorMessage] = useState("");++ async function handleSubmit(e: FormEvent) {+ e.preventDefault();+ setStatus("loading");+ setErrorMessage("");++ try {+ const res = await fetch("/api/contact", {+ method: "POST",+ headers: { "Content-Type": "application/json" },+ body: JSON.stringify({ subject, email, message, customerType }),+ });++ if (!res.ok) {+ const data = await res.json();+ throw new Error(data.error || "Something went wrong");+ }++ setStatus("success");+ setSubject("");+ setEmail("");+ setMessage("");+ setCustomerType("");+ } catch (err) {+ setStatus("error");+ setErrorMessage(+ err instanceof Error ? err.message : "Something went wrong"+ );+ }+ }++ return (+ <main className="min-h-screen bg-white text-zinc-950 font-sans">+ <div className="container mx-auto px-4 max-w-xl py-20">+ <h1 className="text-4xl font-bold tracking-tight mb-2 text-zinc-900">+ Contact Us+ </h1>+ <p className="text-zinc-500 mb-10">+ Have a question or need help? Send us a message and we'll get+ back to you.+ </p>++ {status === "success" ? (+ <div className="rounded-lg border border-green-200 bg-green-50 p-6 text-center">+ <p className="text-green-800 font-medium">+ Thank you for reaching out! We'll get back to you soon.+ </p>+ </div>+ ) : (+ <form onSubmit={handleSubmit} className="space-y-5">+ <div>+ <label+ htmlFor="subject"+ className="block text-sm font-medium text-zinc-900 mb-1.5"+ >+ Subject+ </label>+ <input+ id="subject"+ type="text"+ required+ value={subject}+ onChange={(e) => setSubject(e.target.value)}+ className="w-full rounded-lg border border-zinc-300 bg-white px-3 py-2 text-sm text-zinc-900 placeholder:text-zinc-400 focus:outline-none focus:ring-2 focus:ring-zinc-900 focus:border-transparent transition-shadow"+ placeholder="What can we help with?"+ />+ </div>++ <div>+ <label+ htmlFor="email"+ className="block text-sm font-medium text-zinc-900 mb-1.5"+ >+ </label>+ <input+ id="email"+ type="email"+ required+ value={email}+ onChange={(e) => setEmail(e.target.value)}+ className="w-full rounded-lg border border-zinc-300 bg-white px-3 py-2 text-sm text-zinc-900 placeholder:text-zinc-400 focus:outline-none focus:ring-2 focus:ring-zinc-900 focus:border-transparent transition-shadow"+ placeholder="[email protected]"+ />+ </div>++ <div>+ <label+ htmlFor="customerType"+ className="block text-sm font-medium text-zinc-900 mb-1.5"+ >+ Customer Type+ </label>+ <select+ id="customerType"+ required+ value={customerType}+ onChange={(e) => setCustomerType(e.target.value)}+ className="w-full rounded-lg border border-zinc-300 bg-white px-3 py-2 text-sm text-zinc-900 focus:outline-none focus:ring-2 focus:ring-zinc-900 focus:border-transparent transition-shadow"+ >+ <option value="" disabled>+ Select an option+ </option>+ <option value="Existing Customer">Existing Customer</option>+ <option value="New Customer">New Customer</option>+ </select>+ </div>++ <div>+ <label+ htmlFor="message"+ className="block text-sm font-medium text-zinc-900 mb-1.5"+ >+ Message+ </label>+ <textarea+ id="message"+ required+ rows={5}+ value={message}+ onChange={(e) => setMessage(e.target.value)}+ className="w-full rounded-lg border border-zinc-300 bg-white px-3 py-2 text-sm text-zinc-900 placeholder:text-zinc-400 focus:outline-none focus:ring-2 focus:ring-zinc-900 focus:border-transparent transition-shadow resize-none"+ placeholder="Tell us more..."+ />+ </div>++ {status === "error" && (+ <div className="rounded-lg border border-red-200 bg-red-50 px-4 py-3">+ <p className="text-red-800 text-sm">{errorMessage}</p>+ </div>+ )}++ <button+ type="submit"+ disabled={status === "loading"}+ className="w-full rounded-lg bg-zinc-900 px-4 py-2.5 text-sm font-medium text-white hover:bg-zinc-800 shadow-lg shadow-zinc-900/20 disabled:opacity-50 disabled:cursor-not-allowed transition-colors"+ >+ {status === "loading" ? "Sending..." : "Send Message"}+ </button>+ </form>+ )}+ </div>+ </main>+ );+}diff --git a/website/app/layout.tsx b/website/app/layout.tsxindex fc8949dc..f6453066 100644--- a/website/app/layout.tsx+++ b/website/app/layout.tsx@@ -19,8 +19,8 @@ export const metadata: Metadata = {alternates: {canonical: "./",},- title: "Traceway",- description: "Telemetry & Issue Tracking for Go & JavaScript",+ title: "Traceway - Know what to fix first",+ description: "Traceway scores every endpoint and exception by real user impact, then ranks them. 100% open source telemetry, issue tracking, and session replay for Go & JavaScript.",icons: {icon: "/favicon.ico",},diff --git a/website/app/page.tsx b/website/app/page.tsxindex 3463810d..6bd12540 100644--- a/website/app/page.tsx+++ b/website/app/page.tsx@@ -7,7 +7,6 @@ import {CardHeader,CardTitle,} from "@/components/ui/card";-import { Badge } from "@/components/ui/badge";import {Accordion,AccordionContent,@@ -17,13 +16,17 @@ import {import {Github,ArrowRight,- Activity,- TrendingUp,- AlertCircle,Bug,- Gauge,+ Video,+ Activity,+ Lock,+ Terminal,+ GitCompare,} from "lucide-react";import { CodeTabs } from "@/components/code-tabs";+import { ImpactScoreVisual } from "@/components/impact-score-visual";+import { CostComparison } from "@/components/cost-comparison";+import { DockerCommand } from "@/components/docker-command";const frameworks = [{ name: "Gin", src: "/images/frameworks/gin.png" },@@ -36,35 +39,29 @@ const frameworks = [{ name: "Node.js", src: "/images/frameworks/node.png" },{ name: "Svelte", src: "/images/frameworks/svelte.png" },{ name: "Remix", src: "/images/frameworks/remix.png" },+ { name: "OpenTelemetry", src: "/images/frameworks/otel.png" },];export default function Home() {return (<main className="min-h-screen bg-white text-zinc-950 font-sans selection:bg-zinc-100 selection:text-zinc-900">- {/* Hero Section */}+ {/* Section 1: Hero */}<section className="relative pt-16 pb-20 overflow-hidden">- {/* Dot Pattern Background */}<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 relative z-10 text-center"><Link href="https://github.com/tracewayapp/traceway" target="_blank">- <Badge- variant="secondary"- className="mb-4 bg-zinc-100 text-zinc-600 hover:bg-zinc-200 px-2.5 py-0.5 border border-zinc-200 text-xs font-normal cursor-pointer"- >- Star us on GitHub- </Badge>+ <span className="inline-flex items-center mb-4 bg-green-50 text-green-700 hover:bg-green-100 px-2.5 py-0.5 border border-green-200 text-xs font-medium rounded-full cursor-pointer transition-colors">+ 100% Open Source+ </span></Link><h1 className="text-4xl md:text-6xl font-bold tracking-tight mb-6 text-zinc-900">- Telemetry & Issue Tracking <br /> for{" "}- <span className="text-transparent bg-clip-text bg-gradient-to-r from-blue-600 to-indigo-600">- Go & JavaScript- </span>+ Know what to fix first</h1><p className="text-zinc-600 text-lg md:text-xl max-w-2xl mx-auto mb-10 leading-relaxed font-medium">- Traceway automatically ranks your issues so you fix what matters- first. Simple integration, performance insights, and regression- tracking across your entire stack.+ Traceway scores every endpoint and exception by real user impact,+ then ranks them. You open the dashboard and immediately know what+ needs attention. No triage meetings. No alert fatigue.</p><div className="flex flex-col sm:flex-row items-center justify-center gap-3"><Link href="https://docs.tracewayapp.com">@@ -88,14 +85,22 @@ export default function Home() {</Button></Link></div>+ <div className="mt-4">+ <Link+ href="https://cloud.tracewayapp.com/[email protected]&password=demoaccount!"+ className="text-sm text-zinc-500 hover:text-zinc-700 transition-colors"+ >+ or try the live demo <ArrowRight className="inline h-3 w-3" />+ </Link>+ </div></div></section>- {/* Framework Logos */}- <section className="py-10 bg-white border-b border-zinc-100">+ {/* Section 2: Framework Logos */}+ <section className="pt-0 pb-10 bg-white border-b border-zinc-100"><div className="container mx-auto px-4 max-w-4xl"><p className="text-center text-xs font-semibold text-zinc-400 uppercase tracking-wider mb-6">- Works with your stack+ Works with OpenTelemetry, Go, JavaScript</p><div className="flex flex-wrap items-center justify-center gap-8 md:gap-10">{frameworks.map((fw) => (@@ -105,129 +110,49 @@ export default function Home() {alt={fw.name}width={40}height={40}- className="h-8 w-auto grayscale opacity-60 hover:grayscale-0 hover:opacity-100 transition-all duration-200"+ className="h-8 w-auto opacity-80 hover:opacity-100 transition-all duration-200"/>))}</div></div></section>- {/* Code Snippet Section */}- <section className="py-16 bg-zinc-50/50 border-b border-zinc-100">- <div className="container mx-auto px-4 max-w-5xl">- <div className="flex flex-col md:flex-row items-center justify-between gap-12">- <div className="flex-1 space-y-4">- <h2 className="text-2xl font-bold tracking-tight text-zinc-900">- 2-Minute Integration- </h2>- <p className="text-zinc-600 text-base leading-relaxed max-w-md">- Add the middleware to your router and start collecting- actionable telemetry instantly. No complex configuration- required.- </p>- <ul className="space-y-3 pt-2">- <li className="flex items-center gap-2.5 text-zinc-700 font-medium text-sm">- <div className="h-6 w-6 rounded-full bg-blue-100 flex items-center justify-center text-blue-600 text-xs font-bold">- 1- </div>- Install the package- </li>- <li className="flex items-center gap-2.5 text-zinc-700 font-medium text-sm">- <div className="h-6 w-6 rounded-full bg-blue-100 flex items-center justify-center text-blue-600 text-xs font-bold">- 2- </div>- Add middleware- </li>- <li className="flex items-center gap-2.5 text-zinc-700 font-medium text-sm">- <div className="h-6 w-6 rounded-full bg-blue-100 flex items-center justify-center text-blue-600 text-xs font-bold">- 3- </div>- View insights- </li>- </ul>- </div>- <div className="flex-1 w-full max-w-lg">- <CodeTabs />- </div>- </div>- </div>- </section>-- {/* Features Section */}- <section className="py-20 bg-white">+ {/* Section 3: Impact Score */}+ <section className="py-20 bg-zinc-50/50 border-b border-zinc-100"><div className="container mx-auto px-4 max-w-5xl"><div className="text-center mb-12"><h2 className="text-3xl md:text-4xl font-bold mb-4 text-zinc-900 tracking-tight">- Built for Reliability+ One score. Five signals. Zero guesswork.</h2>- <p className="text-zinc-600 text-lg max-w-xl mx-auto">- Traceway treats every error as a signal. We help you cut through- the noise and find exactly what broke.+ <p className="text-zinc-600 text-lg max-w-2xl mx-auto">+ The Impact Score combines five service-level indicators into one+ automatic priority for every endpoint. It takes the max across all+ five - if any single signal is bad, the endpoint surfaces+ immediately.</p></div>-- <div className="grid grid-cols-1 md:grid-cols-3 gap-6">- <Card className="bg-white border-zinc-200 shadow-sm hover:shadow-md transition-all duration-300">- <CardHeader className="p-6 pt-0">- <div className="w-10 h-10 bg-blue-50 rounded-lg flex items-center justify-center mb-3">- <TrendingUp className="w-5 h-5 text-blue-600" />- </div>- <CardTitle className="text-lg">- Automatic Issue Ranking- </CardTitle>- <CardDescription className="text-zinc-500 text-sm mt-1.5">- Stop triaging manually. Traceway ranks issues by impact so- your team fixes the most critical problems first.- </CardDescription>- </CardHeader>- </Card>-- <Card className="bg-white border-zinc-200 shadow-sm hover:shadow-md transition-all duration-300">- <CardHeader className="p-6 pt-0">- <div className="w-10 h-10 bg-green-50 rounded-lg flex items-center justify-center mb-3">- <Activity className="w-5 h-5 text-green-600" />- </div>- <CardTitle className="text-lg">Regression Tracking</CardTitle>- <CardDescription className="text-zinc-500 text-sm mt-1.5">- Automatically track when issues reappear. Keep your production- environment clean and stable.- </CardDescription>- </CardHeader>- </Card>-- <Card className="bg-white border-zinc-200 shadow-sm hover:shadow-md transition-all duration-300">- <CardHeader className="p-6 pt-0">- <div className="w-10 h-10 bg-orange-50 rounded-lg flex items-center justify-center mb-3">- <AlertCircle className="w-5 h-5 text-orange-600" />- </div>- <CardTitle className="text-lg">Error Grouping</CardTitle>- <CardDescription className="text-zinc-500 text-sm mt-1.5">- Intelligent grouping of similar errors. See the impact of a- bug at a glance.- </CardDescription>- </CardHeader>- </Card>+ <div className="max-w-4xl mx-auto overflow-x-auto">+ <ImpactScoreVisual /></div></div></section>- {/* Feature Sections */}- <section className="py-24 bg-white border-y border-zinc-100">+ {/* Section 4: Feature Showcase */}+ <section className="py-24 bg-white border-b border-zinc-100"><div className="container mx-auto px-4 max-w-5xl space-y-32">- {/* Feature 1: Exception Tracking */}+ {/* 4a: Exception Tracking */}<div className="flex flex-col md:flex-row items-center gap-12 lg:gap-20"><div className="flex-1 space-y-6"><div className="w-12 h-12 bg-red-50 rounded-2xl flex items-center justify-center"><Bug className="w-6 h-6 text-red-600" /></div><h3 className="text-2xl md:text-3xl font-bold text-zinc-900 tracking-tight">- Granular exception tracking+ Every exception, grouped and ranked</h3><p className="text-zinc-600 text-lg leading-relaxed">- Traceway captures every exception with full stack traces and- context. We group similar errors together, so you can see- exactly how many times an issue occurred, when it started, and- which users are affected.+ Full stack traces, 10-step normalization, SHA-256 grouping.+ Thousands of duplicates collapse into one ranked issue so you+ fix what matters first.</p><ul className="space-y-3 pt-2"><li className="flex items-center gap-3 text-zinc-700">@@ -246,7 +171,7 @@ export default function Home() {</div><div className="flex-1 w-full relative"><div className="absolute inset-0 bg-gradient-to-tr from-red-100/50 to-transparent rounded-3xl transform rotate-3 scale-105 -z-10"></div>- <div className="relative rounded-xl overflow-hidden border border-zinc-200 shadow-2xl shadow-zinc-200/50 bg-white">+ <div className="relative rounded-xl overflow-hidden border border-zinc-200 bg-white"><Imagesrc="/images/screenshot-2.png"alt="Exception Tracking Interface"@@ -258,38 +183,41 @@ export default function Home() {</div></div>- {/* Feature 2: Introspection (Endpoint Details) */}+ {/* 4b: Session Replay */}<div className="flex flex-col md:flex-row-reverse items-center gap-12 lg:gap-20"><div className="flex-1 space-y-6">- <div className="w-12 h-12 bg-blue-50 rounded-2xl flex items-center justify-center">- <Activity className="w-6 h-6 text-blue-600" />+ <div className="w-12 h-12 bg-purple-50 rounded-2xl flex items-center justify-center">+ <Video className="w-6 h-6 text-purple-600" /></div><h3 className="text-2xl md:text-3xl font-bold text-zinc-900 tracking-tight">- Deep endpoint introspection+ See exactly what the user did</h3><p className="text-zinc-600 text-lg leading-relaxed">- Go beyond simple metrics. Inspect individual requests to- understand the exact state of your application. View headers,- payload sizes, and custom context variables for every single- trace.+ Traceway captures ~10 seconds of user activity before every+ error. Clicks, scrolls, and form interactions are attached to+ exceptions automatically - no manual reproduction needed.</p><ul className="space-y-3 pt-2"><li className="flex items-center gap-3 text-zinc-700">- <div className="w-1.5 h-1.5 rounded-full bg-blue-500"></div>- Detailed request/response data+ <div className="w-1.5 h-1.5 rounded-full bg-purple-500"></div>+ Pre-error activity capture</li><li className="flex items-center gap-3 text-zinc-700">- <div className="w-1.5 h-1.5 rounded-full bg-blue-500"></div>- Custom context & tagging+ <div className="w-1.5 h-1.5 rounded-full bg-purple-500"></div>+ Automatic attachment to exceptions+ </li>+ <li className="flex items-center gap-3 text-zinc-700">+ <div className="w-1.5 h-1.5 rounded-full bg-purple-500"></div>+ Clicks, scrolls, and form interactions</li></ul></div><div className="flex-1 w-full relative">- <div className="absolute inset-0 bg-gradient-to-tl from-blue-100/50 to-transparent rounded-3xl transform -rotate-3 scale-105 -z-10"></div>- <div className="relative rounded-xl overflow-hidden border border-zinc-200 shadow-2xl shadow-zinc-200/50 bg-white">+ <div className="absolute inset-0 bg-gradient-to-tl from-purple-100/50 to-transparent rounded-3xl transform -rotate-3 scale-105 -z-10"></div>+ <div className="relative rounded-xl overflow-hidden border border-zinc-200 bg-white"><Image- src="/images/screenshot-1.png"- alt="Endpoint Introspection"+ src="/images/session-replay.png"+ alt="Session Replay Interface"width={800}height={600}className="w-full h-auto"@@ -298,38 +226,41 @@ export default function Home() {</div></div>- {/* Feature 3: Server & Runtime Metrics */}+ {/* 4c: Endpoint Introspection */}<div className="flex flex-col md:flex-row items-center gap-12 lg:gap-20"><div className="flex-1 space-y-6">- <div className="w-12 h-12 bg-orange-50 rounded-2xl flex items-center justify-center">- <Gauge className="w-6 h-6 text-orange-600" />+ <div className="w-12 h-12 bg-blue-50 rounded-2xl flex items-center justify-center">+ <Activity className="w-6 h-6 text-blue-600" /></div><h3 className="text-2xl md:text-3xl font-bold text-zinc-900 tracking-tight">- Server & runtime metrics+ Drill into any request</h3><p className="text-zinc-600 text-lg leading-relaxed">- Monitor your infrastructure without extra tooling. Traceway- automatically collects CPU usage, memory consumption, goroutine- counts, and garbage collection stats, giving you a complete- picture of your server health alongside your errors.+ Request/response details, waterfall traces, and custom context+ tags. Understand the exact state of your application for every+ single trace.</p><ul className="space-y-3 pt-2"><li className="flex items-center gap-3 text-zinc-700">- <div className="w-1.5 h-1.5 rounded-full bg-orange-500"></div>- Go runtime stats & GC tracking+ <div className="w-1.5 h-1.5 rounded-full bg-blue-500"></div>+ Detailed request/response data</li><li className="flex items-center gap-3 text-zinc-700">- <div className="w-1.5 h-1.5 rounded-full bg-orange-500"></div>- CPU & memory monitoring+ <div className="w-1.5 h-1.5 rounded-full bg-blue-500"></div>+ Waterfall trace view+ </li>+ <li className="flex items-center gap-3 text-zinc-700">+ <div className="w-1.5 h-1.5 rounded-full bg-blue-500"></div>+ Custom context & tagging</li></ul></div><div className="flex-1 w-full relative">- <div className="absolute inset-0 bg-gradient-to-tr from-orange-100/50 to-transparent rounded-3xl transform rotate-3 scale-105 -z-10"></div>- <div className="relative rounded-xl overflow-hidden border border-zinc-200 shadow-2xl shadow-zinc-200/50 bg-white">+ <div className="absolute inset-0 bg-gradient-to-tr from-blue-100/50 to-transparent rounded-3xl transform rotate-3 scale-105 -z-10"></div>+ <div className="relative rounded-xl overflow-hidden border border-zinc-200 bg-white"><Image- src="/images/screenshot-4.png"- alt="Server Metrics Dashboard"+ src="/images/screenshot-1.png"+ alt="Endpoint Introspection"width={800}height={600}className="w-full h-auto"@@ -340,7 +271,112 @@ export default function Home() {</div></section>- {/* Demo CTA Section */}+ {/* Section 5: Open Source & Self-Hosting */}+ <section className="py-20 bg-white border-b border-zinc-100">+ <div className="container mx-auto px-4 max-w-5xl">+ <div className="text-center mb-12">+ <h2 className="text-3xl md:text-4xl font-bold mb-4 text-zinc-900 tracking-tight">+ 100% open source. No asterisks.+ </h2>+ <p className="text-zinc-600 text-lg max-w-2xl mx-auto">+ Not BSL. Not source-available. Not “open core.” Every+ feature works identically self-hosted or on cloud. Deploy with a+ single Docker command.+ </p>+ </div>++ <div className="grid grid-cols-1 md:grid-cols-3 gap-6">+ <Card className="bg-white border-zinc-200 transition-all duration-300">+ <CardHeader className="p-6 pt-0">+ <div className="w-10 h-10 bg-green-50 rounded-lg flex items-center justify-center mb-3">+ <Lock className="w-5 h-5 text-green-600" />+ </div>+ <CardTitle className="text-lg">Truly Open Source</CardTitle>+ <CardDescription className="text-zinc-500 text-sm mt-1.5">+ Unlike Sentry's BSL license, Traceway is fully open+ source. Fork it, modify it, run it however you want.+ </CardDescription>+ </CardHeader>+ </Card>++ <Card className="bg-white border-zinc-200 transition-all duration-300">+ <CardHeader className="p-6 pt-0">+ <div className="w-10 h-10 bg-blue-50 rounded-lg flex items-center justify-center mb-3">+ <Terminal className="w-5 h-5 text-blue-600" />+ </div>+ <CardTitle className="text-lg">One-Command Deploy</CardTitle>+ <CardDescription className="text-zinc-500 text-sm mt-1.5">+ Get up and running with a single command. No complex+ configuration or infrastructure setup required.+ </CardDescription>+ </CardHeader>+ </Card>++ <Card className="bg-white border-zinc-200 transition-all duration-300">+ <CardHeader className="p-6 pt-0">+ <div className="w-10 h-10 bg-orange-50 rounded-lg flex items-center justify-center mb-3">+ <GitCompare className="w-5 h-5 text-orange-600" />+ </div>+ <CardTitle className="text-lg">Same Code Everywhere</CardTitle>+ <CardDescription className="text-zinc-500 text-sm mt-1.5">+ No feature gating between self-hosted and cloud. The exact+ same codebase powers both.+ </CardDescription>+ </CardHeader>+ </Card>+ </div>++ <div className="flex justify-center mt-10">+ <DockerCommand />+ </div>+ </div>+ </section>++ {/* Section 7: OpenTelemetry Support */}+ <section className="py-16 bg-zinc-50/50 border-b border-zinc-100">+ <div className="container mx-auto px-4 max-w-3xl text-center">+ <Image+ src="/images/frameworks/otel.png"+ alt="OpenTelemetry"+ width={48}+ height={48}+ className="mx-auto mb-6 h-12 w-auto"+ />+ <h2 className="text-3xl md:text-4xl font-bold mb-4 text-zinc-900 tracking-tight">+ Send from any OpenTelemetry source+ </h2>+ <p className="text-zinc-600 text-lg max-w-xl mx-auto">+ Already instrumented with OTel? Point your OTLP exporter at+ Traceway. No proprietary SDK lock-in.+ </p>+ </div>+ </section>++ {/* Section 8: Quick Integration */}+ <section className="py-16 bg-white border-b border-zinc-100">+ <div className="container mx-auto px-4 max-w-5xl">+ <div className="flex flex-col md:flex-row items-center justify-between gap-12">+ <div className="flex-1 space-y-4">+ <h2 className="text-2xl font-bold tracking-tight text-zinc-900">+ No OpenTelemetry? No Problem!+ </h2>+ <h3 className="text-xl italic text-zinc-700">+ Two lines of code. That's it.+ </h3>+ <p className="text-zinc-600 text-base leading-relaxed max-w-md">+ Add the middleware to your router and start collecting+ actionable telemetry instantly. No complex configuration+ required.+ </p>+ </div>+ <div className="flex-1 w-full max-w-lg">+ <CodeTabs />+ </div>+ </div>+ </div>+ </section>++ {/* Section 9: Demo CTA */}<section className="py-8 bg-zinc-50/50 border-b border-zinc-100"><div className="container mx-auto px-4 max-w-3xl text-center"><h2 className="text-3xl md:text-4xl font-bold mb-4 text-zinc-900 tracking-tight">@@ -360,7 +396,43 @@ export default function Home() {</div></section>- {/* Q&A Section */}+ {/* Section 10: Pricing & Cost Advantage */}+ <section className="py-20 bg-zinc-50/50 border-b border-zinc-100">+ <div className="container mx-auto px-4 max-w-5xl">+ <div className="text-center mb-12">+ <h2 className="text-3xl md:text-4xl font-bold mb-4 text-zinc-900 tracking-tight">+ Designed for efficiency. Built to lower your cloud bill.+ </h2>+ <p className="text-zinc-600 text-lg max-w-2xl mx-auto">+ Traceway runs lean. ClickHouse columnar storage compresses 1+ million daily events into ~2-3 GB per month. Postgres is used for+ efficient user and organization storage.+ </p>+ </div>+ <CostComparison />+ <div className="flex flex-col sm:flex-row items-center justify-center gap-3 mt-10">+ <Link href="/cloud">+ <Button+ size="lg"+ className="h-10 px-6 text-sm bg-[#4ba3f7] text-white hover:bg-[#3b93e7] shadow-lg shadow-blue-900/10"+ >+ See Cloud pricing <ArrowRight className="ml-2 h-4 w-4" />+ </Button>+ </Link>+ <Link href="https://docs.tracewayapp.com">+ <Button+ variant="outline"+ size="lg"+ className="h-10 px-6 text-sm border-zinc-200 bg-white hover:bg-zinc-50 text-zinc-900 shadow-sm"+ >+ Self-host for free <ArrowRight className="ml-2 h-4 w-4" />+ </Button>+ </Link>+ </div>+ </div>+ </section>++ {/* Section 11: FAQ */}<section className="py-24 bg-zinc-50 border-t border-zinc-100"><div className="container mx-auto px-4 max-w-3xl"><div className="text-center mb-12">@@ -375,77 +447,95 @@ export default function Home() {<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">- What is Traceway?+ What is the Impact Score?</AccordionTrigger><AccordionContent className="text-zinc-600 leading-relaxed">- Traceway is an open-source telemetry and issue tracking platform- designed for Go and JavaScript applications, with support for- popular frameworks like Gin, Express, NestJS, Next.js, and more.- It helps prioritize tasks, track issues and optimize performance- by providing exception tracking, performance insights, and- regression monitoring.+ The Impact Score is Traceway's automatic prioritization+ system. It combines five service-level indicators - inverted+ apdex variant, error rate floor, P99 floor, client error floor,+ and volume error floor - into a single score for every endpoint.+ It takes the max across all five, so if any single signal is+ degraded, that endpoint surfaces immediately. You open the+ dashboard and instantly know what needs attention.</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">- How does it compare to OpenTelemetry?+ How does Traceway compare to Sentry?</AccordionTrigger><AccordionContent className="text-zinc-600 leading-relaxed">- While OpenTelemetry is a powerful, generalized standard, it can- be complex to configure and manage. Traceway is- “batteries-included” and opinionated, focusing on- immediate value for Go and JavaScript developers without the- configuration overhead. We provide actionable insights (like- issue ranking) out of the box. It has a simple deployment model- that makes it cheap to run in production.+ Sentry is a great tool, but it requires manual triage and uses a+ BSL license. Traceway automatically ranks issues by real user+ impact so you always know what to fix first. It's 100% open+ source (not BSL, not source-available), runs on your+ infrastructure with fixed costs, and combines exception+ tracking, performance monitoring, and session replay in one+ tool.</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">- How does it compare to Sentry?+ How does Traceway compare to Datadog/New Relic?</AccordionTrigger><AccordionContent className="text-zinc-600 leading-relaxed">- Sentry is a great tool, but it requires manual triage and can be- expensive at scale. Traceway automatically ranks issues by- impact so you always know what to fix first. It's a- lightweight, open-source alternative that combines performance- monitoring and issue tracking in one tool, with first-class- support for both Go and JavaScript.+ Datadog and New Relic are powerful but expensive at scale, often+ charging per event or per host. Traceway runs on your+ infrastructure with fixed costs. ClickHouse columnar storage+ compresses data dramatically, so 1 million daily events use only+ ~2-3 GB per month. You get endpoint analytics, exception+ tracking, and session replay without metered billing.</AccordionContent></AccordionItem><AccordionItem value="item-4" className="border-b-zinc-200"><AccordionTrigger className="text-zinc-900 hover:text-zinc-700 hover:no-underline text-left">- How does it compare to New Relic?+ Is Traceway really free to self-host?</AccordionTrigger><AccordionContent className="text-zinc-600 leading-relaxed">- New Relic is incredible for raw data tracking but due to their- wide feature set it can be hard to navigate and find what you- actually need to fix. Traceway addresses this by focusing on- telling you what needs fixing by prioritizing and ranking issues- across your Go and JavaScript services. It provides server- metrics (similar to New Relic) while also providing a great- issue tracking solution like Sentry.+ Yes. Traceway is 100% open source with no feature gating. Every+ feature available on Traceway Cloud works identically when+ self-hosted. Deploy with{" "}+ <code className="bg-zinc-100 px-1 py-0.5 rounded text-sm">+ docker compose up -d+ </code>{" "}+ and you're running.</AccordionContent></AccordionItem><AccordionItem value="item-5" className="border-b-zinc-200"><AccordionTrigger className="text-zinc-900 hover:text-zinc-700 hover:no-underline text-left">- Can I self-host Traceway?+ How does error grouping work?</AccordionTrigger><AccordionContent className="text-zinc-600 leading-relaxed">- Yes! Traceway is open source and can be easily self-hosted. We- provide Docker containers and binaries to make running your own- instance straightforward.+ Traceway applies a 10-step normalization pipeline to every stack+ trace: extracting the error type, removing absolute file paths,+ replacing hex addresses, UUIDs, IPs, timestamps, and numeric IDs+ with placeholders, normalizing whitespace, and stripping ANSI+ codes. The result is hashed with SHA-256 so identical logical+ errors always group together, even if runtime values differ.</AccordionContent></AccordionItem><AccordionItem value="item-6" className="border-b-zinc-200"><AccordionTrigger className="text-zinc-900 hover:text-zinc-700 hover:no-underline text-left">- Is there a performance impact on the client?+ What is session replay?+ </AccordionTrigger>+ <AccordionContent className="text-zinc-600 leading-relaxed">+ Session replay records DOM changes in the browser. When an error+ occurs, Traceway captures approximately 10 seconds of user+ activity leading up to the exception - clicks, scrolls, form+ interactions, and page navigations. The replay is attached to+ the exception automatically, so you can see exactly what the+ user did without asking them to reproduce the issue.+ </AccordionContent>+ </AccordionItem>+ <AccordionItem value="item-7" className="border-b-zinc-200">+ <AccordionTrigger className="text-zinc-900 hover:text-zinc-700 hover:no-underline text-left">+ Does Traceway support OpenTelemetry?</AccordionTrigger><AccordionContent className="text-zinc-600 leading-relaxed">- We designed the Traceway agent to be extremely lightweight. It- uses efficient batching and asynchronous reporting to ensure it- has negligible impact on your application's latency or- throughput.+ Yes. If your services are already instrumented with+ OpenTelemetry, you can point your OTLP exporter at Traceway and+ start receiving data immediately. There's no proprietary+ SDK lock-in - use Traceway's lightweight middleware or any+ OTel-compatible instrumentation.</AccordionContent></AccordionItem></Accordion>diff --git a/website/app/privacy-policy/page.tsx b/website/app/privacy-policy/page.tsxnew file mode 100644index 00000000..83142a74--- /dev/null+++ b/website/app/privacy-policy/page.tsx@@ -0,0 +1,166 @@+import Link from "next/link";++export default function PrivacyPolicy() {+ return (+ <main className="min-h-screen bg-white text-zinc-950 font-sans">+ <div className="container mx-auto px-4 max-w-3xl py-20">+ <h1 className="text-4xl font-bold tracking-tight mb-2 text-zinc-900">+ Privacy Policy+ </h1>+ <p className="text-zinc-500 mb-12">Last updated: February 15, 2026</p>++ <div className="space-y-10 text-zinc-700 leading-relaxed">+ <section>+ <h2 className="text-xl font-semibold text-zinc-900 mb-3">+ 1. Introduction+ </h2>+ <p>+ Traceway (“we”, “our”, or+ “us”) operates the Traceway Cloud platform and the+ tracewayapp.com website. This Privacy Policy explains how we+ collect, use, and protect your information when you use our+ services.+ </p>+ </section>++ <section>+ <h2 className="text-xl font-semibold text-zinc-900 mb-3">+ 2. Information We Collect+ </h2>+ <h3 className="font-medium text-zinc-900 mt-4 mb-2">+ Account Data+ </h3>+ <p>+ When you create an account, we collect your name, email address,+ and organization name. This information is stored in our PostgreSQL+ database and is used to manage your account and provide access to+ your projects.+ </p>+ <h3 className="font-medium text-zinc-900 mt-4 mb-2">+ Telemetry Data+ </h3>+ <p>+ When you integrate the Traceway SDK or send OpenTelemetry data to+ Traceway Cloud, we receive application telemetry including HTTP+ request metadata (endpoints, status codes, response times),+ exception stack traces, session replay recordings, and system+ metrics (CPU, memory usage). This data is stored in ClickHouse and+ is scoped to your project.+ </p>+ <h3 className="font-medium text-zinc-900 mt-4 mb-2">Usage Data</h3>+ <p>+ We may collect basic analytics about how you interact with the+ Traceway dashboard, such as pages visited and features used. This+ helps us improve the product experience.+ </p>+ </section>++ <section>+ <h2 className="text-xl font-semibold text-zinc-900 mb-3">+ 3. How We Use Your Data+ </h2>+ <ul className="list-disc pl-5 space-y-2">+ <li>To provide and operate the Traceway Cloud platform</li>+ <li>+ To display your application's telemetry data in the+ dashboard+ </li>+ <li>To calculate Impact Scores and prioritize issues</li>+ <li>To send important service-related communications</li>+ <li>To improve and develop new features</li>+ </ul>+ </section>++ <section>+ <h2 className="text-xl font-semibold text-zinc-900 mb-3">+ 4. Data Retention+ </h2>+ <p>+ Telemetry data (transactions, exceptions, metrics) is retained+ according to your plan's retention period. Account data is+ retained for as long as your account is active. You may request+ deletion of your account and associated data at any time by+ contacting us.+ </p>+ </section>++ <section>+ <h2 className="text-xl font-semibold text-zinc-900 mb-3">+ 5. Data Security+ </h2>+ <p>+ We implement appropriate technical and organizational measures to+ protect your data. All data in transit is encrypted via TLS.+ Access to production systems is restricted and audited.+ </p>+ </section>++ <section>+ <h2 className="text-xl font-semibold text-zinc-900 mb-3">+ 6. Third-Party Services+ </h2>+ <p>+ Traceway Cloud may use third-party infrastructure providers for+ hosting and data storage. We do not sell your data to third+ parties. We may use service providers for email delivery and+ payment processing, who are bound by their own privacy policies.+ </p>+ </section>++ <section>+ <h2 className="text-xl font-semibold text-zinc-900 mb-3">+ 7. Open-Source Self-Hosted Version+ </h2>+ <p>+ Traceway is available as an open-source, self-hosted solution.+ When you self-host Traceway, all data remains entirely on your own+ infrastructure. We do not collect any data from self-hosted+ instances. The self-hosted version is provided “as is”+ with no guarantees regarding data handling, security, or+ availability. You are solely responsible for the configuration,+ security, and maintenance of your self-hosted deployment.+ </p>+ </section>++ <section>+ <h2 className="text-xl font-semibold text-zinc-900 mb-3">+ 8. Your Rights+ </h2>+ <p>+ You have the right to access, correct, or delete your personal+ data. You may also request an export of your data. To exercise+ these rights, please contact us using the information below.+ </p>+ </section>++ <section>+ <h2 className="text-xl font-semibold text-zinc-900 mb-3">+ 9. Changes to This Policy+ </h2>+ <p>+ We may update this Privacy Policy from time to time. We will+ notify you of any material changes by posting the updated policy on+ this page with a revised “Last updated” date.+ </p>+ </section>++ <section>+ <h2 className="text-xl font-semibold text-zinc-900 mb-3">+ 10. Contact+ </h2>+ <p>+ If you have any questions about this Privacy Policy, please{" "}+ <Link+ href="/contact"+ className="text-zinc-900 underline hover:text-zinc-600 transition-colors"+ >+ contact us+ </Link>+ .+ </p>+ </section>+ </div>+ </div>+ </main>+ );+}diff --git a/website/app/product/issue-tracking/page.tsx b/website/app/product/issue-tracking/page.tsxindex bd8f7d4e..13c5384d 100644--- a/website/app/product/issue-tracking/page.tsx+++ b/website/app/product/issue-tracking/page.tsx@@ -13,6 +13,7 @@ const frameworks = [{ name: "Next.js", src: "/images/frameworks/nextjs.png" },{ name: "Svelte", src: "/images/frameworks/svelte.png" },{ name: "Remix", src: "/images/frameworks/remix.png" },+ { name: "OpenTelemetry", src: "/images/frameworks/otel.png" },];export default function IssueTrackingPage() {@@ -76,7 +77,7 @@ export default function IssueTrackingPage() {</div><div className="flex-1 w-full relative"><div className="absolute inset-0 bg-gradient-to-tr from-blue-100/50 to-transparent rounded-3xl transform rotate-3 scale-105 -z-10"></div>- <div className="relative rounded-xl overflow-hidden border border-zinc-200 shadow-2xl shadow-zinc-200/50 bg-white">+ <div className="relative rounded-xl overflow-hidden border border-zinc-200 bg-white"><Imagesrc="/images/screenshot-2.png"alt="Issue Ranking Dashboard"@@ -120,7 +121,7 @@ export default function IssueTrackingPage() {</div><div className="flex-1 w-full relative"><div className="absolute inset-0 bg-gradient-to-tl from-orange-100/50 to-transparent rounded-3xl transform -rotate-3 scale-105 -z-10"></div>- <div className="relative rounded-xl overflow-hidden border border-zinc-200 shadow-2xl shadow-zinc-200/50 bg-white">+ <div className="relative rounded-xl overflow-hidden border border-zinc-200 bg-white"><Imagesrc="/images/screenshot-2.png"alt="Error Grouping Interface"@@ -154,7 +155,7 @@ export default function IssueTrackingPage() {alt={fw.name}width={40}height={40}- className="h-8 w-auto grayscale opacity-60 hover:grayscale-0 hover:opacity-100 transition-all duration-200"+ className="h-8 w-auto opacity-80 hover:opacity-100 transition-all duration-200"/>))}</div>diff --git a/website/app/product/performance/page.tsx b/website/app/product/performance/page.tsxindex a0e3c568..a4d0b880 100644--- a/website/app/product/performance/page.tsx+++ b/website/app/product/performance/page.tsx@@ -66,7 +66,7 @@ export default function PerformancePage() {</div><div className="flex-1 w-full relative"><div className="absolute inset-0 bg-gradient-to-tr from-blue-100/50 to-transparent rounded-3xl transform rotate-3 scale-105 -z-10"></div>- <div className="relative rounded-xl overflow-hidden border border-zinc-200 shadow-2xl shadow-zinc-200/50 bg-white">+ <div className="relative rounded-xl overflow-hidden border border-zinc-200 bg-white"><Imagesrc="/images/screenshot-1.png"alt="Endpoint Analytics"@@ -110,7 +110,7 @@ export default function PerformancePage() {</div><div className="flex-1 w-full relative"><div className="absolute inset-0 bg-gradient-to-tl from-orange-100/50 to-transparent rounded-3xl transform -rotate-3 scale-105 -z-10"></div>- <div className="relative rounded-xl overflow-hidden border border-zinc-200 shadow-2xl shadow-zinc-200/50 bg-white">+ <div className="relative rounded-xl overflow-hidden border border-zinc-200 bg-white"><Imagesrc="/images/screenshot-3.png"alt="Span Waterfall View"@@ -154,7 +154,7 @@ export default function PerformancePage() {</div><div className="flex-1 w-full relative"><div className="absolute inset-0 bg-gradient-to-tr from-green-100/50 to-transparent rounded-3xl transform rotate-3 scale-105 -z-10"></div>- <div className="relative rounded-xl overflow-hidden border border-zinc-200 shadow-2xl shadow-zinc-200/50 bg-white">+ <div className="relative rounded-xl overflow-hidden border border-zinc-200 bg-white"><Imagesrc="/images/screenshot-4.png"alt="Server Metrics Dashboard"diff --git a/website/app/product/session-replay/page.tsx b/website/app/product/session-replay/page.tsxnew file mode 100644index 00000000..df823a24--- /dev/null+++ b/website/app/product/session-replay/page.tsx@@ -0,0 +1,181 @@+import Image from "next/image";+import Link from "next/link";+import { Button } from "@/components/ui/button";+import { Badge } from "@/components/ui/badge";+import { Accordion, AccordionContent, AccordionItem, AccordionTrigger } from "@/components/ui/accordion";+import { ArrowRight, Video, Zap, ShieldCheck } from "lucide-react";++export default function SessionReplayPage() {+ 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-purple-50 text-purple-700 hover:bg-purple-100 px-2.5 py-0.5 border border-purple-100 text-xs font-normal rounded-full">+ Session Replay+ </Badge>+ <h1 className="text-4xl md:text-6xl font-bold tracking-tight mb-6 text-zinc-900">+ See what caused <br /> <span className="text-transparent bg-clip-text bg-gradient-to-r from-purple-600 to-violet-600">every error</span>+ </h1>+ <p className="text-zinc-600 text-lg md:text-xl max-w-2xl mx-auto mb-10 leading-relaxed font-medium">+ Skip the log-digging and reproduction steps. Watch the user's actual clicks, scrolls, and navigations leading up to every exception.+ </p>+ <div className="flex flex-col sm:flex-row items-center justify-center gap-3">+ <Link href="https://docs.tracewayapp.com">+ <Button size="lg" className="h-10 px-6 text-sm bg-zinc-900 text-white hover:bg-zinc-800 shadow-lg shadow-zinc-900/20">+ Get Started <ArrowRight className="ml-2 h-4 w-4" />+ </Button>+ </Link>+ <Link href="http://cloud.tracewayapp.com/register">+ <Button variant="outline" size="lg" className="h-10 px-6 text-sm border-zinc-200 bg-white hover:bg-zinc-50 text-zinc-900 shadow-sm">+ Try Traceway Cloud+ </Button>+ </Link>+ </div>+ </div>+ </section>++ {/* Watch the moments before every error */}+ <section className="py-24 bg-white border-y border-zinc-100">+ <div className="container mx-auto px-4 max-w-5xl">+ <div className="flex flex-col md:flex-row items-center gap-12 lg:gap-20">+ <div className="flex-1 space-y-6">+ <div className="w-12 h-12 bg-purple-50 rounded-2xl flex items-center justify-center">+ <Video className="w-6 h-6 text-purple-600" />+ </div>+ <h2 className="text-2xl md:text-3xl font-bold text-zinc-900 tracking-tight">Watch the moments before every error</h2>+ <p className="text-zinc-600 text-lg leading-relaxed">+ Traceway captures user activity leading up to exceptions - clicks, scrolls, form fills, and page navigations.+ When something breaks, you see exactly what happened.+ </p>+ <ul className="space-y-3 pt-2">+ <li className="flex items-center gap-3 text-zinc-700">+ <div className="w-1.5 h-1.5 rounded-full bg-purple-500"></div>+ Pre-error activity capture+ </li>+ <li className="flex items-center gap-3 text-zinc-700">+ <div className="w-1.5 h-1.5 rounded-full bg-purple-500"></div>+ Clicks, scrolls, and form interactions+ </li>+ <li className="flex items-center gap-3 text-zinc-700">+ <div className="w-1.5 h-1.5 rounded-full bg-purple-500"></div>+ Page navigation timeline+ </li>+ </ul>+ </div>+ <div className="flex-1 w-full relative">+ <div className="absolute inset-0 bg-gradient-to-tr from-purple-100/50 to-transparent rounded-3xl transform rotate-3 scale-105 -z-10"></div>+ <div className="relative rounded-xl overflow-hidden border border-zinc-200 bg-white">+ <Image+ src="/images/session-replay.png"+ alt="Session Replay Interface"+ width={800}+ height={600}+ className="w-full h-auto"+ />+ </div>+ </div>+ </div>+ </div>+ </section>++ {/* Attached to every exception + Built for privacy */}+ <section className="py-24 bg-zinc-50/50">+ <div className="container mx-auto px-4 max-w-5xl">+ <div className="grid grid-cols-1 md:grid-cols-2 gap-8">+ <div className="rounded-2xl border border-zinc-200 bg-white p-8 space-y-5">+ <div className="w-12 h-12 bg-orange-50 rounded-2xl flex items-center justify-center">+ <Zap className="w-6 h-6 text-orange-600" />+ </div>+ <h2 className="text-xl md:text-2xl font-bold text-zinc-900 tracking-tight">Attached to every exception automatically</h2>+ <p className="text-zinc-600 leading-relaxed">+ No manual setup or reproduction steps. Every exception gets a replay attached automatically.+ Click into any issue and watch exactly what the user did.+ </p>+ <ul className="space-y-3 pt-1">+ <li className="flex items-center gap-3 text-zinc-700">+ <div className="w-1.5 h-1.5 rounded-full bg-orange-500"></div>+ Zero-config capture+ </li>+ <li className="flex items-center gap-3 text-zinc-700">+ <div className="w-1.5 h-1.5 rounded-full bg-orange-500"></div>+ Linked directly to exceptions+ </li>+ <li className="flex items-center gap-3 text-zinc-700">+ <div className="w-1.5 h-1.5 rounded-full bg-orange-500"></div>+ No reproduction needed+ </li>+ </ul>+ </div>++ <div className="rounded-2xl border border-zinc-200 bg-white p-8 space-y-5">+ <div className="w-12 h-12 bg-green-50 rounded-2xl flex items-center justify-center">+ <ShieldCheck className="w-6 h-6 text-green-600" />+ </div>+ <h2 className="text-xl md:text-2xl font-bold text-zinc-900 tracking-tight">Built for privacy</h2>+ <p className="text-zinc-600 leading-relaxed">+ Sensitive inputs are masked by default. Passwords, credit cards, and personal data are never recorded.+ You see the interaction flow, not the private content.+ </p>+ <ul className="space-y-3 pt-1">+ <li className="flex items-center gap-3 text-zinc-700">+ <div className="w-1.5 h-1.5 rounded-full bg-green-500"></div>+ Sensitive input masking+ </li>+ <li className="flex items-center gap-3 text-zinc-700">+ <div className="w-1.5 h-1.5 rounded-full bg-green-500"></div>+ No passwords or payment data recorded+ </li>+ <li className="flex items-center gap-3 text-zinc-700">+ <div className="w-1.5 h-1.5 rounded-full bg-green-500"></div>+ Compliant by default+ </li>+ </ul>+ </div>+ </div>+ </div>+ </section>++ {/* FAQ Section */}+ <section className="py-24 bg-zinc-50 border-t border-zinc-100">+ <div className="container mx-auto px-4 max-w-3xl">+ <div className="text-center mb-12">+ <h2 className="text-3xl font-bold mb-4 text-zinc-900 tracking-tight">Frequently Asked Questions</h2>+ <p className="text-zinc-600 text-lg">+ Common questions about session replay with Traceway.+ </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">+ How does session replay work?+ </AccordionTrigger>+ <AccordionContent className="text-zinc-600 leading-relaxed">+ Traceway records DOM changes in the browser. When an exception occurs, approximately 10 seconds of user activity+ is captured and attached to the error automatically.+ </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">+ Does session replay affect performance?+ </AccordionTrigger>+ <AccordionContent className="text-zinc-600 leading-relaxed">+ The recording adds minimal overhead. Captures run in the background and only the relevant buffer is sent when an error occurs.+ </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">+ What about user privacy?+ </AccordionTrigger>+ <AccordionContent className="text-zinc-600 leading-relaxed">+ Sensitive fields are masked by default. Passwords, credit card numbers, and other private inputs are never captured.+ </AccordionContent>+ </AccordionItem>+ </Accordion>+ </div>+ </section>+ </main>+ );+}diff --git a/website/app/terms-of-use/page.tsx b/website/app/terms-of-use/page.tsxnew file mode 100644index 00000000..21b26404--- /dev/null+++ b/website/app/terms-of-use/page.tsx@@ -0,0 +1,182 @@+import Link from "next/link";++export default function TermsOfUse() {+ return (+ <main className="min-h-screen bg-white text-zinc-950 font-sans">+ <div className="container mx-auto px-4 max-w-3xl py-20">+ <h1 className="text-4xl font-bold tracking-tight mb-2 text-zinc-900">+ Terms of Use+ </h1>+ <p className="text-zinc-500 mb-12">Last updated: February 15, 2026</p>++ <div className="space-y-10 text-zinc-700 leading-relaxed">+ <section>+ <h2 className="text-xl font-semibold text-zinc-900 mb-3">+ 1. Acceptance of Terms+ </h2>+ <p>+ By accessing or using Traceway Cloud (“the Service”),+ you agree to be bound by these Terms of Use. If you do not agree+ to these terms, you may not use the Service. These terms apply to+ the Traceway Cloud offering operated by Traceway (“we”,+ “our”, or “us”).+ </p>+ </section>++ <section>+ <h2 className="text-xl font-semibold text-zinc-900 mb-3">+ 2. Description of Service+ </h2>+ <p>+ Traceway Cloud is a hosted application monitoring platform that+ provides endpoint analytics, exception tracking, session replay,+ and Impact Score prioritization. The Service ingests telemetry data+ from your applications via the Traceway SDK or OpenTelemetry and+ presents it through a web dashboard.+ </p>+ </section>++ <section>+ <h2 className="text-xl font-semibold text-zinc-900 mb-3">+ 3. Account Responsibilities+ </h2>+ <p>+ You are responsible for maintaining the confidentiality of your+ account credentials and project tokens. You are responsible for all+ activity that occurs under your account. You agree to notify us+ immediately of any unauthorized use of your account.+ </p>+ </section>++ <section>+ <h2 className="text-xl font-semibold text-zinc-900 mb-3">+ 4. Acceptable Use+ </h2>+ <p>You agree not to:</p>+ <ul className="list-disc pl-5 space-y-2 mt-2">+ <li>+ Use the Service for any unlawful purpose or in violation of any+ applicable laws+ </li>+ <li>+ Attempt to gain unauthorized access to the Service or its+ related systems+ </li>+ <li>+ Interfere with or disrupt the integrity or performance of the+ Service+ </li>+ <li>+ Transmit any malicious code, viruses, or harmful data through+ the Service+ </li>+ <li>+ Resell, sublicense, or redistribute the Service without our+ prior written consent+ </li>+ </ul>+ </section>++ <section>+ <h2 className="text-xl font-semibold text-zinc-900 mb-3">+ 5. Open-Source License Disclaimer+ </h2>+ <p>+ Traceway is available as open-source software for self-hosting.+ The self-hosted version is provided “as is” without+ warranty of any kind, express or implied, including but not limited+ to the warranties of merchantability, fitness for a particular+ purpose, and non-infringement. Traceway takes no responsibility+ for any issues, data loss, security vulnerabilities, or downtime+ arising from customer self-hosted deployments. You are solely+ responsible for the operation, maintenance, and security of your+ self-hosted instance.+ </p>+ </section>++ <section>+ <h2 className="text-xl font-semibold text-zinc-900 mb-3">+ 6. Intellectual Property+ </h2>+ <p>+ The Traceway name, logo, and branding are the property of+ Traceway. The Traceway Cloud platform design, proprietary+ infrastructure, and service delivery are owned by us. The+ open-source codebase is licensed under its respective open-source+ license.+ </p>+ </section>++ <section>+ <h2 className="text-xl font-semibold text-zinc-900 mb-3">+ 7. Limitation of Liability+ </h2>+ <p>+ To the maximum extent permitted by applicable law, Traceway shall+ not be liable for any indirect, incidental, special,+ consequential, or punitive damages, or any loss of profits or+ revenues, whether incurred directly or indirectly, or any loss of+ data, use, goodwill, or other intangible losses resulting from+ your use of or inability to use the Service.+ </p>+ </section>++ <section>+ <h2 className="text-xl font-semibold text-zinc-900 mb-3">+ 8. Service Availability+ </h2>+ <p>+ We strive to maintain high availability of Traceway Cloud but do+ not guarantee uninterrupted access. We may perform scheduled+ maintenance with reasonable notice. We are not liable for any+ downtime or service interruptions.+ </p>+ </section>++ <section>+ <h2 className="text-xl font-semibold text-zinc-900 mb-3">+ 9. Termination+ </h2>+ <p>+ We may suspend or terminate your access to the Service at any time+ for violation of these terms or for any other reason at our sole+ discretion. You may terminate your account at any time by+ contacting us. Upon termination, your right to use the Service+ ceases immediately. We may delete your data after a reasonable+ retention period following termination.+ </p>+ </section>++ <section>+ <h2 className="text-xl font-semibold text-zinc-900 mb-3">+ 10. Changes to Terms+ </h2>+ <p>+ We reserve the right to modify these Terms of Use at any time. We+ will notify you of material changes by posting the updated terms+ on this page with a revised “Last updated” date.+ Continued use of the Service after changes constitutes acceptance+ of the new terms.+ </p>+ </section>++ <section>+ <h2 className="text-xl font-semibold text-zinc-900 mb-3">+ 11. Contact+ </h2>+ <p>+ If you have any questions about these Terms of Use, please{" "}+ <Link+ href="/contact"+ className="text-zinc-900 underline hover:text-zinc-600 transition-colors"+ >+ contact us+ </Link>+ .+ </p>+ </section>+ </div>+ </div>+ </main>+ );+}diff --git a/website/components/code-tabs.tsx b/website/components/code-tabs.tsxindex b7502457..9a629563 100644--- a/website/components/code-tabs.tsx+++ b/website/components/code-tabs.tsx@@ -45,7 +45,7 @@ export function CodeTabs() {const [activeTab, setActiveTab] = useState(0);return (- <div className="rounded-lg overflow-hidden bg-white border border-zinc-200 shadow-xl shadow-zinc-200/50">+ <div className="rounded-lg overflow-hidden bg-white border border-zinc-200"><div className="flex items-center justify-between px-3 py-2 bg-zinc-50 border-b border-zinc-100"><div className="flex items-center gap-1.5"><div className="w-2.5 h-2.5 rounded-full bg-[#fe5f57]"></div>diff --git a/website/components/cost-comparison.tsx b/website/components/cost-comparison.tsxnew file mode 100644index 00000000..d3d7fed6--- /dev/null+++ b/website/components/cost-comparison.tsx@@ -0,0 +1,59 @@+import { DollarSign, Database, ShieldCheck } from "lucide-react";+import {+ Card,+ CardDescription,+ CardHeader,+ CardTitle,+} from "@/components/ui/card";++const cards = [+ {+ icon: DollarSign,+ iconBg: "bg-green-50",+ iconColor: "text-green-600",+ title: "No per-event pricing",+ description:+ "Competitors charge you more as you grow. Traceway runs on your infrastructure with predictable, fixed costs.",+ },+ {+ icon: Database,+ iconBg: "bg-blue-50",+ iconColor: "text-blue-600",+ title: "ClickHouse compression",+ description:+ "Columnar storage compresses 1 million daily events into ~2-3 GB per month. Your storage bill stays tiny.",+ },+ {+ icon: ShieldCheck,+ iconBg: "bg-orange-50",+ iconColor: "text-orange-600",+ title: "Fixed costs, not surprises",+ description:+ "A single server handles millions of events. No metered billing, no overage charges, no surprises.",+ },+];++export function CostComparison() {+ return (+ <div className="grid grid-cols-1 md:grid-cols-3 gap-6">+ {cards.map((card) => (+ <Card+ key={card.title}+ className="bg-white border-zinc-200 transition-all duration-300"+ >+ <CardHeader className="p-6 pt-0">+ <div+ className={`w-10 h-10 ${card.iconBg} rounded-lg flex items-center justify-center mb-3`}+ >+ <card.icon className={`w-5 h-5 ${card.iconColor}`} />+ </div>+ <CardTitle className="text-lg">{card.title}</CardTitle>+ <CardDescription className="text-zinc-500 text-sm mt-1.5">+ {card.description}+ </CardDescription>+ </CardHeader>+ </Card>+ ))}+ </div>+ );+}diff --git a/website/components/docker-command.tsx b/website/components/docker-command.tsxnew file mode 100644index 00000000..f26c4c4e--- /dev/null+++ b/website/components/docker-command.tsx@@ -0,0 +1,33 @@+"use client";++import { useState } from "react";+import { Check, Copy } from "lucide-react";++export function DockerCommand() {+ const [copied, setCopied] = useState(false);+ const command = "docker compose up -d";++ function handleCopy() {+ navigator.clipboard.writeText(command);+ setCopied(true);+ setTimeout(() => setCopied(false), 2000);+ }++ return (+ <div className="relative inline-flex items-center gap-3 rounded-lg bg-zinc-900 text-zinc-100 px-5 py-3 font-mono text-sm shadow-lg">+ <span className="text-zinc-500 select-none">$</span>+ <code>{command}</code>+ <button+ onClick={handleCopy}+ className="ml-2 text-zinc-400 hover:text-white transition-colors"+ aria-label="Copy command"+ >+ {copied ? (+ <Check className="h-4 w-4 text-green-400" />+ ) : (+ <Copy className="h-4 w-4" />+ )}+ </button>+ </div>+ );+}diff --git a/website/components/impact-score-visual.tsx b/website/components/impact-score-visual.tsxnew file mode 100644index 00000000..f43983f0--- /dev/null+++ b/website/components/impact-score-visual.tsx@@ -0,0 +1,122 @@+export function ImpactScoreVisual() {+ const endpoints = [+ {+ method: "POST",+ path: "/api/checkout",+ score: "Critical",+ color: "bg-red-100 text-red-700",+ p50: "320ms",+ p95: "1.8s",+ p99: "4.2s",+ requests: "12.4k",+ },+ {+ method: "GET",+ path: "/api/users",+ score: "High",+ color: "bg-orange-100 text-orange-700",+ p50: "85ms",+ p95: "420ms",+ p99: "1.1s",+ requests: "48.2k",+ },+ {+ method: "POST",+ path: "/api/upload",+ score: "Medium",+ color: "bg-yellow-100 text-yellow-700",+ p50: "210ms",+ p95: "680ms",+ p99: "950ms",+ requests: "3.1k",+ },+ {+ method: "GET",+ path: "/api/health",+ score: "Good",+ color: "bg-green-100 text-green-700",+ p50: "2ms",+ p95: "8ms",+ p99: "15ms",+ requests: "102k",+ },+ ];++ const slis = [+ "Inverted apdex variant",+ "Error rate floor",+ "P99 floor",+ "Client error floor",+ "Volume error floor",+ ];++ return (+ <div className="w-full">+ <div className="rounded-xl border border-zinc-200 bg-white overflow-hidden">+ {/* Window chrome */}+ <div className="flex items-center gap-1.5 px-4 py-3 bg-zinc-50 border-b border-zinc-100">+ <div className="w-2.5 h-2.5 rounded-full bg-[#fe5f57]"></div>+ <div className="w-2.5 h-2.5 rounded-full bg-[#fdbc2e]"></div>+ <div className="w-2.5 h-2.5 rounded-full bg-[#28c841]"></div>+ <span className="ml-3 text-[11px] font-medium text-zinc-400">+ Endpoints - Impact Score+ </span>+ </div>++ {/* Table header */}+ <div className="grid grid-cols-[1fr_90px_80px_80px_80px_70px] gap-2 px-4 py-2.5 bg-zinc-50/50 border-b border-zinc-100 text-[11px] font-semibold text-zinc-400 uppercase tracking-wider">+ <div>Endpoint</div>+ <div>Score</div>+ <div className="text-right">P50</div>+ <div className="text-right">P95</div>+ <div className="text-right">P99</div>+ <div className="text-right">Reqs</div>+ </div>++ {/* Table rows */}+ {endpoints.map((ep) => (+ <div+ key={ep.path}+ className="grid grid-cols-[1fr_90px_80px_80px_80px_70px] gap-2 px-4 py-3 border-b border-zinc-50 last:border-b-0 hover:bg-zinc-50/50 transition-colors"+ >+ <div className="font-mono text-sm text-zinc-800 truncate">+ <span className="text-zinc-400 font-medium">{ep.method}</span>{" "}+ {ep.path}+ </div>+ <div>+ <span+ className={`inline-flex items-center px-2 py-0.5 rounded-full text-[11px] font-semibold ${ep.color}`}+ >+ {ep.score}+ </span>+ </div>+ <div className="text-right text-sm text-zinc-600 font-mono">+ {ep.p50}+ </div>+ <div className="text-right text-sm text-zinc-600 font-mono">+ {ep.p95}+ </div>+ <div className="text-right text-sm text-zinc-600 font-mono">+ {ep.p99}+ </div>+ <div className="text-right text-sm text-zinc-500 font-mono">+ {ep.requests}+ </div>+ </div>+ ))}+ </div>++ {/* SLI note */}+ <p className="mt-4 text-center text-sm text-zinc-500">+ The Impact Score takes the{" "}+ <span className="font-medium text-zinc-700">max</span> across five SLIs:{" "}+ {slis.map((sli, i) => (+ <span key={sli}>+ <span className="font-medium text-zinc-600">{sli}</span>+ {i < slis.length - 1 ? ", " : "."}+ </span>+ ))}+ </p>+ </div>+ );+}diff --git a/website/components/mobile-nav.tsx b/website/components/mobile-nav.tsxindex 898c5dc3..764d8669 100644--- a/website/components/mobile-nav.tsx+++ b/website/components/mobile-nav.tsx@@ -59,6 +59,13 @@ export function MobileNav() {>Performance</Link>+ <Link+ href="/product/session-replay"+ className="text-lg font-medium text-zinc-600 hover:text-zinc-900 transition-colors pl-2"+ onClick={() => setIsOpen(false)}+ >+ Session Replay+ </Link><div className="border-t border-zinc-100"></div><Linkhref="/cloud"diff --git a/website/components/site-footer.tsx b/website/components/site-footer.tsxindex 9370c8d1..844c1cc6 100644--- a/website/components/site-footer.tsx+++ b/website/components/site-footer.tsx@@ -2,27 +2,82 @@ import Link from "next/link";export function SiteFooter() {return (- <footer className="py-8 border-t border-zinc-200 bg-white">- <div className="container mx-auto px-4 flex flex-col md:flex-row items-center justify-between text-zinc-500 text-xs">- <div className="font-medium">- © {new Date().getFullYear()} Traceway. All rights reserved.+ <footer className="py-10 border-t border-zinc-200 bg-white">+ <div className="container mx-auto px-4">+ <div className="grid grid-cols-2 md:grid-cols-4 gap-8 text-sm">+ <div>+ <h4 className="font-semibold text-zinc-900 mb-3">Product</h4>+ <ul className="space-y-2 text-zinc-500">+ <li>+ <Link href="/product/issue-tracking" className="hover:text-zinc-900 transition-colors">+ Issue Tracking+ </Link>+ </li>+ <li>+ <Link href="/product/performance" className="hover:text-zinc-900 transition-colors">+ Performance+ </Link>+ </li>+ <li>+ <Link href="/product/session-replay" className="hover:text-zinc-900 transition-colors">+ Session Replay+ </Link>+ </li>+ </ul>+ </div>+ <div>+ <h4 className="font-semibold text-zinc-900 mb-3">Resources</h4>+ <ul className="space-y-2 text-zinc-500">+ <li>+ <Link href="https://docs.tracewayapp.com" className="hover:text-zinc-900 transition-colors">+ Docs+ </Link>+ </li>+ <li>+ <Link href="https://github.com/tracewayapp/traceway" target="_blank" className="hover:text-zinc-900 transition-colors">+ GitHub+ </Link>+ </li>+ <li>+ <Link href="https://cloud.tracewayapp.com/[email protected]&password=demoaccount!" className="hover:text-zinc-900 transition-colors">+ Live Demo+ </Link>+ </li>+ </ul>+ </div>+ <div>+ <h4 className="font-semibold text-zinc-900 mb-3">Hosting</h4>+ <ul className="space-y-2 text-zinc-500">+ <li>+ <Link href="/cloud" className="hover:text-zinc-900 transition-colors">+ Cloud+ </Link>+ </li>+ </ul>+ </div>+ <div>+ <h4 className="font-semibold text-zinc-900 mb-3">About</h4>+ <ul className="space-y-2 text-zinc-500">+ <li>+ <Link href="/privacy-policy" className="hover:text-zinc-900 transition-colors">+ Privacy Policy+ </Link>+ </li>+ <li>+ <Link href="/terms-of-use" className="hover:text-zinc-900 transition-colors">+ Terms of Use+ </Link>+ </li>+ <li>+ <Link href="/contact" className="hover:text-zinc-900 transition-colors">+ Contact Us+ </Link>+ </li>+ </ul>+ </div></div>- <div className="flex items-center gap-6 mt-3 md:mt-0 font-medium">- <Link href="/product/issue-tracking" className="hover:text-zinc-900 transition-colors">- Issue Tracking- </Link>- <Link href="/product/performance" className="hover:text-zinc-900 transition-colors">- Performance- </Link>- <Link href="/cloud" className="hover:text-zinc-900 transition-colors">- Cloud- </Link>- <Link href="https://docs.tracewayapp.com" className="hover:text-zinc-900 transition-colors">- Docs- </Link>- <Link href="https://github.com/tracewayapp/traceway" className="hover:text-zinc-900 transition-colors">- GitHub- </Link>+ <div className="mt-8 pt-6 border-t border-zinc-100 text-xs text-zinc-400">+ © {new Date().getFullYear()} Traceway. All rights reserved.</div></div></footer>diff --git a/website/components/site-header.tsx b/website/components/site-header.tsxindex aa1b96b5..be000044 100644--- a/website/components/site-header.tsx+++ b/website/components/site-header.tsx@@ -4,7 +4,7 @@ import { useState, useRef, useEffect } from "react";import Link from "next/link";import Image from "next/image";import { Button } from "@/components/ui/button";-import { Github, AlertCircle, Activity, ChevronDown } from "lucide-react";+import { Github, AlertCircle, Activity, Video, ChevronDown } from "lucide-react";import { MobileNav } from "@/components/mobile-nav";export function SiteHeader() {@@ -79,6 +79,19 @@ export function SiteHeader() {<p className="text-xs text-zinc-500 mt-0.5">P50/P95/P99 percentiles, waterfall traces, and server metrics</p></div></Link>+ <Link+ href="/product/session-replay"+ className="flex items-start gap-3 rounded-md p-3 hover:bg-zinc-50 transition-colors"+ onClick={() => setOpen(false)}+ >+ <div className="w-8 h-8 bg-purple-50 rounded-lg flex items-center justify-center shrink-0 mt-0.5">+ <Video className="w-4 h-4 text-purple-600" />+ </div>+ <div>+ <div className="text-sm font-medium text-zinc-900">Session Replay</div>+ <p className="text-xs text-zinc-500 mt-0.5">See exactly what users did before every exception</p>+ </div>+ </Link></div>)}</div>diff --git a/website/components/ui/card.tsx b/website/components/ui/card.tsxindex 681ad980..b1198f32 100644--- a/website/components/ui/card.tsx+++ b/website/components/ui/card.tsx@@ -7,7 +7,7 @@ function Card({ className, ...props }: React.ComponentProps<"div">) {<divdata-slot="card"className={cn(- "bg-card text-card-foreground flex flex-col gap-6 rounded-xl border py-6 shadow-sm",+ "bg-card text-card-foreground flex flex-col gap-6 rounded-xl border py-6",className)}{...props}diff --git a/website/functions/api/contact.ts b/website/functions/api/contact.tsnew file mode 100644index 00000000..c95d5009--- /dev/null+++ b/website/functions/api/contact.ts@@ -0,0 +1,82 @@+interface Env {+ SENDGRID_API_KEY: string;+ SENDGRID_FROM_EMAIL: string;+ SENDGRID_TO_EMAIL: string;+}++export const onRequestPost: PagesFunction<Env> = async (context) => {+ const { request, env } = context;++ try {+ const formData = await request.json<any>();++ if (+ !formData.subject ||+ !formData.email ||+ !formData.message ||+ !formData.customerType+ ) {+ return new Response(+ JSON.stringify({ error: "Missing required fields" }),+ {+ status: 400,+ headers: { "Content-Type": "application/json" },+ }+ );+ }++ const msg = {+ personalizations: [+ {+ to: [{ email: env.SENDGRID_TO_EMAIL }],+ },+ ],+ from: { email: env.SENDGRID_FROM_EMAIL },+ subject: `New Contact Request: ${formData.subject}`,+ content: [+ {+ type: "text/plain",+ value: `+New contact request from Traceway website:++Subject: ${formData.subject}+Email: ${formData.email}+Customer Type: ${formData.customerType}++Message:+${formData.message}+ `.trim(),+ },+ ],+ };++ const response = await fetch("https://api.sendgrid.com/v3/mail/send", {+ method: "POST",+ headers: {+ Authorization: `Bearer ${env.SENDGRID_API_KEY}`,+ "Content-Type": "application/json",+ },+ body: JSON.stringify(msg),+ });++ if (!response.ok) {+ const errorText = await response.text();+ console.error("SendGrid Error:", errorText);+ throw new Error(`SendGrid API error: ${response.status}`);+ }++ return new Response(JSON.stringify({ success: true }), {+ status: 200,+ headers: { "Content-Type": "application/json" },+ });+ } catch (error) {+ console.error("Error processing request:", error);+ return new Response(+ JSON.stringify({ error: "Internal Server Error" }),+ {+ status: 500,+ headers: { "Content-Type": "application/json" },+ }+ );+ }+};diff --git a/website/public/images/frameworks/otel.png b/website/public/images/frameworks/otel.pngnew file mode 100644index 00000000..51d10498Binary files /dev/null and b/website/public/images/frameworks/otel.png differdiff --git a/website/public/images/session-replay.png b/website/public/images/session-replay.pngnew file mode 100644index 00000000..cb07a402Binary files /dev/null and b/website/public/images/session-replay.png differdiff --git a/website/tsconfig.json b/website/tsconfig.jsonindex 3a13f90a..ce37a954 100644--- a/website/tsconfig.json+++ b/website/tsconfig.json@@ -30,5 +30,5 @@".next/dev/types/**/*.ts","**/*.mts"],- "exclude": ["node_modules"]+ "exclude": ["node_modules", "functions"]}