Skip to content

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

more ui updates

dduxfd8ba46c061c
diff --git a/frontend/src/routes/register/+page.svelte b/frontend/src/routes/register/+page.svelte
index 7af1bb95..bc7e1b58 100644
--- a/frontend/src/routes/register/+page.svelte
+++ b/frontend/src/routes/register/+page.svelte
@@ -1,5 +1,6 @@
<script lang="ts">
import { goto } from '$app/navigation';
+ import { page } from '$app/state';
import { Button } from "$lib/components/ui/button";
import { Input } from "$lib/components/ui/input";
import { Label } from "$lib/components/ui/label";
@@ -8,20 +9,27 @@
import * as Select from "$lib/components/ui/select";
import { CircleAlert, Check } from "@lucide/svelte";
import { authState } from '$lib/state/auth.svelte';
- import { projectsState, type Framework } from '$lib/state/projects.svelte';
+ import { projectsState, FRAMEWORK_LABELS, type Framework } from '$lib/state/projects.svelte';
import { themeState } from '$lib/state/theme.svelte';
import { toast } from 'svelte-sonner';
import FrameworkCombobox from '$lib/components/framework-combobox.svelte';
import TurnstileWidget from '$lib/components/turnstile-widget.svelte';
- let email = $state('');
+ const DEFAULT_FRAMEWORK: Framework = 'gin';
+
+ function parseFrameworkParam(value: string | null): Framework {
+ if (!value) return DEFAULT_FRAMEWORK;
+ return (value in FRAMEWORK_LABELS ? value : DEFAULT_FRAMEWORK) as Framework;
+ }
+
+ let email = $state(page.url.searchParams.get('email') ?? '');
let name = $state('');
let password = $state('');
let confirmPassword = $state('');
let organizationName = $state('');
let timezone = $state(Intl.DateTimeFormat().resolvedOptions().timeZone);
let projectName = $state('');
- let framework = $state<Framework>('gin');
+ let framework = $state<Framework>(parseFrameworkParam(page.url.searchParams.get('framework')));
let error = $state('');
let loading = $state(false);
let captchaToken = $state('');
diff --git a/website/app/globals.css b/website/app/globals.css
index 90cb284f..f226f765 100644
--- a/website/app/globals.css
+++ b/website/app/globals.css
@@ -334,9 +334,11 @@
color: #0a0612;
box-shadow: 0 10px 30px -12px color-mix(in oklab, var(--a1) 80%, transparent),
0 0 0 1px color-mix(in oklab, var(--a1) 40%, transparent);
+ transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}
.btn-accent:hover {
background: linear-gradient(180deg, color-mix(in oklab, var(--a1) 100%, white 18%), var(--a1));
+ transform: translateY(2px);
}
.btn-ghost {
border-color: var(--hair-2);
@@ -713,6 +715,12 @@
font-size: 11px;
padding-top: 3px;
}
+ .term-line .tx,
+ .term-line .cmd,
+ .term-line .mute,
+ .term-line .ok {
+ white-space: pre-wrap;
+ }
.term-line .tx {
color: var(--fg-1);
}
diff --git a/website/app/page.tsx b/website/app/page.tsx
index 8c02be9d..7ca99576 100644
--- a/website/app/page.tsx
+++ b/website/app/page.tsx
@@ -307,7 +307,6 @@ export default function Home() {
{ num: "<em>0s</em>", label: "Config required" },
{ num: "100%", label: "Feature parity" },
{ num: "MIT", label: "License" },
- { num: "<em>22×</em>", label: "Vs. Datadog" },
]}
/>
</div>
diff --git a/website/app/product/flutter-session-replay/page.tsx b/website/app/product/flutter-session-replay/page.tsx
index b46875b8..6bf3ab34 100644
--- a/website/app/product/flutter-session-replay/page.tsx
+++ b/website/app/product/flutter-session-replay/page.tsx
@@ -29,7 +29,7 @@ export default function FlutterSessionReplayPage() {
</p>
<div className="hero-cta-row">
<Link
- href="https://cloud.tracewayapp.com/register"
+ href="https://cloud.tracewayapp.com/register?framework=flutter"
className="btn btn-accent"
>
Start free
@@ -133,7 +133,7 @@ export default function FlutterSessionReplayPage() {
description="10,000 recordings every month. Free. Forever. No card required."
primary={{
label: "Create your project",
- href: "https://cloud.tracewayapp.com/register",
+ href: "https://cloud.tracewayapp.com/register?framework=flutter",
}}
secondary={{
label: "View on GitHub",
diff --git a/website/components/motion-polish.tsx b/website/components/motion-polish.tsx
index 4b862ce9..dbad6369 100644
--- a/website/components/motion-polish.tsx
+++ b/website/components/motion-polish.tsx
@@ -30,7 +30,6 @@ export function MotionPolish() {
.from(".hero .chip", { y: 16, opacity: 0, duration: 0.7 }, 0.15)
.from(".hero h1", { y: 30, opacity: 0, duration: 0.9 }, 0.25)
.from(".hero-sub", { y: 18, opacity: 0, duration: 0.7 }, 0.55)
- .from(".hero-cta-row > *", { y: 14, opacity: 0, duration: 0.6, stagger: 0.08 }, 0.7)
.from(".pillars > *", { y: 24, opacity: 0, duration: 0.7, stagger: 0.07, ease: "power2.out" }, 0.85)
.from(".pillars-sec > *", { y: 12, opacity: 0, duration: 0.5, stagger: 0.05 }, 1.05);
}
@@ -132,24 +131,6 @@ export function MotionPolish() {
triggers.push(t);
});
- // Magnetic CTAs
- document.querySelectorAll<HTMLElement>(".btn-accent, .btn-primary").forEach((btn) => {
- const strength = 14;
- const onMove = (e: MouseEvent) => {
- const r = btn.getBoundingClientRect();
- const x = (e.clientX - r.left - r.width / 2) / (r.width / 2);
- const y = (e.clientY - r.top - r.height / 2) / (r.height / 2);
- gsap.to(btn, { x: x * strength, y: y * strength, duration: 0.4, ease: "power3.out" });
- };
- const onLeave = () => gsap.to(btn, { x: 0, y: 0, duration: 0.55, ease: "elastic.out(1, 0.5)" });
- btn.addEventListener("mousemove", onMove);
- btn.addEventListener("mouseleave", onLeave);
- cleanups.push(() => {
- btn.removeEventListener("mousemove", onMove);
- btn.removeEventListener("mouseleave", onLeave);
- });
- });
-
// Cost-bar fills
document.querySelectorAll<HTMLElement>("[data-cost-mount]").forEach((mount) => {
const t = ScrollTrigger.create({