Expand landing page with product details

This commit is contained in:
Moepchi committed 2026-08-22 21:31:02 +02:00
1 parent 69efb64db6
commit 7deee1a8c3
2 files changed
+41 -3

No files matched your search

+25 -3
View File
@@ -17,7 +17,11 @@ const copy = {
privacyKicker: "PRIVATSPHÄRE EINGEBAUT", privacyTitle: ["Deine Gespräche.", "Deine Infrastruktur."], privacyText: "WebSpeak3 verbindet sich über dein eigenes Gateway mit deinem TeamSpeak-Server. Keine fremde Cloud, kein Tracking und keine Kontenpflicht.", privacyList: ["Vollständig selbst hostbar", "Quelloffen unter MIT-Lizenz", "Bestehender TS3-Server bleibt unverändert"], control: ["Kontrolle über", "deine Daten"],
architectureKicker: "UNTER DER HAUBE", architectureTitle: "Vom Tab direkt zum Server.", architectureText: "Eine schlanke Brücke übersetzt WebSocket-Nachrichten in das echte TeamSpeak-Protokoll.",
screenKicker: "FÜR JEDEN BILDSCHIRM", screenTitle: ["Desktop-Komfort.", "Mobile Freiheit."], screenText: "Dark oder Light, großer Monitor oder Smartphone: WebSpeak3 passt sich an, ohne Kernfunktionen zu verstecken.",
installKicker: "IN MINUTEN STARTKLAR", installTitle: "Dein Server. Dein WebSpeak3.", installText: "Mit Docker läuft dein eigener Browser-Client in einem einzigen Befehl.", installGuide: "Installationsanleitung", copyCommand: "Befehl kopieren", disclaimer: "Ein unabhängiges Open-Source-Projekt. Nicht mit TeamSpeak Systems GmbH verbunden.", imageAlt: "WebSpeak3 Client im Dark Mode",
statusKicker: "OFFEN ENTWICKELT", statusTitle: "Beta, aber schon ziemlich gesprächig.", statusText: "WebSpeak3 ist ein aktiver Prototyp. Diese Übersicht zeigt transparent, was heute bereits funktioniert und wo noch Feinschliff folgt.", statusLabels: ["Verfügbar", "In Arbeit", "Als Nächstes"], statusCards: [["Voice, Chat & Channel Tree", "Echte TS3/TS6-Verbindungen, Opus-Audio, Whisper, Chats und Live-Status."], ["Browser-Kompatibilität", "Audioausgabe und Mikrofonverhalten werden für weitere Browser und Geräte verfeinert."], ["Mehr Komfort", "Weitere Desktop-Client-Details, stabilere Randfälle und Community-Feedback."]], roadmap: "Roadmap und Issues ansehen",
tourKicker: "LIVE ERKUNDEN", tourTitle: "Der Client, erklärt im Kontext.", tourText: "Wähle einen Bereich und sieh direkt, wo die wichtigsten Funktionen im WebSpeak3-Client sitzen.", tourItems: [["tree", "Channel Tree", "Channels, Nutzer und Status wechseln in Echtzeit."], ["chat", "Chat & Events", "Server-, Channel- und Direktnachrichten bleiben übersichtlich getrennt."], ["voice", "Voice Controls", "Mikrofon, Lautsprecher, Aktivierung und Pegel immer griffbereit."], ["whisper", "Whisper", "Gezielt einzelne Nutzer oder komplette Channels ansprechen."]],
installKicker: "IN MINUTEN STARTKLAR", installTitle: "Dein Server. Dein WebSpeak3.", installText: "Mit Docker läuft dein eigener Browser-Client in einem einzigen Befehl.", installSteps: [["01", "Container starten", "Image laden und Port 8080 veröffentlichen."], ["02", "Browser öffnen", "WebSpeak3 lokal oder über deine Domain aufrufen."], ["03", "Server verbinden", "TS-Adresse und Nickname eingeben – fertig."]], installGuide: "Installationsanleitung", copyCommand: "Befehl kopieren", copied: "Kopiert!",
faqKicker: "GUT ZU WISSEN", faqTitle: "Fragen, bevor du loslegst.", faqs: [["Brauche ich einen neuen TeamSpeak-Server?", "Nein. WebSpeak3 verbindet sich mit deinem bestehenden TS3- oder TS6-Server; daran muss nichts verändert werden."], ["Wo laufen meine Sprachdaten?", "Über dein selbst gehostetes Gateway und den Rust Connector direkt zu deinem TeamSpeak-Server – ohne fremde WebSpeak3-Cloud."], ["Welche Browser werden unterstützt?", "Moderne Chromium- und Firefox-Browser sind das Hauptziel. Einzelne Audiofunktionen können je nach Browser und Gerät abweichen."], ["Benötigt WebSpeak3 Zugriff auf mein Mikrofon?", "Erst wenn du das Mikrofon aktivierst. Dann fragt der Browser wie üblich nach deiner Erlaubnis."], ["Ist das Projekt produktionsreif?", "WebSpeak3 ist aktuell als Beta beziehungsweise Prototyp gekennzeichnet. Teste deine gewünschte Umgebung daher vor einem breiten Einsatz."], ["Kann ich mithelfen?", "Ja. Fehlerberichte, Ideen und Beiträge sind über das öffentliche GitHub-Repository willkommen."]],
disclaimer: "Ein unabhängiges Open-Source-Projekt. Nicht mit TeamSpeak Systems GmbH verbunden.", imageAlt: "WebSpeak3 Client im Dark Mode",
},
en: {
nav: ["Features", "Architecture", "Installation"], client: "Open client", hero: ["Right in your browser.", "The voice client you know, reimagined for the web. No installation, no cloud lock-in — just open a tab and connect."],
@@ -27,7 +31,11 @@ const copy = {
privacyKicker: "PRIVACY BUILT IN", privacyTitle: ["Your conversations.", "Your infrastructure."], privacyText: "WebSpeak3 connects to your TeamSpeak server through your own gateway. No third-party cloud, no tracking and no account required.", privacyList: ["Fully self-hostable", "Open source under the MIT license", "Your existing TS3 server stays unchanged"], control: ["Control over", "your data"],
architectureKicker: "UNDER THE HOOD", architectureTitle: "From your tab to the server.", architectureText: "A lean bridge translates WebSocket messages into the real TeamSpeak protocol.",
screenKicker: "FOR EVERY SCREEN", screenTitle: ["Desktop comfort.", "Mobile freedom."], screenText: "Dark or light, large display or smartphone: WebSpeak3 adapts without hiding core functionality.",
installKicker: "READY IN MINUTES", installTitle: "Your server. Your WebSpeak3.", installText: "Run your own browser client with a single Docker command.", installGuide: "Installation guide", copyCommand: "Copy command", disclaimer: "An independent open-source project. Not affiliated with TeamSpeak Systems GmbH.", imageAlt: "WebSpeak3 client in dark mode",
statusKicker: "BUILT IN THE OPEN", statusTitle: "Beta, but already quite talkative.", statusText: "WebSpeak3 is an active prototype. This overview is transparent about what works today and where refinement is still underway.", statusLabels: ["Available", "In progress", "Up next"], statusCards: [["Voice, chat & channel tree", "Real TS3/TS6 connections, Opus audio, whisper, chats and live status."], ["Browser compatibility", "Audio output and microphone behavior are being refined across more browsers and devices."], ["More polish", "More desktop-client details, resilient edge cases and community feedback."]], roadmap: "View roadmap and issues",
tourKicker: "EXPLORE IT LIVE", tourTitle: "The client, explained in context.", tourText: "Choose an area to see exactly where WebSpeak3 keeps its most important features.", tourItems: [["tree", "Channel tree", "Channels, users and status update in real time."], ["chat", "Chat & events", "Server, channel and direct messages stay clearly separated."], ["voice", "Voice controls", "Microphone, speakers, activation and levels remain within reach."], ["whisper", "Whisper", "Talk directly to individual users or complete channels."]],
installKicker: "READY IN MINUTES", installTitle: "Your server. Your WebSpeak3.", installText: "Run your own browser client with a single Docker command.", installSteps: [["01", "Start the container", "Pull the image and publish port 8080."], ["02", "Open your browser", "Visit WebSpeak3 locally or through your domain."], ["03", "Connect your server", "Enter your TS address and nickname — done."]], installGuide: "Installation guide", copyCommand: "Copy command", copied: "Copied!",
faqKicker: "GOOD TO KNOW", faqTitle: "Questions before you start.", faqs: [["Do I need a new TeamSpeak server?", "No. WebSpeak3 connects to your existing TS3 or TS6 server; no server changes are required."], ["Where does my voice data go?", "Through your self-hosted gateway and Rust connector directly to your TeamSpeak server — without a third-party WebSpeak3 cloud."], ["Which browsers are supported?", "Modern Chromium and Firefox browsers are the main targets. Individual audio features may vary by browser and device."], ["Does WebSpeak3 need microphone access?", "Only when you enable the microphone. Your browser will then ask for permission as usual."], ["Is the project production-ready?", "WebSpeak3 is currently marked as a beta/prototype. Test your intended environment before rolling it out broadly."], ["Can I contribute?", "Yes. Bug reports, ideas and contributions are welcome through the public GitHub repository."]],
disclaimer: "An independent open-source project. Not affiliated with TeamSpeak Systems GmbH.", imageAlt: "WebSpeak3 client in dark mode",
},
} as const;
@@ -51,6 +59,14 @@ function Landing() {
return navigator.language.toLowerCase().startsWith("de") ? "de" : "en";
});
const t = copy[lang];
const [activeTour, setActiveTour] = useState(0);
const [copied, setCopied] = useState(false);
const copyDockerCommand = () => {
navigator.clipboard?.writeText("docker run -d -p 8080:8080 --name webspeak3 moepchi/webspeak3:latest");
setCopied(true);
window.setTimeout(() => setCopied(false), 1800);
};
useEffect(() => {
localStorage.setItem("webspeak3:landing-language", lang);
@@ -110,11 +126,17 @@ function Landing() {
<section className="privacy reveal"><div className="shell privacy-inner"><div className="privacy-copy"><div className="icon large"><Icon name="lock"/></div><span className="kicker">{t.privacyKicker}</span><h2>{t.privacyTitle[0]}<br/>{t.privacyTitle[1]}</h2><p>{t.privacyText}</p><ul>{t.privacyList.map(item => <li key={item}>{item}</li>)}</ul></div><div className="privacy-card"><div className="orbit orbit-outer"><i></i></div><div className="orbit orbit-inner"><i></i></div><span>SELF-HOSTED</span><strong>100%</strong><small>{t.control[0]}<br/>{t.control[1]}</small></div></div></section>
<section className="section shell status reveal" id="status"><div className="section-head"><div><span className="kicker">{t.statusKicker}</span><h2>{t.statusTitle}</h2></div><p>{t.statusText}</p></div><div className="status-grid">{t.statusCards.map(([title, description], index) => <article key={title}><span className={`status-dot status-${index}`}></span><small>{t.statusLabels[index]}</small><h3>{title}</h3><p>{description}</p></article>)}</div><a className="text-link status-link" href={`${github}/issues`} target="_blank" rel="noreferrer">{t.roadmap} <span>↗</span></a></section>
<section className="section shell architecture reveal" id="architecture"><div className="section-head centered"><div><span className="kicker">{t.architectureKicker}</span><h2>{t.architectureTitle}</h2></div><p>{t.architectureText}</p></div><div className="flow">{[["Browser","React + Web Audio"],["Gateway","WebSocket · Node.js"],["Rust Connector","tsclientlib + Opus"],["TeamSpeak Server","TS3 / TS6 Protocol"]].map((x,i)=><div className="flow-wrap" style={{"--delay": `${i * 120}ms`} as React.CSSProperties} key={x[0]}><div className="flow-node"><span>0{i+1}</span><strong>{x[0]}</strong><small>{x[1]}</small></div>{i<3&&<div className="flow-arrow" aria-hidden="true"><i></i></div>}</div>)}</div></section>
<section className="section shell showcase reveal"><div className="showcase-copy"><span className="kicker">{t.screenKicker}</span><h2>{t.screenTitle[0]}<br/>{t.screenTitle[1]}</h2><p>{t.screenText}</p><div className="theme-pills"><span>☾ Dark Mode</span><span>☀ Light Mode</span><span>⌁ Responsive</span></div></div><div className="screens"><img src="../screenshots/webspeak_dark.png" alt="WebSpeak3 Dark Mode"/><img src="../screenshots/webspeak_light.png" alt="WebSpeak3 Light Mode"/></div></section>
<section className="install shell reveal" id="install"><span className="kicker">{t.installKicker}</span><h2>{t.installTitle}</h2><p>{t.installText}</p><div className="command"><code><i>$</i> docker run -d -p 8080:8080 moepchi/webspeak3:latest</code><button onClick={() => navigator.clipboard?.writeText("docker run -d -p 8080:8080 moepchi/webspeak3:latest")} aria-label={t.copyCommand}>⧉</button></div><div className="actions centered-actions"><a className="button primary" href={`${github}#-installation`} target="_blank" rel="noreferrer">{t.installGuide} <span>→</span></a><a className="text-link" href="https://hub.docker.com/r/moepchi/webspeak3" target="_blank" rel="noreferrer">Docker Hub ↗</a></div></section>
<section className="section shell product-tour reveal"><div className="section-head"><div><span className="kicker">{t.tourKicker}</span><h2>{t.tourTitle}</h2></div><p>{t.tourText}</p></div><div className="tour-layout"><div className="tour-screen"><img src="../screenshots/webspeak_dark.png" alt={t.imageAlt}/>{t.tourItems.map((item, index) => <button key={item[0]} className={`hotspot hotspot-${item[0]} ${activeTour === index ? "active" : ""}`} onClick={() => setActiveTour(index)} aria-label={item[1]} aria-pressed={activeTour === index}><span>{index + 1}</span></button>)}<div className="tour-caption"><span>0{activeTour + 1}</span><div><strong>{t.tourItems[activeTour][1]}</strong><p>{t.tourItems[activeTour][2]}</p></div></div></div><div className="tour-tabs">{t.tourItems.map((item, index) => <button key={item[0]} className={activeTour === index ? "active" : ""} onClick={() => setActiveTour(index)}><span>0{index + 1}</span><div><strong>{item[1]}</strong><small>{item[2]}</small></div></button>)}</div></div></section>
<section className="install shell reveal" id="install"><span className="kicker">{t.installKicker}</span><h2>{t.installTitle}</h2><p>{t.installText}</p><div className="install-steps">{t.installSteps.map(([number, title, description]) => <article key={number}><span>{number}</span><div><strong>{title}</strong><small>{description}</small></div></article>)}</div><div className="command"><code><i>$</i> docker run -d -p 8080:8080 --name webspeak3 moepchi/webspeak3:latest</code><button className={copied ? "copied" : ""} onClick={copyDockerCommand} aria-label={t.copyCommand}>{copied ? `✓ ${t.copied}` : "⧉"}</button></div><div className="actions centered-actions"><a className="button primary" href={`${github}#-installation`} target="_blank" rel="noreferrer">{t.installGuide} <span>→</span></a><a className="text-link" href="https://hub.docker.com/r/moepchi/webspeak3" target="_blank" rel="noreferrer">Docker Hub ↗</a></div></section>
<section className="section shell faq reveal"><div className="section-head centered"><div><span className="kicker">{t.faqKicker}</span><h2>{t.faqTitle}</h2></div></div><div className="faq-list">{t.faqs.map(([question, answer], index) => <details key={question} open={index === 0}><summary><span>0{index + 1}</span>{question}<i>+</i></summary><p>{answer}</p></details>)}</div></section>
</main>
<footer><div className="shell footer-inner"><a className="brand" href="#top"><img src="../logo.png" alt=""/><span>WebSpeak<span>3</span></span></a><p>{t.disclaimer}</p><div><a href={`${github}/blob/main/LICENSE`}>MIT License</a><a href={github}>GitHub</a><a href={`${github}/issues`}>Issues</a></div></div></footer>