LordOS — a free, fast and secure GNU/Linux distribution based on Debian, with its own desktop environment: display server and Wayland compositor in C, a React UI engine on QuickJS, and private native apps.
C cdebiandesktop-environmentebpffirewalllandlocklinuxlinux-distributionopen-sourceprivacyquickjsraspberry-pi-5reactsecuritywaylandwayland-compositor
Website: move the hero spec facts off the laptop screen into a stats row below the slideshow
Federico Pereiraf5c9aac1dac5
diff --git a/web/build.mjs b/web/build.mjsindex 4923130..d7ed993 100644--- a/web/build.mjs+++ b/web/build.mjs@@ -483,8 +483,8 @@ ${featureList[i] ? `<a class="more" href="${pageUrl(l, 'features/' + featureListconst play = '<svg class="i-play" width="14" height="14" viewBox="0 0 24 24" fill="currentColor" aria-hidden="true"><path d="M7 4.5v15a1 1 0 001.5.86l12-7.5a1 1 0 000-1.72l-12-7.5A1 1 0 007 4.5z"/></svg>';const dots = SLIDES.map((v, i) => `<button type="button" aria-label="${esc(`${H.show} ${i + 1} ${H.of} ${n}: ${i === 0 ? H.alt : cap(v[0])}`)}"${i === 0 ? ' aria-current="true"' : ''}></button>`).join('');const ctl = n > 1 ? `<div class="hero-ctl"><button type="button" class="hc-play" data-state="playing" data-pause="${esc(H.pause)}" data-play="${esc(H.play)}" aria-label="${esc(H.pause)}">${pause}${play}</button><div class="hc-dots" role="group" aria-label="${esc(H.choose)}">${dots}</div></div>` : '';- const pills = H.pills.map((p, k) => `<span class="pill p${k + 1}">${esc(p)}</span>`).join('');- return `<div class="laptop" id="hero-show" role="region" aria-roledescription="carousel" aria-label="${esc(H.carousel)}"><div class="lp-screen"><span class="lp-cam" aria-hidden="true"></span><div class="lp-display" aria-live="off">${slides}</div></div><div class="lp-base" aria-hidden="true"><span class="lp-notch"></span></div><p class="pills">${pills}</p>${ctl}</div>`;+ const pills = H.pills.map((p) => `<li>${esc(p)}</li>`).join('');+ return `<div class="laptop" id="hero-show" role="region" aria-roledescription="carousel" aria-label="${esc(H.carousel)}"><div class="lp-screen"><span class="lp-cam" aria-hidden="true"></span><div class="lp-display" aria-live="off">${slides}</div></div><div class="lp-base" aria-hidden="true"><span class="lp-notch"></span></div>${ctl}</div><ul class="stats">${pills}</ul>`;})(),fingerprint: FINGERPRINT, banner: l === 'en' ? banner() : '',}, t));diff --git a/web/src/site.css b/web/src/site.cssindex f20d6f1..0e239fd 100644--- a/web/src/site.css+++ b/web/src/site.css@@ -142,8 +142,7 @@ h1,h2,h3{text-wrap:balance}.show-txt p.t{margin:14px 0 0;font-size:17px;line-height:1.6;color:var(--muted)}.show-img{flex:1.4 1 420px;min-width:0}-/* hero laptop (drawn in CSS) with spec pills */-.pills{margin:0}+/* hero laptop (drawn in CSS) with the slideshow, and the stats row below it */.laptop{position:relative;margin:0 auto;max-width:1000px;padding:0 4%}.lp-screen{position:relative;background:#0D0D16;border-radius:22px 22px 8px 8px;padding:2.6% 2.6% 3.2%;box-shadow:0 0 0 1px #2B2A40,inset 0 0 0 2px #1C1B2C,0 40px 90px var(--shadow),0 6px 18px var(--shadow-2)}.lp-cam{position:absolute;top:1.1%;left:50%;width:7px;height:7px;margin-left:-3.5px;border-radius:50%;background:#2A2940;box-shadow:inset 0 0 0 2px #1A1A28}@@ -171,18 +170,16 @@ h1,h2,h3{text-wrap:balance}@media (prefers-color-scheme:dark){:root:not([data-theme=light]) .lp-base{background:linear-gradient(#4A475F,#34324A 55%,#24223A)}:root:not([data-theme=light]) .lp-notch{background:linear-gradient(#1F1D33,#2E2C45)}}:root[data-theme=dark] .lp-base{background:linear-gradient(#4A475F,#34324A 55%,#24223A)}:root[data-theme=dark] .lp-notch{background:linear-gradient(#1F1D33,#2E2C45)}-.pill{position:absolute;z-index:2;display:inline-flex;align-items:center;gap:8px;padding:9px 14px;border-radius:999px;background:var(--surface);color:var(--ink);border:1px solid var(--chip-line);box-shadow:0 12px 30px var(--shadow-2);font:600 13.5px/1.2 var(--mono);white-space:nowrap}-.pill::before{content:"";width:8px;height:8px;border-radius:50%;background:#30D158;box-shadow:0 0 0 3px rgba(48,209,88,.2)}-.pill.p1{top:14%;left:0}-.pill.p2{top:46%;right:0}-.pill.p3{bottom:12%;left:6%}+.stats{list-style:none;margin:18px 0 0;padding:0;display:flex;flex-wrap:wrap;justify-content:center;gap:10px 28px}+.stats li{display:inline-flex;align-items:center;gap:8px;font:600 14px/1.3 var(--mono);color:var(--ink-2)}+.stats li::before{content:"";flex:0 0 auto;width:8px;height:8px;border-radius:50%;background:#30D158;box-shadow:0 0 0 3px rgba(48,209,88,.22)}@media (max-width:640px){.laptop{padding:0}.lp-screen{border-radius:12px 12px 5px 5px}.lp-base{height:9px;margin:0 -3%}.lp-cam{width:4px;height:4px;margin-left:-2px}- .pill{position:static;margin:10px 6px 0 0;font-size:12px;padding:7px 11px}- .pills{display:flex;flex-wrap:wrap;justify-content:center;margin-top:14px}+ .stats{flex-direction:column;align-items:center;gap:8px}+ .stats li{font-size:13px}}/* home: apps teaser */