App: / leads to the back office; lannadesk.com is the website now
CI / secret scan (push) Successful in 5s
CI / fmt, clippy, tests (push) Successful in 43s
CI / release (push) Skipped

lannadesk.com is Lanna Desk's own static website (B4L/lannadesk-web,
cnx-network-clan PR #163, deployed), and this app is app.lannadesk.com.
The landing page the app served at `/` goes (templates/landing.html,
static/landing.css): `/` now redirects to the back office, /desk. The
logo files in static/brand/ stay, the website copies them.

The public URL in README, PLAN, config.rs, the agreement PDF's comment and
the release notes is app.lannadesk.com.

Checks: fmt, clippy, 109 unit and 57 integration tests (`/` leads to
/desk, signed in or not).
This commit is contained in:
grabowski committed 2026-11-21 20:58:08 +07:00
1 parent eafe918bcc
commit 39980694f6
11 files changed
+29 -397

No files matched your search

-259
View File
@@ -1,259 +0,0 @@
/* lannadesk.com's public page: light, with the navy and gold of the app.
Only the landing page loads this file; the back office keeps app.css. */
:root {
--navy: #071323;
--navy2: #0d2240;
--gold: #f5c000;
--gold-ink: #8a6700;
--ink: #1b2533;
--mute: #566273;
--line: #e3e7ee;
--paper: #f7f8fb;
}
* {
box-sizing: border-box;
}
html {
scroll-behavior: smooth;
}
body {
margin: 0;
color: var(--ink);
background: #ffffff;
font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans Thai", sans-serif;
}
a {
color: var(--navy2);
}
.wrap {
max-width: 1080px;
margin: 0 auto;
padding-right: 24px;
padding-left: 24px;
}
.bar {
display: flex;
align-items: center;
gap: 18px;
}
/* the navy header with the logo, the links and the first lines */
.top {
background: radial-gradient(1200px 500px at 85% -10%, #163566 0%, var(--navy) 60%);
color: #e8edf5;
}
.top .bar {
justify-content: space-between;
padding-top: 22px;
padding-bottom: 22px;
}
.logo img {
display: block;
height: 44px;
width: auto;
}
.links {
display: flex;
align-items: center;
gap: 22px;
font-size: 15px;
}
.links a {
color: #c9d3e2;
text-decoration: none;
}
.links a:hover {
color: #ffffff;
}
.links .staff {
padding: 7px 14px;
border: 1px solid rgba(245, 192, 0, 0.55);
border-radius: 8px;
color: var(--gold);
}
.links .staff:hover {
background: rgba(245, 192, 0, 0.1);
color: var(--gold);
}
.hero {
padding-top: 64px;
padding-bottom: 88px;
}
.kicker {
margin: 0 0 14px;
color: var(--gold);
font-size: 13px;
font-weight: 700;
letter-spacing: 0.14em;
text-transform: uppercase;
}
h1 {
max-width: 760px;
text-wrap: balance;
margin: 0;
color: #ffffff;
font-size: clamp(32px, 5vw, 52px);
line-height: 1.12;
letter-spacing: -0.01em;
}
.lead {
max-width: 700px;
margin: 22px 0 0;
color: #c9d3e2;
font-size: 19px;
}
.cta {
margin: 34px 0 0;
}
.btn {
display: inline-block;
padding: 13px 22px;
border-radius: 10px;
background: var(--gold);
color: var(--navy);
font-weight: 700;
text-decoration: none;
}
.btn:hover {
background: #ffd23d;
}
/* the sections */
main section {
padding-top: 72px;
padding-bottom: 72px;
}
h2 {
margin: 0 0 28px;
color: var(--navy);
font-size: 30px;
line-height: 1.2;
}
h3 {
margin: 0 0 8px;
color: var(--navy);
font-size: 19px;
}
.grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 18px;
}
.card {
padding: 24px;
border: 1px solid var(--line);
border-top: 3px solid var(--gold);
border-radius: 12px;
background: #ffffff;
}
.card p {
margin: 0;
color: var(--mute);
font-size: 16px;
}
.band {
background: var(--paper);
border-top: 1px solid var(--line);
border-bottom: 1px solid var(--line);
}
.steps {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 28px;
margin: 0;
padding: 0;
list-style: none;
counter-reset: step;
}
.steps li {
position: relative;
padding-top: 52px;
color: var(--mute);
font-size: 16px;
counter-increment: step;
}
.steps li::before {
content: counter(step);
position: absolute;
top: 0;
left: 0;
width: 38px;
height: 38px;
border-radius: 50%;
background: var(--navy);
color: var(--gold);
font-weight: 800;
line-height: 38px;
text-align: center;
}
.steps b {
display: block;
margin-bottom: 4px;
color: var(--navy);
font-size: 18px;
}
.split {
display: grid;
grid-template-columns: 1.3fr 1fr;
gap: 56px;
}
.split p {
margin: 0 0 12px;
}
.muted {
color: var(--mute);
font-size: 15px;
}
.foot {
background: var(--navy);
color: #9ba8ba;
font-size: 14px;
}
.foot .bar {
padding-top: 22px;
padding-bottom: 22px;
}
.foot a {
margin-left: auto;
color: var(--gold);
}
@media (max-width: 860px) {
.grid,
.steps {
grid-template-columns: 1fr 1fr;
}
.split {
grid-template-columns: 1fr;
gap: 8px;
}
}
@media (max-width: 620px) {
body {
font-size: 16px;
}
.links a:not(.staff) {
display: none;
}
.logo img {
height: 36px;
}
.hero {
padding-top: 36px;
padding-bottom: 56px;
}
.lead {
font-size: 17px;
}
.grid,
.steps {
grid-template-columns: 1fr;
}
main section {
padding-top: 48px;
padding-bottom: 48px;
}
h2 {
font-size: 25px;
}
}