diff --git a/web/src/landing.css b/web/src/landing.css index 23f2586..0c37339 100644 --- a/web/src/landing.css +++ b/web/src/landing.css @@ -110,3 +110,7 @@ @media(prefers-reduced-motion:reduce){.nav .brand img,.nav nav a:after,.nav-github,.connect-steps article,.github-metrics article,.browser-table article,.community-grid>a,.github-metrics article>span,.browser-logo,.community.is-visible:before,.community-note span{animation:none;transition:none}.connect-steps article,.github-metrics article,.browser-table article,.community-grid>a{opacity:1;transform:none}} body{overflow-x:hidden}.landing{overflow:visible}.is-visible .community-grid>a:hover{transform:translateY(-6px)} + +/* Keep the floating header clean and fit the expanded section navigation. */ +.landing{background-image:linear-gradient(90deg,#ffffff05 1px,transparent 1px)}.nav nav{gap:19px}.nav nav a{font-size:12px;white-space:nowrap} +@media(max-width:1080px){.nav nav{gap:12px}.nav nav a{font-size:11px}.nav{padding-inline:13px}.nav .brand{font-size:19px}.nav-actions{gap:6px}.nav-github{padding-inline:10px}} diff --git a/web/src/landing.tsx b/web/src/landing.tsx index 546dd0e..e585ad2 100644 --- a/web/src/landing.tsx +++ b/web/src/landing.tsx @@ -16,7 +16,7 @@ function detectPhoneStyle(): PhoneStyle { const copy = { de: { - nav: ["Features", "Architektur", "Installation"], client: "Client öffnen", hero: ["Direkt im Browser.", "Dein vertrauter Voice-Client, neu gedacht fürs Web. Ohne Installation, ohne Cloud-Zwang – einfach Tab öffnen und verbinden."], + nav: ["Features", "Status", "Architektur", "Einblick", "Installation", "Community"], client: "Client öffnen", hero: ["Direkt im Browser.", "Dein vertrauter Voice-Client, neu gedacht fürs Web. Ohne Installation, ohne Cloud-Zwang – einfach Tab öffnen und verbinden."], demo: "Live Demo starten", github: "Auf GitHub ansehen", demoNote: "Die Demo nutzt simulierte Daten – ganz ohne echten Server.", built: "Gebaut mit", featureKicker: "ALLES, WAS DU BRAUCHST", featureTitle: "Voice-Chat ohne Kompromisse.", featureIntro: "Die Funktionen, die du von einem Desktop-Client erwartest – in einer modernen, offenen Web-App.", stepsKicker: "SO EINFACH GEHT'S", stepsTitle: "Server eingeben. Verbunden.", stepsText: "WebSpeak3 ist nicht an einen bestimmten Server gebunden. Öffne den Client, gib eine beliebige erreichbare Adresse ein und leg los.", steps: [["01", "Client öffnen", "Keine Installation und kein Konto nötig."], ["02", "Serveradresse eingeben", "Zum Beispiel voice.teamspeak.com."], ["03", "Direkt verbinden", "Voice, Chat und Channels stehen sofort bereit."]], connecting: "Verbindung wird hergestellt", connected: "Verbunden", nickname: "Nickname", connectNow: "Verbinden", @@ -34,7 +34,7 @@ const copy = { 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."], + nav: ["Features", "Status", "Architecture", "Explore", "Installation", "Community"], 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."], demo: "Launch live demo", github: "View on GitHub", demoNote: "The demo uses simulated data — no real server required.", built: "Built with", featureKicker: "EVERYTHING YOU NEED", featureTitle: "Voice chat without compromise.", featureIntro: "Everything you expect from a desktop client — inside a modern, open web app.", stepsKicker: "THAT SIMPLE", stepsTitle: "Enter a server. Connected.", stepsText: "WebSpeak3 is not tied to a particular server. Open the client, enter any reachable address and get started.", steps: [["01", "Open the client", "No installation or account required."], ["02", "Enter a server address", "For example voice.teamspeak.com."], ["03", "Connect directly", "Voice, chat and channels are ready right away."]], connecting: "Establishing connection", connected: "Connected", nickname: "Nickname", connectNow: "Connect", @@ -132,7 +132,7 @@ function Landing() { }, []); useEffect(() => { - const sections = ["features", "architecture", "install"] + const sections = ["features", "status", "architecture", "tour", "install", "community"] .map(id => document.getElementById(id)) .filter((section): section is HTMLElement => section !== null); const updateActiveSection = () => { @@ -156,7 +156,7 @@ function Landing() {
WebSpeak3 - +
GitHub ↗
@@ -197,13 +197,13 @@ function Landing() {
{t.screenKicker}

{t.screenTitle[0]}
{t.screenTitle[1]}

{t.screenText}

☾ Dark Mode☀ Light Mode⌁ Responsive
WebSpeak3 Desktop Client
WebSpeak3 Mobile Client
-
{t.tourKicker}

{t.tourTitle}

{t.tourText}

{t.imageAlt}/{t.tourItems.map((item, index) => )}
0{activeTour + 1}
{t.tourItems[activeTour][1]}

{t.tourItems[activeTour][2]}

{t.tourItems.map((item, index) => )}
+
{t.tourKicker}

{t.tourTitle}

{t.tourText}

{t.imageAlt}/{t.tourItems.map((item, index) => )}
0{activeTour + 1}
{t.tourItems[activeTour][1]}

{t.tourItems[activeTour][2]}

{t.tourItems.map((item, index) => )}
{t.installKicker}

{t.installTitle}

{t.installText}

{t.installSteps.map(([number, title, description]) =>
{number}
{title}{description}
)}
{t.installTabs.map((label, index) => )}
$ {installCommands[installMethod]}
{t.installGuide} →Docker Hub ↗
{t.browserKicker}

{t.browserTitle}

{t.browserText}

{t.browserRows.map(([browserName, status, note], index) =>
{browserName.slice(0, 1)}{browserName}{status}{note}
)}
-
{t.communityKicker}

{t.communityTitle}

{t.communityText}

{t.communityCards.map(([kind, title, description, action], index) => { const href = index === 0 ? `${github}/issues/new?labels=bug` : index === 1 ? `${github}/issues/new?labels=enhancement` : github; return {kind === "bug" ? "!" : kind === "idea" ? "✦" : "‹/›"}
{title}

{description}

{action} ↗
; })}

●{t.communityNote}

+
{t.communityKicker}

{t.communityTitle}

{t.communityText}

{t.communityCards.map(([kind, title, description, action], index) => { const href = index === 0 ? `${github}/issues/new?labels=bug` : index === 1 ? `${github}/issues/new?labels=enhancement` : github; return {kind === "bug" ? "!" : kind === "idea" ? "✦" : "‹/›"}
{title}

{description}

{action} ↗
; })}

●{t.communityNote}

{t.faqKicker}

{t.faqTitle}

{t.faqs.map(([question, answer], index) =>
0{index + 1}{question}+

{answer}

)}