The open-source AI voice studio. Clone, dictate, create.
Refactor landing page layout and update assets
Jamie Pine75520e0c2989
diff --git a/app/src/components/History/HistoryTable.tsx b/app/src/components/History/HistoryTable.tsxindex a68895b5..db0b0427 100644--- a/app/src/components/History/HistoryTable.tsx+++ b/app/src/components/History/HistoryTable.tsx@@ -108,9 +108,7 @@ export function HistoryTable() {{gen.profile_name}</div><div className="flex items-center gap-2">- <span className="text-xs text-muted-foreground">- {gen.language}- </span>+ <span className="text-xs text-muted-foreground">{gen.language}</span><span className="text-xs text-muted-foreground">{formatDuration(gen.duration)}</span>@@ -131,7 +129,10 @@ export function HistoryTable() {</div>{/* Far right - Ellipsis actions */}- <div className="w-10 shrink-0 flex justify-end" onClick={(e) => e.stopPropagation()}>+ <div+ className="w-10 shrink-0 flex justify-end"+ onClick={(e) => e.stopPropagation()}+ ><DropdownMenu><DropdownMenuTrigger asChild><Buttondiff --git a/landing/public/App.png b/landing/public/App.pngindex 5179c3b8..ca049a2f 100644Binary files a/landing/public/App.png and b/landing/public/App.png differdiff --git a/landing/public/App.webp b/landing/public/App.webpdeleted file mode 100644index 4112e491..00000000Binary files a/landing/public/App.webp and /dev/null differdiff --git a/landing/public/AppScreenshot.webp b/landing/public/AppScreenshot.webpnew file mode 100644index 00000000..5180f68fBinary files /dev/null and b/landing/public/AppScreenshot.webp differdiff --git a/landing/src/app/page.tsx b/landing/src/app/page.tsxindex 8f57bfd1..a2a2d30f 100644--- a/landing/src/app/page.tsx+++ b/landing/src/app/page.tsx@@ -4,7 +4,6 @@ import { Cloud, Code, Cpu, Github, Shield, Zap } from 'lucide-react';import Image from 'next/image';import { AppleIcon, LinuxIcon, WindowsIcon } from '@/components/PlatformIcons';import { Button } from '@/components/ui/button';-import { Hero } from '@/components/ui/hero';import { Section, SectionTitle } from '@/components/ui/section';import { DOWNLOAD_LINKS, GITHUB_REPO } from '@/lib/constants';import { FeatureCard } from '../components/ui/feature-card';@@ -50,88 +49,110 @@ export default function Home() {return (<div className="space-y-12 sm:space-y-16 md:space-y-20">{/* Hero Section */}- <Hero- title="voicebox"- description="Open source voice cloning powered by Qwen3-TTS. Create natural-sounding speech from text with near-perfect voice replication."- actions={- <div className="space-y-4 w-full lg:w-auto">- <div className="w-full max-w-2xl mb-6">- <Image- src="/App.webp"- alt="Voicebox Application Screenshot"- width={1920}- height={1080}- className="w-full h-auto rounded-lg border border-border shadow-lg"- priority- />- </div>- <div>- <h2 className="text-2xl sm:text-3xl font-bold mb-1">Download</h2>- <p className="text-sm text-muted-foreground">Choose your platform</p>+ <section className="relative py-12 sm:py-16 md:py-20 lg:py-24">+ <div className="container mx-auto px-4 sm:px-6 lg:px-8 relative max-w-7xl">+ <div className="grid grid-cols-1 lg:grid-cols-2 gap-8 lg:gap-12 items-start">+ {/* Left side - Content */}+ <div className="space-y-6 lg:pr-8">+ <div className="flex lg:justify-start justify-center mb-6">+ <Image+ src="/voicebox-logo-2.png"+ alt="Voicebox Logo"+ width={1024}+ height={1024}+ className="w-32 sm:w-40 md:w-48 h-auto"+ priority+ />+ </div>+ <h1 className="text-5xl sm:text-6xl md:text-7xl lg:text-8xl font-bold leading-tight text-left">+ Voicebox+ </h1>+ <p className="text-lg sm:text-xl md:text-2xl text-foreground/70 max-w-xl text-left">+ Open source voice cloning powered by Qwen3-TTS. Create natural-sounding speech from+ text with near-perfect voice replication.+ </p>++ {/* Download buttons under left content */}+ <div className="space-y-4 pt-4">+ <div className="grid grid-cols-1 sm:grid-cols-2 gap-3 w-full max-w-2xl">+ <Button asChild size="lg" className="w-full px-0">+ <a+ href={DOWNLOAD_LINKS.macArm}+ download+ className="flex items-center w-full relative"+ >+ <div className="flex items-center gap-2 flex-shrink-0 pl-4">+ <AppleIcon className="h-5 w-5" />+ <div className="h-5 w-px bg-border" />+ </div>+ <span className="flex-1 text-center px-4">macOS (ARM)</span>+ </a>+ </Button>+ <Button asChild size="lg" className="w-full px-0">+ <a+ href={DOWNLOAD_LINKS.macIntel}+ download+ className="flex items-center w-full relative"+ >+ <div className="flex items-center gap-2 flex-shrink-0 pl-4">+ <AppleIcon className="h-5 w-5" />+ <div className="h-5 w-px bg-border" />+ </div>+ <span className="flex-1 text-center px-4">macOS (Intel)</span>+ </a>+ </Button>+ <Button asChild size="lg" className="w-full px-0">+ <a+ href={DOWNLOAD_LINKS.windows}+ download+ className="flex items-center w-full relative"+ >+ <div className="flex items-center gap-2 flex-shrink-0 pl-4">+ <WindowsIcon className="h-5 w-5" />+ <div className="h-5 w-px bg-border" />+ </div>+ <span className="flex-1 text-center px-4">Windows</span>+ </a>+ </Button>+ <Button asChild size="lg" className="w-full px-0">+ <a+ href={DOWNLOAD_LINKS.linux}+ download+ className="flex items-center w-full relative"+ >+ <div className="flex items-center gap-2 flex-shrink-0 pl-4">+ <LinuxIcon className="h-5 w-5" />+ <div className="h-5 w-px bg-border" />+ </div>+ <span className="flex-1 text-center px-4">Linux</span>+ </a>+ </Button>+ </div>+ <Button variant="outline" size="lg" asChild className="w-full max-w-2xl">+ <a href={GITHUB_REPO} target="_blank" rel="noopener noreferrer">+ <Github className="h-4 w-4 mr-2" />+ View on GitHub+ </a>+ </Button>+ </div></div>- <div className="grid grid-cols-1 sm:grid-cols-2 gap-3 w-full max-w-2xl">- <Button asChild size="lg" className="w-full px-0">- <a- href={DOWNLOAD_LINKS.macArm}- download- className="flex items-center w-full relative"- >- <div className="flex items-center gap-2 flex-shrink-0 pl-4">- <AppleIcon className="h-5 w-5" />- <div className="h-5 w-px bg-border" />- </div>- <span className="flex-1 text-center px-4">macOS (ARM)</span>- </a>- </Button>- <Button asChild size="lg" className="w-full px-0">- <a- href={DOWNLOAD_LINKS.macIntel}- download- className="flex items-center w-full relative"- >- <div className="flex items-center gap-2 flex-shrink-0 pl-4">- <AppleIcon className="h-5 w-5" />- <div className="h-5 w-px bg-border" />- </div>- <span className="flex-1 text-center px-4">macOS (Intel)</span>- </a>- </Button>- <Button asChild size="lg" className="w-full px-0">- <a- href={DOWNLOAD_LINKS.windows}- download- className="flex items-center w-full relative"- >- <div className="flex items-center gap-2 flex-shrink-0 pl-4">- <WindowsIcon className="h-5 w-5" />- <div className="h-5 w-px bg-border" />- </div>- <span className="flex-1 text-center px-4">Windows</span>- </a>- </Button>- <Button asChild size="lg" className="w-full px-0">- <a- href={DOWNLOAD_LINKS.linux}- download- className="flex items-center w-full relative"- >- <div className="flex items-center gap-2 flex-shrink-0 pl-4">- <LinuxIcon className="h-5 w-5" />- <div className="h-5 w-px bg-border" />- </div>- <span className="flex-1 text-center px-4">Linux</span>- </a>- </Button>++ {/* Right side - Large screenshot positioned off-screen */}+ <div className="hidden lg:block relative">+ <div className="absolute right-0 top-0 -mt-10 w-[200%] -mr-[100%]">+ <Image+ src="/AppScreenshot.webp"+ alt="Voicebox Application Screenshot"+ width={1920}+ height={1080}+ className="w-full h-auto"+ priority+ />+ </div></div>- <Button variant="outline" size="lg" asChild className="w-full">- <a href={GITHUB_REPO} target="_blank" rel="noopener noreferrer">- <Github className="h-4 w-4 mr-2" />- View on GitHub- </a>- </Button></div>- }- />+ </div>+ </section>{/* Features Section */}<Section id="features">diff --git a/landing/src/components/Header.tsx b/landing/src/components/Header.tsxindex ce6ae2c4..9af8618e 100644--- a/landing/src/components/Header.tsx+++ b/landing/src/components/Header.tsx@@ -1,7 +1,7 @@'use client';-import Link from 'next/link';import { Github } from 'lucide-react';+import Link from 'next/link';import { Button } from '@/components/ui/button';import { GITHUB_REPO } from '@/lib/constants';@@ -15,7 +15,7 @@ export function Header() {href="/"className="flex items-center gap-2 font-bold text-xl sm:text-2xl hover:opacity-80 transition-opacity tracking-tight">- voicebox+ Voicebox</Link>{/* Actions */}diff --git a/tauri/src-tauri/gen/Assets.car b/tauri/src-tauri/gen/Assets.carindex e553bcf6..8819f525 100644Binary files a/tauri/src-tauri/gen/Assets.car and b/tauri/src-tauri/gen/Assets.car differ