The only tool you need to know what is happening and how to fix it.
Go alertingexception-trackerissue-trackinglogsmetricsmonitoringobservability-platformopen-telemetryotelsession-replaytelemetrytraces
flutter session replays page started
dduxd7ca33afc7e1
diff --git a/website/app/cloud/page.tsx b/website/app/cloud/page.tsxindex de22980e..cb143410 100644--- a/website/app/cloud/page.tsx+++ b/website/app/cloud/page.tsx@@ -12,9 +12,9 @@ import { CostComparison } from "@/components/cost-comparison";export default function CloudPage() {return (<main className="relative">- <section className="hero gridbg relative">+ <section className="hero hero-product gridbg relative"><AuroraBackground variant="hero" />- <div className="wrap relative z-10 max-w-3xl">+ <div className="wrap relative z-10"><Chip><CloudIcon className="h-3 w-3 inline mr-1" />Traceway Clouddiff --git a/website/app/contact/page.tsx b/website/app/contact/page.tsxindex d36dbbb7..9c447123 100644--- a/website/app/contact/page.tsx+++ b/website/app/contact/page.tsx@@ -1,188 +1,247 @@"use client";import { useState, FormEvent } from "react";+import { ChevronDown } from "lucide-react";import { Eyebrow } from "@/components/eyebrow";+const COUNTRIES = [+ "United States",+ "Canada",+ "United Kingdom",+ "Germany",+ "France",+ "Netherlands",+ "Spain",+ "Italy",+ "Sweden",+ "Poland",+ "India",+ "Australia",+ "Japan",+ "Singapore",+ "Brazil",+ "Mexico",+ "Other",+];++const COMPANY_SIZES = [+ "Just me",+ "2 – 10",+ "11 – 50",+ "51 – 200",+ "201 – 500",+ "500+",+];++const CALENDLY_URL =+ process.env.NEXT_PUBLIC_CALENDLY_URL ??+ "https://calendly.com/tracewayapp/demo";+export default function Contact() {- const [subject, setSubject] = useState("");+ const [firstName, setFirstName] = useState("");+ const [lastName, setLastName] = 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) {+ const [country, setCountry] = useState("");+ const [companySize, setCompanySize] = useState("");+ const [submitting, setSubmitting] = useState(false);++ 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");- }+ setSubmitting(true);++ const params = new URLSearchParams();+ const fullName = `${firstName.trim()} ${lastName.trim()}`.trim();+ if (fullName) params.set("name", fullName);+ if (email.trim()) params.set("email", email.trim());+ if (country) params.set("a1", country);+ if (companySize) params.set("a2", companySize);++ const url = `${CALENDLY_URL}${+ params.toString() ? `?${params.toString()}` : ""+ }`;+ window.location.href = url;}const inputStyle: React.CSSProperties = {- background: "var(--ink-2)",+ background: "color-mix(in oklab, var(--ink-0) 60%, transparent)",border: "1px solid var(--hair-2)",color: "var(--fg-0)",fontFamily: "var(--font-mono)",};+ const labelStyle: React.CSSProperties = {+ color: "var(--fg-0)",+ fontFamily: "var(--font-display)",+ };++ const helperStyle: React.CSSProperties = {+ color: "var(--fg-3)",+ fontFamily: "var(--font-mono)",+ };+return (<main className="relative">- <section className="wrap py-20">- <div className="max-w-xl mx-auto">- <Eyebrow>Contact</Eyebrow>- <h1 className="mt-4 mb-3">Get in touch</h1>- <p className="mb-10" style={{ color: "var(--fg-2)" }}>- Have a question or need help? Send us a message and we'll get- back to you.- </p>-- {status === "success" ? (- <div- className="rounded-[10px] p-6 text-center"- style={{- background: "color-mix(in oklab, var(--ok) 12%, transparent)",- border: "1px solid color-mix(in oklab, var(--ok) 30%, transparent)",- color: "var(--ok)",- }}+ <section className="hero gridbg relative overflow-hidden pt-20 pb-24">+ <div className="wrap relative z-10 max-w-3xl mx-auto">+ <div className="text-center mb-10">+ <Eyebrow>Book a demo</Eyebrow>+ <h1 className="mt-4">+ We'd love to hear from you.{" "}+ <em>Submit the form to pick a time.</em>+ </h1>+ <p+ className="mt-5 text-[17px] max-w-[560px] mx-auto"+ style={{ color: "var(--fg-2)" }}>- <p className="font-medium">- Thank you for reaching out! We'll get back to you soon.- </p>+ Tell us a bit about you and your team. On submit we'll hand+ you over to Calendly so you can grab a 30-minute slot.+ </p>+ </div>++ <form+ onSubmit={handleSubmit}+ className="rounded-[14px] p-6 md:p-8"+ style={{+ background:+ "linear-gradient(180deg, color-mix(in oklab, var(--ink-2) 80%, transparent), color-mix(in oklab, var(--ink-1) 60%, transparent))",+ border: "1px solid var(--hair-2)",+ boxShadow: "0 30px 60px -30px rgba(0, 0, 0, 0.5)",+ }}+ >+ {/* Name row */}+ <div className="grid grid-cols-1 md:grid-cols-2 gap-4">+ <input+ type="text"+ required+ value={firstName}+ onChange={(e) => setFirstName(e.target.value)}+ placeholder="First name"+ aria-label="First name"+ className="w-full px-4 py-3.5 rounded-md text-[15px] outline-none focus:border-[color:var(--a1)] transition-colors"+ style={inputStyle}+ />+ <input+ type="text"+ required+ value={lastName}+ onChange={(e) => setLastName(e.target.value)}+ placeholder="Last name"+ aria-label="Last name"+ className="w-full px-4 py-3.5 rounded-md text-[15px] outline-none focus:border-[color:var(--a1)] transition-colors"+ style={inputStyle}+ /></div>- ) : (- <form onSubmit={handleSubmit} className="space-y-5">- <div>- <label- htmlFor="subject"- className="block text-sm font-medium mb-1.5"- style={{ color: "var(--fg-0)", fontFamily: "var(--font-display)" }}- >- Subject- </label>- <input- id="subject"- type="text"- required- value={subject}- onChange={(e) => setSubject(e.target.value)}- className="w-full rounded-md px-3 py-2.5 text-sm outline-none focus:ring-2 transition"- style={{- ...inputStyle,- ["--tw-ring-color" as string]: "var(--a1)",- }}- placeholder="What can we help with?"- />- </div>- <div>- <label- htmlFor="email"- className="block text-sm font-medium mb-1.5"- style={{ color: "var(--fg-0)", fontFamily: "var(--font-display)" }}- >- </label>- <input- id="email"- type="email"- required- value={email}- onChange={(e) => setEmail(e.target.value)}- className="w-full rounded-md px-3 py-2.5 text-sm outline-none focus:ring-2 transition"- style={inputStyle}- placeholder="[email protected]"- />- </div>+ {/* Email */}+ <input+ type="email"+ required+ value={email}+ onChange={(e) => setEmail(e.target.value)}+ placeholder="Email*"+ aria-label="Email address"+ className="mt-4 w-full px-4 py-3.5 rounded-md text-[15px] outline-none focus:border-[color:var(--a1)] transition-colors"+ style={inputStyle}+ />- <div>- <label- htmlFor="customerType"- className="block text-sm font-medium mb-1.5"- style={{ color: "var(--fg-0)", fontFamily: "var(--font-display)" }}- >- Customer type- </label>+ {/* Country */}+ <div className="mt-8">+ <label+ htmlFor="country"+ className="block text-[15px] font-medium"+ style={labelStyle}+ >+ Which country is your company's headquarters based in?{" "}+ <span style={{ color: "var(--crit)" }}>*</span>+ </label>+ <p className="mt-1 text-[13px]" style={helperStyle}>+ This info will help us connect you to the right person.+ </p>+ <div className="mt-3 relative"><select- id="customerType"+ id="country"required- value={customerType}- onChange={(e) => setCustomerType(e.target.value)}- className="w-full rounded-md px-3 py-2.5 text-sm outline-none focus:ring-2 transition"+ value={country}+ onChange={(e) => setCountry(e.target.value)}+ className="w-full appearance-none px-4 py-3.5 pr-10 rounded-md text-[15px] outline-none focus:border-[color:var(--a1)] transition-colors"style={inputStyle}><option value="" disabled>Select an option</option>- <option value="Existing Customer">Existing Customer</option>- <option value="New Customer">New Customer</option>+ {COUNTRIES.map((c) => (+ <option key={c} value={c}>+ {c}+ </option>+ ))}</select>+ <ChevronDown+ className="absolute right-3 top-1/2 -translate-y-1/2 pointer-events-none"+ size={18}+ style={{ color: "var(--fg-3)" }}+ /></div>+ </div>- <div>- <label- htmlFor="message"- className="block text-sm font-medium mb-1.5"- style={{ color: "var(--fg-0)", fontFamily: "var(--font-display)" }}- >- Message- </label>- <textarea- id="message"+ {/* Company size */}+ <div className="mt-7">+ <label+ htmlFor="company-size"+ className="block text-[15px] font-medium"+ style={labelStyle}+ >+ How many employees work at your company?{" "}+ <span style={{ color: "var(--crit)" }}>*</span>+ </label>+ <p className="mt-1 text-[13px]" style={helperStyle}>+ This info will help us connect you to the right person.+ </p>+ <div className="mt-3 relative">+ <select+ id="company-size"required- rows={5}- value={message}- onChange={(e) => setMessage(e.target.value)}- className="w-full rounded-md px-3 py-2.5 text-sm outline-none focus:ring-2 transition resize-none"+ value={companySize}+ onChange={(e) => setCompanySize(e.target.value)}+ className="w-full appearance-none px-4 py-3.5 pr-10 rounded-md text-[15px] outline-none focus:border-[color:var(--a1)] transition-colors"style={inputStyle}- placeholder="Tell us more..."+ >+ <option value="" disabled>+ Select an option+ </option>+ {COMPANY_SIZES.map((c) => (+ <option key={c} value={c}>+ {c}+ </option>+ ))}+ </select>+ <ChevronDown+ className="absolute right-3 top-1/2 -translate-y-1/2 pointer-events-none"+ size={18}+ style={{ color: "var(--fg-3)" }}/></div>+ </div>- {status === "error" && (- <div- className="rounded-md px-4 py-3 text-sm"- style={{- background: "color-mix(in oklab, var(--crit) 12%, transparent)",- border: "1px solid color-mix(in oklab, var(--crit) 30%, transparent)",- color: "var(--crit)",- }}- >- {errorMessage}- </div>- )}-+ <div className="mt-8 flex justify-center"><buttontype="submit"- disabled={status === "loading"}- className="btn btn-accent w-full justify-center disabled:opacity-60 disabled:cursor-not-allowed"+ disabled={submitting}+ className="btn btn-accent px-10 py-3 min-w-[200px] justify-center disabled:opacity-60 disabled:cursor-not-allowed">- {status === "loading" ? "Sending..." : "Send Message"}+ {submitting ? "Redirecting…" : "Submit"}</button>- </form>- )}+ </div>++ <p+ className="mt-5 text-center text-[12px]"+ style={{+ color: "var(--fg-3)",+ fontFamily: "var(--font-mono)",+ }}+ >+ We'll redirect you to Calendly with your info pre-filled.+ </p>+ </form></div></section></main>diff --git a/website/app/globals.css b/website/app/globals.cssindex 390445ba..43164afe 100644--- a/website/app/globals.css+++ b/website/app/globals.css@@ -405,6 +405,24 @@padding: 80px 0 60px;position: relative;}++ /* Compact hero variant for product / cloud pages — narrower container+ means the huge home-size H1 would wrap to 3 lines and dominate the fold. */+ .hero-product {+ padding: 56px 0 48px;+ }+ .hero-product h1 {+ font-size: clamp(34px, 4vw, 54px);+ line-height: 1.08;+ letter-spacing: -0.025em;+ }+ .hero-product .hero-sub {+ font-size: 17px;+ margin-top: 18px;+ }+ .hero-product .hero-cta-row {+ margin-top: 24px;+ }.hero h1 em {font-style: normal;background: linear-gradient(90deg, var(--a2), var(--a1) 60%, var(--a3));diff --git a/website/app/product/ai-tracing/page.tsx b/website/app/product/ai-tracing/page.tsxindex a7b4dd92..073ed5b0 100644--- a/website/app/product/ai-tracing/page.tsx+++ b/website/app/product/ai-tracing/page.tsx@@ -13,9 +13,9 @@ import { Eyebrow } from "@/components/eyebrow";export default function AiTracingPage() {return (<main className="relative">- <section className="hero gridbg relative">+ <section className="hero hero-product gridbg relative"><AuroraBackground variant="hero" />- <div className="wrap relative z-10 max-w-3xl">+ <div className="wrap relative z-10"><Chip><Workflow className="h-3 w-3 inline mr-1" />AI Tracingdiff --git a/website/app/product/flutter-session-replay/page.tsx b/website/app/product/flutter-session-replay/page.tsxnew file mode 100644index 00000000..b46875b8--- /dev/null+++ b/website/app/product/flutter-session-replay/page.tsx@@ -0,0 +1,146 @@+import Link from "next/link";+import { Smartphone, Github, ArrowRight } from "lucide-react";++import { Chip } from "@/components/chip";+import { Eyebrow } from "@/components/eyebrow";+import { SectionHead } from "@/components/section-head";+import { StatsStrip } from "@/components/stats-strip";+import { FinalCTA } from "@/components/final-cta";+import { Terminal } from "@/components/terminal";+import { AuroraBackground } from "@/components/aurora-background";++export default function FlutterSessionReplayPage() {+ return (+ <main className="relative">+ {/* 1. HERO */}+ <section className="hero hero-product gridbg relative">+ <AuroraBackground variant="hero" />+ <div className="wrap relative z-10">+ <Chip>+ <Smartphone className="h-3 w-3 inline mr-1" />+ Flutter Session Replay+ </Chip>+ <h1 className="mt-6">+ See the crash. <em>Not just the trace.</em>+ </h1>+ <p className="hero-sub">+ Full-screen session recording, pinned to every stack trace. Four+ lines of setup. Zero frame drops on your app.+ </p>+ <div className="hero-cta-row">+ <Link+ href="https://cloud.tracewayapp.com/register"+ className="btn btn-accent"+ >+ Start free+ <ArrowRight className="h-4 w-4" />+ </Link>+ <Link+ href="https://github.com/tracewayapp/traceway-flutter"+ target="_blank"+ rel="noopener noreferrer"+ className="btn btn-ghost"+ >+ <Github className="h-4 w-4" />+ View on GitHub+ </Link>+ </div>++ {/* Free-tier chip — the page's sharpest offer, front-loaded */}+ <div className="mt-5">+ <Chip variant="ok">+ <span+ style={{+ fontFamily: "var(--font-mono)",+ letterSpacing: "0.04em",+ }}+ >+ 10,000 recordings / month — free, forever+ </span>+ </Chip>+ </div>+ </div>+ </section>++ {/* 2. THE 4 LINES */}+ <section className="wrap py-20">+ <div className="grid gap-12 md:grid-cols-[1fr_1.1fr] items-center">+ <div>+ <Eyebrow>Setup</Eyebrow>+ <h2 className="mt-3">+ Paste four lines. <em>Ship.</em>+ </h2>+ <p className="muted mt-4 max-w-[460px]">+ Recording starts on the first frame. Every exception carries the+ replay ID automatically — open any stack trace in the Traceway+ dashboard, press play.+ </p>+ <p+ className="mt-4 text-[13px]"+ style={{+ color: "var(--fg-3)",+ fontFamily: "var(--font-mono)",+ }}+ >+ // <code>flutter pub add traceway</code> to install.+ </p>+ </div>+ <Terminal+ title="main.dart"+ lines={[+ { type: "cmd", content: "Traceway.run(" },+ {+ type: "tx",+ content:+ " connectionString: '[email protected]/api/report',",+ },+ { type: "tx", content: " options: TracewayOptions(screenCapture: true)," },+ { type: "cmd", content: " child: MyApp());" },+ ]}+ showCursor+ />+ </div>+ </section>++ {/* 3. BENCHMARKS */}+ <section className="wrap py-20">+ <SectionHead+ eyebrow="Measured on real hardware"+ title={+ <>+ No frame drops. <em>No battery spike.</em>+ </>+ }+ description="Benchmarked on Pixel 5, Pixel 6, and Pixel 8 via Firebase Test Lab. Full harness open source — run it yourself on your own device tier."+ />+ <StatsStrip+ stats={[+ { num: "<em>0%</em>", label: "Frame-time regression at p50" },+ { num: "<em>5–12</em>MB", label: "Steady-state RAM footprint" },+ { num: "<em>15</em> FPS", label: "Default capture rate" },+ { num: "<em>~250</em>KB", label: "per 10-second recording" },+ ]}+ />+ </section>++ {/* 4. FINAL CTA */}+ <FinalCTA+ title={+ <>+ Ship it <em>before your next release.</em>+ </>+ }+ description="10,000 recordings every month. Free. Forever. No card required."+ primary={{+ label: "Create your project",+ href: "https://cloud.tracewayapp.com/register",+ }}+ secondary={{+ label: "View on GitHub",+ href: "https://github.com/tracewayapp/traceway-flutter",+ external: true,+ }}+ />+ </main>+ );+}diff --git a/website/app/product/logs/page.tsx b/website/app/product/logs/page.tsxindex b78f39fb..972eb55a 100644--- a/website/app/product/logs/page.tsx+++ b/website/app/product/logs/page.tsx@@ -12,9 +12,9 @@ import { AuroraBackground } from "@/components/aurora-background";export default function LogsPage() {return (<main className="relative">- <section className="hero gridbg relative">+ <section className="hero hero-product gridbg relative"><AuroraBackground variant="hero" />- <div className="wrap relative z-10 max-w-3xl">+ <div className="wrap relative z-10"><Chip><ScrollText className="h-3 w-3 inline mr-1" />Logsdiff --git a/website/app/product/metrics/page.tsx b/website/app/product/metrics/page.tsxindex 85ea211e..ae8e0e37 100644--- a/website/app/product/metrics/page.tsx+++ b/website/app/product/metrics/page.tsx@@ -22,9 +22,9 @@ import { Terminal } from "@/components/terminal";export default function MetricsPage() {return (<main className="relative">- <section className="hero gridbg relative">+ <section className="hero hero-product gridbg relative"><AuroraBackground variant="hero" />- <div className="wrap relative z-10 max-w-3xl">+ <div className="wrap relative z-10"><Chip variant="ok"><BarChart3 className="h-3 w-3 inline mr-1" />Metricsdiff --git a/website/app/product/performance/page.tsx b/website/app/product/performance/page.tsxindex 4797bc34..b88e0311 100644--- a/website/app/product/performance/page.tsx+++ b/website/app/product/performance/page.tsx@@ -11,9 +11,9 @@ import { AuroraBackground } from "@/components/aurora-background";export default function PerformancePage() {return (<main className="relative">- <section className="hero gridbg relative">+ <section className="hero hero-product gridbg relative"><AuroraBackground variant="hero" />- <div className="wrap relative z-10 max-w-3xl">+ <div className="wrap relative z-10"><Chip><Activity className="h-3 w-3 inline mr-1" />Performancediff --git a/website/app/product/session-replay/page.tsx b/website/app/product/session-replay/page.tsxindex 287299b5..a3d98b47 100644--- a/website/app/product/session-replay/page.tsx+++ b/website/app/product/session-replay/page.tsx@@ -12,9 +12,9 @@ import { AuroraBackground } from "@/components/aurora-background";export default function SessionReplayPage() {return (<main className="relative">- <section className="hero gridbg relative">+ <section className="hero hero-product gridbg relative"><AuroraBackground variant="hero" />- <div className="wrap relative z-10 max-w-3xl">+ <div className="wrap relative z-10"><Chip><Video className="h-3 w-3 inline mr-1" />Session Replaydiff --git a/website/app/product/stack-traces/page.tsx b/website/app/product/stack-traces/page.tsxindex 7516035f..0b2c4868 100644--- a/website/app/product/stack-traces/page.tsx+++ b/website/app/product/stack-traces/page.tsx@@ -27,9 +27,9 @@ export default function StackTracesPage() {return (<main className="relative">{/* Hero — left aligned */}- <section className="hero gridbg relative">+ <section className="hero hero-product gridbg relative"><AuroraBackground variant="hero" />- <div className="wrap relative z-10 max-w-3xl">+ <div className="wrap relative z-10"><Chip variant="crit"><Bug className="h-3 w-3 inline mr-1" />Stack Tracesdiff --git a/website/app/product/traces/page.tsx b/website/app/product/traces/page.tsxindex 1a1bb515..283b583c 100644--- a/website/app/product/traces/page.tsx+++ b/website/app/product/traces/page.tsx@@ -14,9 +14,9 @@ import { DistributedTraceVisual } from "@/components/distributed-trace-visual";export default function TracesPage() {return (<main className="relative">- <section className="hero gridbg relative">+ <section className="hero hero-product gridbg relative"><AuroraBackground variant="hero" />- <div className="wrap relative z-10 max-w-3xl">+ <div className="wrap relative z-10"><Chip><Network className="h-3 w-3 inline mr-1" />Tracesdiff --git a/website/components/site-footer.tsx b/website/components/site-footer.tsxindex 05453dc3..20c59d67 100644--- a/website/components/site-footer.tsx+++ b/website/components/site-footer.tsx@@ -23,6 +23,7 @@ const COLUMNS: Column[] = [links: [{ label: "AI Tracing", href: "/product/ai-tracing" },{ label: "Performance", href: "/product/performance" },+ { label: "Flutter Session Replay", href: "/product/flutter-session-replay" },],},{diff --git a/website/components/site-header.tsx b/website/components/site-header.tsxindex c34c989a..c1668346 100644--- a/website/components/site-header.tsx+++ b/website/components/site-header.tsx@@ -13,6 +13,7 @@ import {Bug,Workflow,Activity,+ Smartphone,ArrowUpRight,} from "lucide-react";import { MobileNav } from "@/components/mobile-nav";@@ -71,6 +72,12 @@ const SPECIALIZED: NavItem[] = [href: "/product/performance",icon: Activity,},+ {+ title: "Flutter Session Replay",+ description: "Open-source mobile replay — 10s before every exception.",+ href: "/product/flutter-session-replay",+ icon: Smartphone,+ },];export function SiteHeader() {