diff --git a/web/public/screenshots/webspeak_mobile.png b/web/public/screenshots/webspeak_mobile.png new file mode 100644 index 0000000..f7ff1d4 Binary files /dev/null and b/web/public/screenshots/webspeak_mobile.png differ diff --git a/web/src/landing.css b/web/src/landing.css index b93af56..b245e5c 100644 --- a/web/src/landing.css +++ b/web/src/landing.css @@ -53,3 +53,9 @@ .product-tour{width:min(1380px,calc(100% - 48px))}.product-tour .section-head{width:min(1160px,100%);margin-left:auto;margin-right:auto}.tour-layout{grid-template-columns:minmax(0,3.2fr) minmax(250px,.8fr);gap:18px}.tour-screen{padding:8px}.tour-image{position:relative;overflow:hidden;border-radius:9px}.tour-image>img{display:block;width:100%;height:auto}.hotspot-tree{left:11%;top:31%}.hotspot-chat{left:55%;top:82%}.hotspot-voice{left:18%;top:4.5%}.hotspot-whisper{left:19%;top:18%}.tour-caption{position:relative;left:auto;right:auto;bottom:auto;margin-top:8px;min-height:73px}.tour-tabs button{padding:17px}.tour-tabs small{font-size:11px} @media(max-width:900px){.product-tour{width:min(100% - 48px,1160px)}.tour-layout{grid-template-columns:1fr}.tour-tabs button{padding:19px}} @media(max-width:600px){.product-tour{width:min(100% - 30px,1160px)}.hotspot{width:26px;height:26px}.hotspot-tree{left:10%;top:29%}.hotspot-chat{left:54%;top:80%}.hotspot-voice{left:18%;top:3%}.hotspot-whisper{left:19%;top:18%}.tour-caption{margin-top:5px}} + +/* Desktop and real mobile client composition */ +.showcase .screens{height:510px}.screens .screen-desktop{width:86%;right:0;left:auto;top:42px;bottom:auto;z-index:1;border-color:#44d5fa33;box-shadow:0 28px 65px #000a}.phone-frame{position:absolute;z-index:3;left:0;bottom:0;width:27%;padding:8px 6px 7px;background:#09131a;border:1px solid #55dcfa50;border-radius:19px;box-shadow:0 28px 60px #000b,0 0 35px #25caf512;animation:phone-float 6s ease-in-out infinite}.phone-frame:before{content:"";position:absolute;inset:-1px;border-radius:19px;background:linear-gradient(145deg,#72e7ff55,transparent 25%,transparent 75%,#22c7ed22);pointer-events:none}.phone-frame>span{display:block;width:34%;height:4px;margin:0 auto 7px;border-radius:99px;background:#233943}.screens .phone-frame img,.screens .phone-frame img:last-child{position:relative;inset:auto;width:100%;display:block;border:0;border-radius:11px;box-shadow:none;animation:none}.screens .screen-desktop:first-child{animation:screen-dark 6s ease-in-out infinite}@keyframes phone-float{0%,100%{transform:translateY(0) rotate(-1deg)}50%{transform:translateY(-8px) rotate(-.3deg)}} +@media(max-width:900px){.showcase .screens{height:520px;max-width:760px;width:100%;margin-inline:auto}.screens .screen-desktop{width:86%}.phone-frame{width:27%}} +@media(max-width:600px){.showcase .screens{height:390px}.screens .screen-desktop{width:88%;top:38px}.phone-frame{left:7px;width:34%;padding:6px 4px 5px;border-radius:14px}.phone-frame:before{border-radius:14px}.phone-frame>span{height:3px;margin-bottom:5px}.screens .phone-frame img{border-radius:8px}} +@media(prefers-reduced-motion:reduce){.phone-frame{animation:none}} diff --git a/web/src/landing.tsx b/web/src/landing.tsx index 45610e4..d364071 100644 --- a/web/src/landing.tsx +++ b/web/src/landing.tsx @@ -130,7 +130,7 @@ function Landing() { {t.architectureKicker}{t.architectureTitle}{t.architectureText}{[["Browser","React + Web Audio"],["Gateway","WebSocket · Node.js"],["Rust Connector","tsclientlib + Opus"],["TeamSpeak Server","TS3 / TS6 Protocol"]].map((x,i)=>0{i+1}{x[0]}{x[1]}{i<3&&})} - {t.screenKicker}{t.screenTitle[0]}{t.screenTitle[1]}{t.screenText}☾ Dark Mode☀ Light Mode⌁ Responsive + {t.screenKicker}{t.screenTitle[0]}{t.screenTitle[1]}{t.screenText}☾ Dark Mode☀ Light Mode⌁ Responsive {t.tourKicker}{t.tourTitle}{t.tourText}{t.tourItems.map((item, index) => setActiveTour(index)} aria-label={item[1]} aria-pressed={activeTour === index}>{index + 1})}0{activeTour + 1}{t.tourItems[activeTour][1]}{t.tourItems[activeTour][2]}{t.tourItems.map((item, index) => setActiveTour(index)}>0{index + 1}{item[1]}{item[2]})}
{t.architectureText}
{t.screenText}
{t.tourText}
{t.tourItems[activeTour][2]}