πΈ Rybbit - open-source and privacy-friendly alternative to Google Analytics that is 10x more intuitive.
Landing refactor (#447)
Bill Yang98322faa4565
diff --git a/client/package.json b/client/package.jsonindex 564e6ee91..8f89d5a09 100644--- a/client/package.json+++ b/client/package.json@@ -1,6 +1,6 @@{"name": "client",- "version": "1.4.1",+ "version": "1.4.2","private": true,"scripts": {"dev": "next dev -p 3002 --turbopack",diff --git a/docs/src/app/components/Cards/AdvancedFilters.jsx b/docs/src/app/components/Cards/AdvancedFilters.jsxindex 4817f171c..1e84253a9 100644--- a/docs/src/app/components/Cards/AdvancedFilters.jsx+++ b/docs/src/app/components/Cards/AdvancedFilters.jsx@@ -20,6 +20,7 @@ import {Flag,Puzzle,} from "lucide-react";+import { Card } from "./Card";const FilterOptions = [{@@ -116,10 +117,11 @@ const FilterOptions = [export function AdvancedFilters() {return (- <div className="bg-neutral-800/50 p-6 rounded-xl border border-neutral-700">- <h3 className="text-xl font-semibold mb-3">Advanced Filters</h3>- <p className="text-neutral-300">Drill down into your data with advanced filters across over numerous dimensions.</p>- <div className="flex flex-wrap justify-center gap-y-3 gap-x-3.5 mt-4">+ <Card+ title="Advanced Filters"+ description="Drill down into your data with advanced filters across over numerous dimensions."+ >+ <div className="flex flex-wrap justify-center gap-y-3 gap-x-3.5">{FilterOptions.map((option) => (<div key={option.value} className="flex items-center gap-2 text-base bg-neutral-800 border border-neutral-700 py-1 px-2 rounded-md">{option.icon}@@ -127,6 +129,6 @@ export function AdvancedFilters() {</div>))}</div>- </div>+ </Card>);}\ No newline at end of filediff --git a/docs/src/app/components/Cards/Card.jsx b/docs/src/app/components/Cards/Card.jsxnew file mode 100644index 000000000..59af8689b--- /dev/null+++ b/docs/src/app/components/Cards/Card.jsx@@ -0,0 +1,11 @@+import { cn } from "../../../lib/utils";++export function Card({ title, description, children, className }) {+ return (+ <div className={cn("bg-neutral-800/50 p-6 rounded-xl", className)}>+ <h3 className="text-xl font-semibold mb-3">{title}</h3>+ {description && <p className="text-neutral-300 mb-4">{description}</p>}+ {children}+ </div>+ );+}diff --git a/docs/src/app/components/Cards/EventTracking.jsx b/docs/src/app/components/Cards/EventTracking.jsxindex e0c41ebe2..d07fcea96 100644--- a/docs/src/app/components/Cards/EventTracking.jsx+++ b/docs/src/app/components/Cards/EventTracking.jsx@@ -1,10 +1,12 @@import { MousePointerClick } from "lucide-react";+import { Card } from "./Card";export function EventTracking() {return (- <div className="bg-neutral-800/50 p-6 rounded-xl border border-neutral-700">- <h3 className="text-xl font-semibold mb-3">Event Tracking</h3>- <p className="text-neutral-300">Monitor user interactions with your site including clicks, form submissions, and custom events.</p>+ <Card+ title="Event Tracking"+ description="Monitor user interactions with your site including clicks, form submissions, and custom events."+ ><div className="mt-4 bg-neutral-900 p-4 rounded-md"><div className="flex items-center mb-3">@@ -31,6 +33,6 @@ export function EventTracking() {</div></div></div>- </div>+ </Card>);}\ No newline at end of filediff --git a/docs/src/app/components/Cards/Funnels.jsx b/docs/src/app/components/Cards/Funnels.jsxindex 2d5288a6d..26f37b18c 100644--- a/docs/src/app/components/Cards/Funnels.jsx+++ b/docs/src/app/components/Cards/Funnels.jsx@@ -1,8 +1,11 @@+import { Card } from "./Card";+export function Funnels() {return (- <div className="bg-neutral-800/50 p-6 rounded-xl border border-neutral-700">- <h3 className="text-xl font-semibold mb-3">Funnels</h3>- <p className="text-neutral-300 mb-4">Visualize and analyze the path users take through your site to convert them.</p>+ <Card+ title="Funnels"+ description="Visualize and analyze the path users take through your site to convert them."+ ><div className="mt-4 bg-neutral-900 p-4 rounded-md"><div className="flex justify-between items-center mb-4">@@ -65,6 +68,6 @@ export function Funnels() {</div></div></div>- </div>+ </Card>);}\ No newline at end of filediff --git a/docs/src/app/components/Cards/GoalConversion.jsx b/docs/src/app/components/Cards/GoalConversion.jsxindex 1e0641f54..1a675de04 100644--- a/docs/src/app/components/Cards/GoalConversion.jsx+++ b/docs/src/app/components/Cards/GoalConversion.jsx@@ -1,8 +1,11 @@+import { Card } from "./Card";+export function GoalConversion() {return (- <div className="bg-neutral-800/50 p-6 rounded-xl border border-neutral-700">- <h3 className="text-xl font-semibold mb-3">Goal Conversion</h3>- <p className="text-neutral-300">Set up and track conversion goals to measure the success of your key objectives.</p>+ <Card+ title="Goal Conversion"+ description="Set up and track conversion goals to measure the success of your key objectives."+ ><div className="mt-4 bg-neutral-900 p-4 rounded-md"><div className="space-y-4">@@ -47,6 +50,6 @@ export function GoalConversion() {</div></div></div>- </div>+ </Card>);}\ No newline at end of filediff --git a/docs/src/app/components/Cards/RealTimeAnalytics.jsx b/docs/src/app/components/Cards/RealTimeAnalytics.jsxindex 028205cf4..4d18c2ad0 100644--- a/docs/src/app/components/Cards/RealTimeAnalytics.jsx+++ b/docs/src/app/components/Cards/RealTimeAnalytics.jsx@@ -1,50 +1,111 @@+"use client";+import { Clock, FileText, MousePointerClick } from "lucide-react";import { CountryFlag } from "../Country";import { Browser } from "../Browser";import { OperatingSystem } from "../OperatingSystem";import { Laptop, Smartphone } from "lucide-react";+import { Card } from "./Card";+import { useState, useEffect } from "react";-// Mock events for the real-time analytics card-const mockEvents = [+// Mock event templates+const eventTemplates = [{- id: 1,type: "pageview",pathname: "/pricing",- timestamp: "2 min ago",country: "US",browser: "Chrome",operating_system: "Windows",- device_type: "Desktop"+ device_type: "Desktop",},{- id: 2,type: "event",event_name: "button_click",pathname: "/features",- timestamp: "45 sec ago",country: "GB",browser: "Safari",operating_system: "macOS",- device_type: "Desktop"+ device_type: "Desktop",},{- id: 3,type: "pageview",pathname: "/blog/analytics-tips",- timestamp: "just now",country: "DE",browser: "Firefox",operating_system: "Linux",- device_type: "Mobile"- }+ device_type: "Mobile",+ },+ {+ type: "pageview",+ pathname: "/docs/getting-started",+ country: "JP",+ browser: "Chrome",+ operating_system: "macOS",+ device_type: "Desktop",+ },+ {+ type: "event",+ event_name: "signup",+ pathname: "/signup",+ country: "FR",+ browser: "Edge",+ operating_system: "Windows",+ device_type: "Desktop",+ },+ {+ type: "pageview",+ pathname: "/",+ country: "CA",+ browser: "Safari",+ operating_system: "iOS",+ device_type: "Mobile",+ },+ {+ type: "event",+ event_name: "download",+ pathname: "/downloads",+ country: "AU",+ browser: "Chrome",+ operating_system: "Android",+ device_type: "Mobile",+ },];+// Generate initial events with timestamps+const generateInitialEvents = () => {+ return [+ { ...eventTemplates[0], id: 1, timestamp: "2 min ago" },+ { ...eventTemplates[1], id: 2, timestamp: "45 sec ago" },+ { ...eventTemplates[2], id: 3, timestamp: "just now" },+ ];+};+// EventCard component for Real-time Analytics-function EventCard({ event }) {+function EventCard({ event, index, isNew }) {const isPageview = event.type === "pageview";-+ const [isAnimating, setIsAnimating] = useState(isNew);++ useEffect(() => {+ if (isNew) {+ // Reset animation state after a short delay+ const timer = setTimeout(() => {+ setIsAnimating(false);+ }, 50);+ return () => clearTimeout(timer);+ }+ }, [isNew]);+return (- <div className="mb-3 rounded-lg bg-neutral-800/50 border border-neutral-700 overflow-hidden p-3 flex flex-col">+ <div+ className="absolute w-full rounded-lg bg-neutral-800/50 overflow-hidden p-3 flex flex-col transition-all duration-500"+ style={{+ transform: isAnimating && index === 0+ ? `translateY(-82px)`+ : `translateY(${index * 82}px)`,+ opacity: isAnimating && index === 0 ? 0 : (index < 4 ? 1 : 0),+ zIndex: 10 - index,+ }}+ ><div className="flex items-center gap-2 text-sm text-neutral-100 mb-2"><div className="flex items-center gap-2">{isPageview ? (@@ -54,11 +115,9 @@ function EventCard({ event }) {)}</div>- <div>- {isPageview ? event.pathname : event.event_name}- </div>+ <div className="truncate">{isPageview ? event.pathname : event.event_name}</div></div>-+<div className="flex items-center gap-2"><div className="flex space-x-2 items-center ml-6"><div className="flex items-center">@@ -71,7 +130,11 @@ function EventCard({ event }) {<OperatingSystem os={event.operating_system || ""} /></div><div>- {event.device_type === "Mobile" ? <Smartphone className="w-4 h-4" /> : <Laptop className="w-4 h-4" />}+ {event.device_type === "Mobile" ? (+ <Smartphone className="w-4 h-4" />+ ) : (+ <Laptop className="w-4 h-4" />+ )}</div></div>@@ -85,23 +148,66 @@ function EventCard({ event }) {}export function RealTimeAnalytics() {- return (- <div className="bg-neutral-800/50 p-6 rounded-xl border border-neutral-700">- <h3 className="text-xl font-semibold mb-3">Real-time Analytics</h3>- <p className="text-neutral-300 mb-4">See your site performance as it happens with instant data updates and live visitor activity.</p>+ const [events, setEvents] = useState(generateInitialEvents());+ const [onlineCount, setOnlineCount] = useState(28);+ const [nextId, setNextId] = useState(4);++ useEffect(() => {+ // Add new events periodically+ const interval = setInterval(() => {+ const randomTemplate = eventTemplates[Math.floor(Math.random() * eventTemplates.length)];+ const newEvent = {+ ...randomTemplate,+ id: nextId,+ timestamp: "just now",+ isNew: true,+ };++ setEvents((prevEvents) => {+ // Add new event at the beginning and keep only last 4 events+ const updatedEvents = [newEvent, ...prevEvents.slice(0, 3)].map((event, index) => ({+ ...event,+ isNew: index === 0,+ // Update timestamps+ timestamp: index === 0 ? "just now" :+ index === 1 ? "30 sec ago" :+ index === 2 ? "1 min ago" :+ "2 min ago"+ }));+ return updatedEvents;+ });++ setNextId((prev) => prev + 1);+ // Randomly update online count+ setOnlineCount((prev) => {+ const change = Math.random() > 0.5 ? 1 : -1;+ return Math.max(15, Math.min(45, prev + change));+ });+ }, 3000); // Add new event every 3 seconds++ return () => clearInterval(interval);+ }, [nextId]);++ return (+ <Card+ title="Real-time Analytics"+ description="See your site performance as it happens with instant data updates and live visitor activity."+ ><div className="bg-neutral-900 rounded-lg p-4"><div className="flex items-center justify-between mb-3"><h4 className="font-medium">Live Visitors</h4>- <span className="bg-emerald-500/20 text-emerald-400 font-medium px-2 py-1 rounded text-sm">28 online</span>+ <span className="bg-emerald-500/20 text-emerald-400 font-medium px-2 py-1 rounded text-sm animate-pulse">+ {onlineCount} online+ </span></div>-- <div className="space-y-1">- {mockEvents.map(event => (- <EventCard key={event.id} event={event} />++ <div className="relative" style={{ height: "328px" }}>+ {events.map((event, index) => (+ <EventCard key={event.id} event={event} index={index} isNew={event.isNew} />))}</div></div>- </div>+ </Card>);-}\ No newline at end of file+}diff --git a/docs/src/app/components/Cards/SessionReplay.jsx b/docs/src/app/components/Cards/SessionReplay.jsxnew file mode 100644index 000000000..c8f7e0ddb--- /dev/null+++ b/docs/src/app/components/Cards/SessionReplay.jsx@@ -0,0 +1,247 @@+"use client";++import { Card } from "./Card";+import {+ Play,+ Pause,+ SkipBack,+ SkipForward,+ Maximize2,+ Volume2,+ Laptop,+ ShoppingCart,+ Search,+ Menu,+} from "lucide-react";+import { useState, useEffect } from "react";+import { CountryFlag } from "../Country";+import { Browser } from "../Browser";+import { OperatingSystem } from "../OperatingSystem";++export function SessionReplay() {+ const [isPlaying, setIsPlaying] = useState(true);+ const [cursorPosition, setCursorPosition] = useState({ x: 48, y: 32 });+ const [clickPosition, setClickPosition] = useState(null);+ const [hoveredProduct, setHoveredProduct] = useState(null);++ useEffect(() => {+ if (!isPlaying) return;++ const interval = setInterval(() => {+ // Animate cursor movement+ setCursorPosition((prev) => {+ const paths = [+ { x: 48, y: 32 },+ { x: 120, y: 80 },+ { x: 40, y: 120 },+ { x: 120, y: 120 },+ { x: 200, y: 120 },+ { x: 120, y: 180 },+ ];+ const currentIndex = paths.findIndex(+ (p) => p.x === prev.x && p.y === prev.y+ );+ const nextIndex = (currentIndex + 1) % paths.length;++ // Trigger click effect on product+ if (nextIndex === 3) {+ setClickPosition({ x: 120, y: 120 });+ setHoveredProduct(1);+ setTimeout(() => {+ setClickPosition(null);+ setHoveredProduct(null);+ }, 600);+ }++ return paths[nextIndex];+ });+ }, 2000);++ return () => clearInterval(interval);+ }, [isPlaying]);++ return (+ <Card+ title="Session Replay"+ description="Watch real user sessions to understand their behavior and identify pain points."+ >+ <div className="bg-neutral-900 rounded-lg overflow-hidden">+ {/* Video player container */}+ <div className="relative bg-black">+ {/* Mock website content */}+ <div className="aspect-video bg-neutral-950 relative overflow-hidden">+ {/* Browser chrome */}+ <div className="bg-neutral-800 h-8 flex items-center px-3 gap-2">+ <div className="flex gap-1.5">+ <div className="w-3 h-3 rounded-full bg-red-500"></div>+ <div className="w-3 h-3 rounded-full bg-yellow-500"></div>+ <div className="w-3 h-3 rounded-full bg-green-500"></div>+ </div>+ <div className="flex-1 mx-4">+ <div className="bg-neutral-700 rounded px-3 py-1 text-xs text-neutral-300">+ https://example.com/products+ </div>+ </div>+ </div>++ {/* Mock website content */}+ <div className="p-4 bg-white">+ {/* Header */}+ <div className="flex items-center justify-between mb-6">+ <div className="w-24 h-6 bg-neutral-300 rounded"></div>+ <div className="flex gap-4">+ <div className="w-16 h-4 bg-neutral-200 rounded"></div>+ <div className="w-16 h-4 bg-neutral-200 rounded"></div>+ <div className="w-16 h-4 bg-neutral-200 rounded"></div>+ </div>+ </div>++ {/* Hero section */}+ <div className="mb-6">+ <div className="w-48 h-8 bg-neutral-800 rounded mb-2"></div>+ <div className="w-64 h-4 bg-neutral-200 rounded"></div>+ </div>++ {/* Product grid */}+ <div className="grid grid-cols-3 gap-3">+ <div+ className={`bg-neutral-100 rounded p-2 transition-all duration-300 ${+ hoveredProduct === 0 ? "shadow-lg scale-105" : ""+ }`}+ >+ <div className="w-full h-20 bg-neutral-300 rounded mb-2"></div>+ <div className="w-full h-3 bg-neutral-200 rounded mb-1"></div>+ <div className="w-16 h-3 bg-emerald-500 rounded"></div>+ </div>+ <div+ className={`bg-neutral-100 rounded p-2 transition-all duration-300 ${+ hoveredProduct === 1 ? "shadow-lg scale-105" : ""+ }`}+ >+ <div className="w-full h-20 bg-neutral-300 rounded mb-2 relative">+ <div className="absolute top-1 left-1 w-8 h-3 bg-red-500 rounded"></div>+ </div>+ <div className="w-full h-3 bg-neutral-200 rounded mb-1"></div>+ <div className="w-16 h-3 bg-emerald-500 rounded"></div>+ </div>+ <div+ className={`bg-neutral-100 rounded p-2 transition-all duration-300 ${+ hoveredProduct === 2 ? "shadow-lg scale-105" : ""+ }`}+ >+ <div className="w-full h-20 bg-neutral-300 rounded mb-2"></div>+ <div className="w-full h-3 bg-neutral-200 rounded mb-1"></div>+ <div className="w-16 h-3 bg-emerald-500 rounded"></div>+ </div>+ </div>+ </div>++ {/* Mouse cursor */}+ <div+ className="absolute w-4 h-4 transform -rotate-12 transition-all duration-1000 ease-in-out"+ style={{+ left: `${cursorPosition.x}px`,+ top: `${cursorPosition.y}px`,+ }}+ >+ <svg+ viewBox="0 0 24 24"+ fill="none"+ className="w-full h-full drop-shadow-sm"+ >+ <path+ d="M5.5 3.5L20.5 12L12 14.5L9.5 22L5.5 3.5Z"+ fill="white"+ stroke="black"+ strokeWidth="1"+ />+ </svg>+ </div>++ {/* Click ripple effect */}+ {clickPosition && (+ <div+ className="absolute w-8 h-8 rounded-full border-2 border-blue-500 animate-ping"+ style={{+ left: `${clickPosition.x - 16}px`,+ top: `${clickPosition.y - 16}px`,+ }}+ ></div>+ )}++ {/* Scroll indicator */}+ {isPlaying && cursorPosition.y > 160 && (+ <div className="absolute bottom-2 right-2 bg-black/50 text-white text-[8px] px-2 py-1 rounded">+ Scrolling...+ </div>+ )}+ </div>+ </div>++ {/* Video controls */}+ <div className="bg-neutral-800/50 backdrop-blur-sm p-3">+ {/* Progress bar */}+ <div className="mb-3">+ <div className="flex items-center justify-between text-xs text-neutral-400 mb-1">+ <span>2:34</span>+ <span>5:12</span>+ </div>+ <div className="relative h-1 bg-neutral-700 rounded-full overflow-hidden">+ <div className="absolute left-0 top-0 h-full w-1/2 bg-emerald-500 rounded-full"></div>+ <div className="absolute left-1/2 top-1/2 transform -translate-x-1/2 -translate-y-1/2 w-3 h-3 bg-emerald-400 rounded-full shadow-lg"></div>+ </div>+ </div>++ {/* Control buttons */}+ <div className="flex items-center justify-between">+ <div className="flex items-center gap-3">+ <button className="text-neutral-300 hover:text-white transition-colors">+ <SkipBack className="w-4 h-4" />+ </button>+ <button+ onClick={() => setIsPlaying(!isPlaying)}+ className="bg-emerald-600 hover:bg-emerald-500 text-white rounded-full p-2 transition-colors"+ >+ {isPlaying ? (+ <Pause className="w-4 h-4" />+ ) : (+ <Play className="w-4 h-4" />+ )}+ </button>+ <button className="text-neutral-300 hover:text-white transition-colors">+ <SkipForward className="w-4 h-4" />+ </button>+ </div>++ <div className="flex items-center gap-3">+ <button className="text-neutral-300 hover:text-white transition-colors">+ <Volume2 className="w-4 h-4" />+ </button>+ <button className="text-neutral-300 hover:text-white transition-colors">+ <Maximize2 className="w-4 h-4" />+ </button>+ </div>+ </div>+ </div>++ {/* Session info */}+ <div className="p-4 border-t border-neutral-800">+ <div className="flex items-center justify-between text-sm">+ <div>+ <div className="text-neutral-300">Session #48291</div>+ <div className="text-xs text-neutral-500">+ User clicked "Add to Cart" 3 times+ </div>+ </div>+ <div className="flex items-center gap-2">+ <CountryFlag country="US" />+ <Browser browser="Chrome" />+ <OperatingSystem os="Windows" />+ <Laptop className="w-4 h-4" />+ </div>+ </div>+ </div>+ </div>+ </Card>+ );+}diff --git a/docs/src/app/components/Cards/UserBehaviorTrends.jsx b/docs/src/app/components/Cards/UserBehaviorTrends.jsxindex 3506c7dd4..3bca2bc20 100644--- a/docs/src/app/components/Cards/UserBehaviorTrends.jsx+++ b/docs/src/app/components/Cards/UserBehaviorTrends.jsx@@ -1,8 +1,11 @@+import { Card } from "./Card";+export function UserBehaviorTrends() {return (- <div className="bg-neutral-800/50 p-6 rounded-xl border border-neutral-700">- <h3 className="text-xl font-semibold mb-3">User Behavior Trends</h3>- <p className="text-neutral-300 mb-4">Discover when your users are most active with hourly and daily heatmaps.</p>+ <Card+ title="User Behavior Trends"+ description="Discover when your users are most active with hourly and daily heatmaps."+ ><div className="mt-4 bg-neutral-900 p-4 rounded-md"><div className="flex justify-between items-center mb-4">@@ -117,6 +120,6 @@ export function UserBehaviorTrends() {Weekday afternoons show highest user engagement</div></div>- </div>+ </Card>);}\ No newline at end of filediff --git a/docs/src/app/components/Cards/UserFlowAnalysis.jsx b/docs/src/app/components/Cards/UserFlowAnalysis.jsxindex 36d4b7410..1b30eb620 100644--- a/docs/src/app/components/Cards/UserFlowAnalysis.jsx+++ b/docs/src/app/components/Cards/UserFlowAnalysis.jsx@@ -1,97 +1,126 @@+import { Card } from "./Card";+import { ChevronRight, TrendingDown, Users, ArrowRight } from "lucide-react";+export function UserFlowAnalysis() {return (- <div className="bg-neutral-800/50 p-6 rounded-xl border border-neutral-700">- <h3 className="text-xl font-semibold mb-3">User Flow Analysis</h3>- <p className="text-neutral-300 mb-4">Visualize how users navigate through your site with intuitive path analysis tools.</p>-- <div className="mt-4 bg-neutral-900 p-4 rounded-md">- <div className="flex justify-between items-center mb-4">- <div className="text-base font-medium">Homepage Flow</div>- <div className="bg-blue-900/30 text-blue-400 text-sm px-2 py-1 rounded-md">- 1,240 users+ <Card+ title="User Flow Analysis"+ description="Visualize how users navigate through your site with intuitive path analysis tools."+ >+ <div className="mt-4 bg-neutral-900 rounded-lg p-4">+ {/* Header with metrics */}+ <div className="flex items-center justify-between mb-4">+ <div className="flex items-center gap-2">+ <Users className="w-4 h-4 text-blue-400" />+ <span className="text-sm font-medium">Top Paths from Homepage</span></div>+ <span className="text-xs text-neutral-400">Last 7 days</span></div>-- {/* Flow diagram - structured approach */}- <div className="relative py-2">- {/* Entry point - full width, no line */}- <div className="mb-8">- <div className="flex justify-between items-center mb-2">- <span className="text-sm font-medium">Entry Page</span>- <span className="text-xs text-neutral-400">100%</span>++ {/* Sankey-style flow visualization */}+ <div className="space-y-4">+ {/* Path 1: Homepage β Products β Checkout */}+ <div className="flex items-center gap-2">+ <div className="flex-1 flex items-center gap-2 text-xs">+ <div className="px-2 py-1.5 bg-emerald-900/30 border border-emerald-500/40 rounded">+ Home+ </div>+ <ChevronRight className="w-3 h-3 text-neutral-500" />+ <div className="px-2 py-1.5 bg-blue-900/30 border border-blue-500/40 rounded">+ Products+ </div>+ <ChevronRight className="w-3 h-3 text-neutral-500" />+ <div className="px-2 py-1.5 bg-orange-900/30 border border-orange-500/40 rounded">+ Checkout+ </div></div>- <div className="w-full py-3 px-2 bg-emerald-900/30 border border-emerald-500/40 rounded-md text-center text-sm">- Homepage+ <div className="text-right">+ <div className="text-sm font-medium text-orange-400">324</div>+ <div className="text-xs text-neutral-500">26%</div></div></div>-- {/* Second level - split */}- <div className="mb-8">- <div className="flex justify-between items-center mb-2">- <span className="text-sm font-medium">Second Page</span>- <span className="text-xs text-neutral-400">73% continued</span>- </div>- <div className="grid grid-cols-3 gap-3 w-full">- <div className="flex flex-col">- <div className="py-3 px-2 bg-blue-900/30 border border-blue-500/40 rounded-md text-center text-sm mb-2">- Products- </div>- <div className="text-xs text-center text-blue-400">42%</div>++ {/* Path 2: Homepage β Features β Sign Up */}+ <div className="flex items-center gap-2">+ <div className="flex-1 flex items-center gap-2 text-xs">+ <div className="px-2 py-1.5 bg-emerald-900/30 border border-emerald-500/40 rounded">+ Home</div>- <div className="flex flex-col">- <div className="py-3 px-2 bg-blue-900/30 border border-blue-500/40 rounded-md text-center text-sm mb-2">- Features- </div>- <div className="text-xs text-center text-blue-400">31%</div>+ <ChevronRight className="w-3 h-3 text-neutral-500" />+ <div className="px-2 py-1.5 bg-purple-900/30 border border-purple-500/40 rounded">+ Features</div>- <div className="flex flex-col">- <div className="py-3 px-2 bg-neutral-800 border border-neutral-700 rounded-md text-center text-neutral-500 text-sm mb-2">- Other- </div>- <div className="text-xs text-center text-neutral-500">27%</div>+ <ChevronRight className="w-3 h-3 text-neutral-500" />+ <div className="px-2 py-1.5 bg-orange-900/30 border border-orange-500/40 rounded">+ Sign Up</div></div>+ <div className="text-right">+ <div className="text-sm font-medium text-orange-400">198</div>+ <div className="text-xs text-neutral-500">16%</div>+ </div></div>-- {/* Third level - conversion */}- <div>- <div className="flex justify-between items-center mb-2">- <span className="text-sm font-medium">Conversion Pages</span>- <span className="text-xs text-neutral-400">32% converted</span>++ {/* Path 3: Homepage β Pricing β Contact */}+ <div className="flex items-center gap-2">+ <div className="flex-1 flex items-center gap-2 text-xs">+ <div className="px-2 py-1.5 bg-emerald-900/30 border border-emerald-500/40 rounded">+ Home+ </div>+ <ChevronRight className="w-3 h-3 text-neutral-500" />+ <div className="px-2 py-1.5 bg-cyan-900/30 border border-cyan-500/40 rounded">+ Pricing+ </div>+ <ChevronRight className="w-3 h-3 text-neutral-500" />+ <div className="px-2 py-1.5 bg-orange-900/30 border border-orange-500/40 rounded">+ Contact+ </div></div>- <div className="grid grid-cols-3 gap-3 w-full">- <div className="flex flex-col">- <div className="py-3 px-2 bg-orange-900/30 border border-orange-500/40 rounded-md text-center text-sm mb-2">- Checkout- </div>- <div className="text-xs text-center text-orange-400">15%</div>+ <div className="text-right">+ <div className="text-sm font-medium text-orange-400">145</div>+ <div className="text-xs text-neutral-500">12%</div>+ </div>+ </div>++ {/* Path 4: Homepage β About β Exit */}+ <div className="flex items-center gap-2">+ <div className="flex-1 flex items-center gap-2 text-xs">+ <div className="px-2 py-1.5 bg-emerald-900/30 border border-emerald-500/40 rounded">+ Home</div>- <div className="flex flex-col">- <div className="py-3 px-2 bg-orange-900/30 border border-orange-500/40 rounded-md text-center text-sm mb-2">- Sign Up- </div>- <div className="text-xs text-center text-orange-400">17%</div>+ <ChevronRight className="w-3 h-3 text-neutral-500" />+ <div className="px-2 py-1.5 bg-violet-900/30 border border-violet-500/40 rounded">+ About</div>- <div className="flex flex-col">- <div className="py-3 px-2 bg-neutral-800 border border-neutral-700 rounded-md text-center text-neutral-500 text-sm mb-2">- Exit- </div>- <div className="text-xs text-center text-neutral-500">68%</div>+ <ChevronRight className="w-3 h-3 text-neutral-500" />+ <div className="flex items-center gap-1 px-2 py-1.5 bg-red-900/20 border border-red-500/30 rounded">+ <TrendingDown className="w-3 h-3" />+ <span>Exit</span></div></div>+ <div className="text-right">+ <div className="text-sm font-medium text-red-400">98</div>+ <div className="text-xs text-neutral-500">8%</div>+ </div></div>-- {/* Connecting lines using pseudo elements and CSS are better,- but this simplified approach works for the mockup */}-- <div className="absolute top-0 bottom-0 left-0 right-0 pointer-events-none hidden md:block" aria-hidden="true">- {/* Connecting guides - would be better with SVG in a real implementation */}- <div className="absolute top-14 left-16 h-[calc(100%-120px)] w-px bg-neutral-800"></div>- <div className="absolute top-14 left-1/2 h-[calc(100%-120px)] w-px bg-neutral-800"></div>- <div className="absolute top-14 right-16 h-[calc(100%-120px)] w-px bg-neutral-800"></div>+ </div>++ {/* Summary metrics */}+ <div className="mt-5 pt-4 border-t border-neutral-800 grid grid-cols-3 gap-4">+ <div>+ <div className="text-xs text-neutral-400">Pages/Session</div>+ <div className="text-sm font-medium mt-1">3.2</div>+ </div>+ <div>+ <div className="text-xs text-neutral-400">Drop-off Rate</div>+ <div className="text-sm font-medium text-red-400 mt-1">45%</div>+ </div>+ <div>+ <div className="text-xs text-neutral-400">Conversion Rate</div>+ <div className="text-sm font-medium text-emerald-400 mt-1">38%</div></div></div></div>- </div>+ </Card>);-}\ No newline at end of file+}diff --git a/docs/src/app/components/Cards/UserProfiles.jsx b/docs/src/app/components/Cards/UserProfiles.jsxindex 7c4dd267c..edceea53b 100644--- a/docs/src/app/components/Cards/UserProfiles.jsx+++ b/docs/src/app/components/Cards/UserProfiles.jsx@@ -4,16 +4,17 @@ import { cn } from "../../../lib/utils";import { Browser } from "../Browser";import { CountryFlag } from "../Country";import { OperatingSystem } from "../OperatingSystem";+import { Card } from "./Card";export function UserProfiles() {return (- <div className="bg-neutral-800/50 p-6 rounded-xl border border-neutral-700">- <h3 className="text-xl font-semibold mb-3">User Profiles</h3>- <p className="text-neutral-300">Know who your users are and exactly what they do.</p>-- <div className="mt-4 bg-neutral-900 p-4 rounded-md">+ <Card+ title="User Profiles"+ description="Know who your users are and exactly what they do."+ >+ <div className="bg-neutral-900 p-4 rounded-md"><div className="flex items-start gap-4">{/* User basic info */}<div className="flex-1">@@ -93,6 +94,6 @@ export function UserProfiles() {</div></div></div>- </div>+ </Card>);}\ No newline at end of filediff --git a/docs/src/app/components/Cards/UserSessions.jsx b/docs/src/app/components/Cards/UserSessions.jsxindex bf6215928..a06540ae3 100644--- a/docs/src/app/components/Cards/UserSessions.jsx+++ b/docs/src/app/components/Cards/UserSessions.jsx@@ -3,13 +3,14 @@ import { CountryFlag } from "../Country";import { Browser } from "../Browser";import { OperatingSystem } from "../OperatingSystem";import Avatar from "boring-avatars";+import { Card } from "./Card";export function UserSessions() {return (- <div className="bg-neutral-800/50 p-6 rounded-xl border border-neutral-700">- <h3 className="text-xl font-semibold mb-3">User Sessions</h3>- <p className="text-neutral-300 mb-4">Track complete user journeys through your site with detailed session timelines.</p>-+ <Card+ title="User Sessions"+ description="Track complete user journeys through your site with detailed session timelines."+ ><div className="mt-4 bg-neutral-900 p-4 rounded-md"><div className="flex justify-between items-center mb-4"><div className="flex items-center gap-2">@@ -21,7 +22,9 @@ export function UserSessions() {/><div><div className="text-sm">2c49ae3</div>- <div className="text-xs text-neutral-400">Today, 14:22 - 14:36 (14m)</div>+ <div className="text-xs text-neutral-400">+ Today, 14:22 - 14:36 (14m)+ </div></div></div><div className="flex items-center gap-2">@@ -31,7 +34,7 @@ export function UserSessions() {<Laptop className="w-4 h-4" /></div></div>-{/*+ {/*<div className="flex gap-2 mb-3"><div className="flex items-center gap-1 text-xs bg-blue-500/20 text-blue-400 px-2 py-1 rounded"><FileText className="w-3 h-3" />@@ -42,7 +45,7 @@ export function UserSessions() {<span>Events: 2</span></div></div> */}-+{/* Timeline */}<div className="px-1 py-2">{/* Event 1 */}@@ -70,39 +73,12 @@ export function UserSessions() {</div></div></div>-{/* Event 2 */}- <div className="flex mb-3">- <div className="relative flex-shrink-0">- <div className="absolute top-8 left-4 w-[1px] bg-neutral-700 h-[calc(100%-20px)]" />- <div className="flex items-center justify-center w-8 h-8 rounded-full bg-blue-900/30 border border-blue-500/50">- <span className="text-sm font-medium">2</span>- </div>- </div>-- <div className="flex flex-col ml-3 flex-1">- <div className="flex items-center flex-1 py-1">- <FileText className="w-4 h-4 text-blue-500 mr-3" />- <div className="flex-1 min-w-0 mr-4">- <div className="text-sm truncate">/features</div>- </div>- <div className="text-xs text-neutral-400">14:23:37</div>- </div>- <div className="flex items-center pl-7 mt-1">- <div className="text-xs text-neutral-400">- <Clock className="w-3 h-3 inline mr-1" />- 2m 18s- </div>- </div>- </div>- </div>-- {/* Event 3 */}<div className="flex mb-3"><div className="relative flex-shrink-0"><div className="absolute top-8 left-4 w-[1px] bg-neutral-700 h-[calc(100%-20px)]" /><div className="flex items-center justify-center w-8 h-8 rounded-full bg-amber-900/30 border border-amber-500/50">- <span className="text-sm font-medium">3</span>+ <span className="text-sm font-medium">2</span></div></div>@@ -117,11 +93,15 @@ export function UserSessions() {<div className="flex items-center pl-7 mt-1"><div className="flex flex-wrap gap-2"><div className="px-1.5 py-0 h-5 text-xs bg-neutral-800 rounded border border-neutral-700">- <span className="text-neutral-400 font-light mr-1">button_id:</span>- <span>pricing-link</span>+ <span className="text-neutral-400 font-light mr-1">+ button_id:+ </span>+ <span>pricing</span></div><div className="px-1.5 py-0 h-5 text-xs bg-neutral-800 rounded border border-neutral-700">- <span className="text-neutral-400 font-light mr-1">section:</span>+ <span className="text-neutral-400 font-light mr-1">+ section:+ </span><span>features</span></div></div>@@ -129,12 +109,12 @@ export function UserSessions() {</div></div>- {/* Event 4 */}+ {/* Event 3 */}<div className="flex mb-3"><div className="relative flex-shrink-0"><div className="absolute top-8 left-4 w-[1px] bg-neutral-700 h-[calc(100%-20px)]" /><div className="flex items-center justify-center w-8 h-8 rounded-full bg-blue-900/30 border border-blue-500/50">- <span className="text-sm font-medium">4</span>+ <span className="text-sm font-medium">3</span></div></div>@@ -155,12 +135,12 @@ export function UserSessions() {</div></div>- {/* Event 5 */}+ {/* Event 4 */}<div className="flex mb-3"><div className="relative flex-shrink-0"><div className="absolute top-8 left-4 w-[1px] bg-neutral-700 h-[calc(100%-20px)]" /><div className="flex items-center justify-center w-8 h-8 rounded-full bg-amber-900/30 border border-amber-500/50">- <span className="text-sm font-medium">5</span>+ <span className="text-sm font-medium">4</span></div></div>@@ -175,11 +155,15 @@ export function UserSessions() {<div className="flex items-center pl-7 mt-1"><div className="flex flex-wrap gap-2"><div className="px-1.5 py-0 h-5 text-xs bg-neutral-800 rounded border border-neutral-700">- <span className="text-neutral-400 font-light mr-1">form_id:</span>+ <span className="text-neutral-400 font-light mr-1">+ form_id:+ </span><span>contact-form</span></div><div className="px-1.5 py-0 h-5 text-xs bg-neutral-800 rounded border border-neutral-700">- <span className="text-neutral-400 font-light mr-1">success:</span>+ <span className="text-neutral-400 font-light mr-1">+ success:+ </span><span>true</span></div></div>@@ -188,6 +172,6 @@ export function UserSessions() {</div></div></div>- </div>+ </Card>);-}\ No newline at end of file+}diff --git a/docs/src/app/components/Cards/WebVitals.jsx b/docs/src/app/components/Cards/WebVitals.jsxnew file mode 100644index 000000000..a83a92ec5--- /dev/null+++ b/docs/src/app/components/Cards/WebVitals.jsx@@ -0,0 +1,195 @@+import { Card } from "./Card";+import {+ Activity,+ Zap,+ Timer,+ MousePointer,+ TrendingUp,+ TrendingDown,+} from "lucide-react";++// Web Vitals thresholds+const vitals = {+ LCP: {+ name: "Largest Contentful Paint",+ abbr: "LCP",+ value: 2.4,+ unit: "s",+ status: "good", // good < 2.5s, needs improvement 2.5-4s, poor > 4s+ change: -0.2,+ icon: <Activity className="w-4 h-4" />,+ color: "emerald",+ },+ FID: {+ name: "First Input Delay",+ abbr: "FID",+ value: 95,+ unit: "ms",+ status: "good", // good < 100ms, needs improvement 100-300ms, poor > 300ms+ change: -5,+ icon: <MousePointer className="w-4 h-4" />,+ color: "emerald",+ },+ CLS: {+ name: "Cumulative Layout Shift",+ abbr: "CLS",+ value: 0.08,+ unit: "",+ status: "good", // good < 0.1, needs improvement 0.1-0.25, poor > 0.25+ change: 0.01,+ icon: <Zap className="w-4 h-4" />,+ color: "emerald",+ },+ FCP: {+ name: "First Contentful Paint",+ abbr: "FCP",+ value: 1.8,+ unit: "s",+ status: "needs-improvement", // good < 1.8s, needs improvement 1.8-3s, poor > 3s+ change: 0.3,+ icon: <Timer className="w-4 h-4" />,+ color: "amber",+ },+};++function MetricCard({ metric }) {+ const isImproved = metric.change < 0;+ const colorMap = {+ emerald: {+ bg: "bg-emerald-900/30",+ border: "border-emerald-500/40",+ text: "text-emerald-400",+ },+ amber: {+ bg: "bg-amber-900/30",+ border: "border-amber-500/40",+ text: "text-amber-400",+ },+ red: {+ bg: "bg-red-900/30",+ border: "border-red-500/40",+ text: "text-red-400",+ },+ };++ const colors = colorMap[metric.color];++ return (+ <div className={`${colors.bg} ${colors.border} border rounded-lg p-3`}>+ <div className="flex items-start justify-between mb-2">+ <div className="flex items-center gap-2">+ <div className={colors.text}>{metric.icon}</div>+ <span className="text-sm font-medium">{metric.abbr}</span>+ </div>+ <div+ className={`flex items-center gap-1 text-xs ${+ isImproved ? "text-emerald-400" : "text-red-400"+ }`}+ >+ {isImproved ? (+ <TrendingDown className="w-3 h-3" />+ ) : (+ <TrendingUp className="w-3 h-3" />+ )}+ <span>+ {Math.abs(metric.change)}+ {metric.unit}+ </span>+ </div>+ </div>++ <div className="mb-2">+ <span className="text-2xl font-semibold">{metric.value}</span>+ <span className="text-sm text-neutral-400 ml-1">{metric.unit}</span>+ </div>++ {/* Mini bar chart */}+ <div className="h-1 bg-neutral-700 rounded-full overflow-hidden">+ <div+ className={`h-full transition-all duration-500 ${+ metric.color === "emerald"+ ? "bg-emerald-500"+ : metric.color === "amber"+ ? "bg-amber-500"+ : "bg-red-500"+ }`}+ style={{+ width:+ metric.abbr === "CLS"+ ? `${(metric.value / 0.25) * 100}%`+ : metric.abbr === "FID"+ ? `${(metric.value / 300) * 100}%`+ : metric.abbr === "LCP"+ ? `${(metric.value / 4) * 100}%`+ : `${(metric.value / 3) * 100}%`,+ }}+ />+ </div>+ </div>+ );+}++export function WebVitals() {+ return (+ <Card+ title="Web Vitals"+ description="Monitor Core Web Vitals and performance metrics to ensure a great user experience."+ >+ <div className="space-y-4">+ {/* Score overview */}+ <div className="bg-neutral-900 rounded-lg p-4">+ <div className="flex items-center justify-between mb-3">+ <h4 className="font-medium">Performance Score</h4>+ <span className="text-xs text-neutral-400">Last 28 days</span>+ </div>++ {/* Overall score */}+ <div className="flex items-center gap-4 mb-4">+ <div className="relative w-20 h-20">+ <svg className="w-20 h-20 transform -rotate-90">+ <circle+ cx="40"+ cy="40"+ r="36"+ stroke="currentColor"+ strokeWidth="8"+ fill="none"+ className="text-neutral-700"+ />+ <circle+ cx="40"+ cy="40"+ r="36"+ stroke="currentColor"+ strokeWidth="8"+ fill="none"+ strokeDasharray={`${2 * Math.PI * 36}`}+ strokeDashoffset={`${2 * Math.PI * 36 * (1 - 0.82)}`}+ className="text-emerald-500 transition-all duration-1000"+ />+ </svg>+ <div className="absolute inset-0 flex items-center justify-center">+ <span className="text-2xl font-bold">82</span>+ </div>+ </div>+ <div>+ <div className="text-sm font-medium text-emerald-400">Good</div>+ <div className="text-xs text-neutral-400">+ Above 90 is excellent+ </div>+ </div>+ </div>++ {/* Metrics grid */}+ <div className="grid grid-cols-2 gap-3">+ {Object.values(vitals).map((vital) => (+ <MetricCard key={vital.abbr} metric={vital} />+ ))}+ </div>+ </div>+ </div>+ </Card>+ );+}++export default WebVitals;diff --git a/docs/src/app/components/Tweet.tsx b/docs/src/app/components/Tweet.tsxindex c871ca01d..0663655c2 100644--- a/docs/src/app/components/Tweet.tsx+++ b/docs/src/app/components/Tweet.tsx@@ -239,7 +239,7 @@ export const MagicTweet = ({return (<divclassName={cn(- "relative flex size-full max-w-lg flex-col gap-2 overflow-hidden rounded-lg border p-4 backdrop-blur-md bg-neutral-900",+ "relative flex size-full max-w-lg flex-col gap-2 overflow-hidden rounded-lg p-4 backdrop-blur-md bg-neutral-900",className)}{...props}diff --git a/docs/src/app/page.jsx b/docs/src/app/page.jsxindex ed33de893..f31706278 100644--- a/docs/src/app/page.jsx+++ b/docs/src/app/page.jsx@@ -17,6 +17,8 @@ import { UserBehaviorTrends } from "./components/Cards/UserBehaviorTrends";import { UserFlowAnalysis } from "./components/Cards/UserFlowAnalysis";import { UserProfiles } from "./components/Cards/UserProfiles";import { UserSessions } from "./components/Cards/UserSessions";+import { SessionReplay } from "./components/Cards/SessionReplay";+import { WebVitals } from "./components/Cards/WebVitals";import { Integrations } from "./components/integrations";import { PricingSection } from "./pricing/components/PricingSection";import { TweetCard } from "./components/Tweet";@@ -162,7 +164,7 @@ export default function IndexPage() {<div className="absolute top-1/2 left-1/2 -translate-x-1/3 -translate-y-1/3 w-[350px] h-[350px] bg-sky-400/20 rounded-full blur-[75px] opacity-40"></div>{/* Iframe container with responsive visibility */}- <div className="relative z-10 rounded-lg overflow-hidden border-4 border-neutral-100/5 shadow-2xl shadow-emerald-900/10">+ <div className="relative z-10 rounded-lg overflow-hidden border-8 border-neutral-100/5 shadow-2xl shadow-emerald-900/10">{/* Remove mobile message and show iframe on all devices */}<iframesrc="https://demo.rybbit.io/21"@@ -190,18 +192,17 @@ export default function IndexPage() {</p></div>- <div className="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-4 md:gap-6">- {/* Row 1 */}+ <div className="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-3 md:gap-4">+ {/* <Funnels /> */}+ {/* <AdvancedFilters /> */}+<RealTimeAnalytics />- <AdvancedFilters />+ <SessionReplay />+ <WebVitals /><UserProfiles />-- {/* Row 2 */}<UserSessions /><UserFlowAnalysis />- <Funnels />- {/* Row 3 */}<UserBehaviorTrends /><EventTracking /><GoalConversion />@@ -447,54 +448,48 @@ export default function IndexPage() {</section>{/* add CTA section here */}- <section className="py-16 md:py-24 w-full bg-gradient-to-b from-neutral-900 to-neutral-950">+ <section className="py-12 md:py-20 w-full bg-gradient-to-b from-neutral-900 to-neutral-950"><div className="max-w-7xl mx-auto px-4">- <div className="relative bg-neutral-800/60 backdrop-blur-sm border border-neutral-700 rounded-2xl shadow-xl overflow-hidden">- {/* Background gradient accents */}- <div className="absolute top-0 left-0 w-72 h-72 bg-emerald-500/10 rounded-full blur-3xl -translate-x-1/2 -translate-y-1/2"></div>- <div className="absolute bottom-0 right-0 w-72 h-72 bg-emerald-500/10 rounded-full blur-3xl translate-x-1/2 translate-y-1/2"></div>-- <div className="relative p-6 md:p-12 flex flex-col items-center justify-center text-center">- <div className="mb-6 md:mb-8">- <Image- src="/rybbit-text.svg"- alt="Rybbit"- width={150}- height={27}- />- </div>- <h2 className="text-2xl md:text-4xl font-bold mb-4 md:mb-6">- It's time to switch to analytics that's made for you- </h2>- <p className="text-base md:text-xl text-neutral-300 mb-6 md:mb-10 max-w-3xl mx-auto">- The first 3,000 events a month are free- </p>+ <div className="relative p-6 md:p-12 flex flex-col items-center justify-center text-center">+ <div className="mb-6 md:mb-8">+ <Image+ src="/rybbit-text.svg"+ alt="Rybbit"+ width={150}+ height={27}+ />+ </div>+ <h2 className="text-2xl md:text-4xl font-bold mb-4 md:mb-6">+ It's time to switch to analytics that's made for you+ </h2>+ <p className="text-base md:text-xl text-neutral-300 mb-6 md:mb-10 max-w-3xl mx-auto">+ The first 3,000 events a month are free+ </p>- <div className="flex flex-col sm:flex-row items-center justify-center gap-4 md:gap-6 mb-6 md:mb-8 w-full sm:w-auto">- <Link- href="https://app.rybbit.io/signup"- className="w-full sm:w-auto"+ <div className="flex flex-col sm:flex-row items-center justify-center gap-4 md:gap-6 mb-6 md:mb-8 w-full sm:w-auto">+ <Link+ href="https://app.rybbit.io/signup"+ className="w-full sm:w-auto"+ >+ <button+ data-rybbit-event="signup"+ data-rybbit-prop-location="bottom"+ className="w-full sm:w-auto bg-emerald-600 hover:bg-emerald-500 text-white font-medium px-6 md:px-8 py-3 md:py-4 rounded-lg shadow-lg shadow-emerald-900/20 transform hover:-translate-y-0.5 transition-all duration-200 focus:outline-none focus:ring-2 focus:ring-emerald-500 focus:ring-opacity-50 cursor-pointer">- <button- data-rybbit-event="signup"- data-rybbit-prop-location="bottom"- className="w-full sm:w-auto bg-emerald-600 hover:bg-emerald-500 text-white font-medium px-6 md:px-8 py-3 md:py-4 rounded-lg shadow-lg shadow-emerald-900/20 transform hover:-translate-y-0.5 transition-all duration-200 focus:outline-none focus:ring-2 focus:ring-emerald-500 focus:ring-opacity-50 cursor-pointer"- >- Track your site now- </button>- </Link>- {/* <Link href="https://docs.tomato.gg" className="w-full sm:w-auto">+ Track your site now+ </button>+ </Link>+ {/* <Link href="https://docs.tomato.gg" className="w-full sm:w-auto"><button className="w-full sm:w-auto bg-neutral-800 hover:bg-neutral-700 text-white font-medium px-6 md:px-8 py-3 md:py-4 rounded-lg border border-neutral-600 transform hover:-translate-y-0.5 transition-all duration-200 hover:border-neutral-400 focus:outline-none focus:ring-2 focus:ring-neutral-400 focus:ring-opacity-50">View Documentation</button></Link> */}- </div>-- <p className="text-neutral-400 text-xs md:text-sm flex items-center justify-center gap-2">- <CheckCircle className="w-3 h-3 md:w-4 md:h-4" />- We don't ask for your credit card- </p></div>++ <p className="text-neutral-400 text-xs md:text-sm flex items-center justify-center gap-2">+ <CheckCircle className="w-3 h-3 md:w-4 md:h-4" />+ We don't ask for your credit card+ </p></div></div></section>