The only tool you need to know what is happening and how to fix it.
Go alertingexception-trackerissue-trackinglogsmetricsmonitoringobservability-platformopen-telemetryotelsession-replaytelemetrytraces
minor ui fixes
ddux26398733340c
diff --git a/website/app/cloud/page.tsx b/website/app/cloud/page.tsxindex 1f9ed43f..e6352f34 100644--- a/website/app/cloud/page.tsx+++ b/website/app/cloud/page.tsx@@ -53,7 +53,7 @@ export default function CloudPage() {{/* Cloud vs Self-Hosted Q&A */}<section className="py-24 bg-white"><div className="container mx-auto px-4 max-w-3xl">- <div className="text-center mb-16">+ <div className="text-center mb-12"><h2 className="text-3xl font-bold mb-4 text-zinc-900 tracking-tight">Cloud vs. Self-Hosted</h2><p className="text-zinc-600 text-lg">Common questions about our deployment options.@@ -62,28 +62,28 @@ export default function CloudPage() {<Accordion type="single" collapsible className="w-full"><AccordionItem value="item-1" className="border-b-zinc-200">- <AccordionTrigger className="text-zinc-900 hover:text-zinc-700 hover:no-underline text-left text-lg font-medium">+ <AccordionTrigger className="text-zinc-900 hover:text-zinc-700 hover:no-underline text-left">Why use Traceway Cloud?</AccordionTrigger>- <AccordionContent className="text-zinc-600 leading-relaxed text-base">+ <AccordionContent className="text-zinc-600 leading-relaxed">Traceway Cloud is simply for teams that don't want to self-host. We run the exact same open-source code but manage the infrastructure, updates, and backups for you.It allows you to focus on shipping features without worrying about maintaining an observability stack.</AccordionContent></AccordionItem><AccordionItem value="item-2" className="border-b-zinc-200">- <AccordionTrigger className="text-zinc-900 hover:text-zinc-700 hover:no-underline text-left text-lg font-medium">+ <AccordionTrigger className="text-zinc-900 hover:text-zinc-700 hover:no-underline text-left">Is the Open Source version limited?</AccordionTrigger>- <AccordionContent className="text-zinc-600 leading-relaxed text-base">+ <AccordionContent className="text-zinc-600 leading-relaxed">No. The code is 100% open source and fully featured. We do not gate features behind the cloud version.The cloud offering exists solely for convenience and for users who prefer a managed service over self-hosting.</AccordionContent></AccordionItem><AccordionItem value="item-3" className="border-b-zinc-200">- <AccordionTrigger className="text-zinc-900 hover:text-zinc-700 hover:no-underline text-left text-lg font-medium">+ <AccordionTrigger className="text-zinc-900 hover:text-zinc-700 hover:no-underline text-left">Can I migrate from Cloud to Self-Hosted later?</AccordionTrigger>- <AccordionContent className="text-zinc-600 leading-relaxed text-base">+ <AccordionContent className="text-zinc-600 leading-relaxed">Yes, since the underlying software is the same, we can work with you to export your data and migrate to a self-hosted instance at any time.You are never locked into our cloud platform.</AccordionContent>diff --git a/website/components/mobile-nav.tsx b/website/components/mobile-nav.tsxnew file mode 100644index 00000000..8267dbd5--- /dev/null+++ b/website/components/mobile-nav.tsx@@ -0,0 +1,89 @@+"use client";++import { useState, useEffect } from "react";+import Link from "next/link";+import { createPortal } from "react-dom";+import { Button } from "@/components/ui/button";+import { Github, Menu, X } from "lucide-react";++export function MobileNav() {+ const [isOpen, setIsOpen] = useState(false);+ const [mounted, setMounted] = useState(false);++ useEffect(() => {+ setMounted(true);+ }, []);++ useEffect(() => {+ if (isOpen) {+ document.body.style.overflow = "hidden";+ } else {+ document.body.style.overflow = "auto";+ }+ return () => {+ document.body.style.overflow = "auto";+ }+ }, [isOpen]);++ return (+ <div className="md:hidden">+ <Button+ variant="ghost"+ size="icon"+ className="text-zinc-600"+ onClick={() => setIsOpen(!isOpen)}+ >+ {isOpen ? (+ <X className="h-6 w-6" />+ ) : (+ <Menu className="h-6 w-6" />+ )}+ <span className="sr-only">Toggle menu</span>+ </Button>++ {isOpen && mounted && createPortal(+ <div className="md:hidden fixed top-14 left-0 right-0 bottom-0 bg-white z-50 p-4 overflow-y-auto border-t border-zinc-100 animate-in slide-in-from-top-2 fade-in duration-200 flex flex-col">+ <div className="flex flex-col gap-6 mt-4">+ <Link+ href="/cloud"+ className="text-lg font-medium text-zinc-600 hover:text-zinc-900 transition-colors"+ onClick={() => setIsOpen(false)}+ >+ Cloud+ </Link>+ <Link+ href="https://docs.tracewayapp.com"+ className="text-lg font-medium text-zinc-600 hover:text-zinc-900 transition-colors"+ onClick={() => setIsOpen(false)}+ >+ Docs+ </Link>+ <Link+ href="https://github.com/tracewayapp/traceway"+ target="_blank"+ rel="noopener noreferrer"+ className="text-lg font-medium text-zinc-600 hover:text-zinc-900 transition-colors flex items-center gap-2"+ onClick={() => setIsOpen(false)}+ >+ GitHub <Github className="h-4 w-4" />+ </Link>+ </div>+ <div className="flex-1"></div>+ <div className="mt-8 flex flex-col gap-4">+ <Link href="http://cloud.tracewayapp.com/register" className="w-full" onClick={() => setIsOpen(false)}>+ <Button className="w-full bg-[#4ba3f7] text-white hover:bg-[#3b93e7] font-medium h-12 text-lg">+ Try for free+ </Button>+ </Link>+ <Link href="http://cloud.tracewayapp.com/login" className="w-full" onClick={() => setIsOpen(false)}>+ <Button variant="outline" className="w-full h-12 text-lg text-zinc-600 hover:text-zinc-900 hover:bg-zinc-100">+ Sign in+ </Button>+ </Link>+ </div>+ </div>,+ document.body+ )}+ </div>+ );+}diff --git a/website/components/site-header.tsx b/website/components/site-header.tsxindex 32d9f9bc..d3fa0442 100644--- a/website/components/site-header.tsx+++ b/website/components/site-header.tsx@@ -1,8 +1,8 @@-import Link from "next/link";import Image from "next/image";import { Button } from "@/components/ui/button";import { Github } from "lucide-react";+import { MobileNav } from "@/components/mobile-nav";export function SiteHeader() {return (@@ -27,8 +27,10 @@ export function SiteHeader() {</Link></div></div>- <div className="flex items-center gap-4">- <Link href="https://github.com/tracewayapp/traceway" target="_blank" rel="noopener noreferrer" className="hidden sm:block">++ {/* Desktop Actions */}+ <div className="hidden md:flex items-center gap-4">+ <Link href="https://github.com/tracewayapp/traceway" target="_blank" rel="noopener noreferrer"><Button variant="ghost" size="icon" className="h-8 w-8 text-zinc-600 hover:text-zinc-900 hover:bg-zinc-100"><Github className="h-4 w-4" /><span className="sr-only">GitHub</span>@@ -47,6 +49,9 @@ export function SiteHeader() {</Link></div></div>++ {/* Mobile Menu */}+ <MobileNav /></div></nav>);