feat(web-site): harden sample desk, auth login, and form layout

Align nav/side/foot slots and shell CSS with table-driven admin desk;
add session login/logout mount and widen form fields for usable create UX.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
cflmyandCursor committed 2026-09-16 19:44:12 +08:00
1 parent 037592087c
commit 52b4bae423
14 files changed
+245 -73

No files matched your search

+29
View File
@@ -0,0 +1,29 @@
---
title: components/desk
description: Admin desk chrome — brand reads Admin; no public side rail.
---
## nav
`nav` =
| front | back | style | media | when |
|-------|------|-------|-------|------|
| Admin | /admin | | | |
| Site | / | | | |
| New | /new | | | |
| Logout | /admin/logout | | | auth |
*`nav`*
## foot
`foot` =
| front | back | style |
|-------|------|-------|
| Site | / | |
| Admin | /admin | |
| Logout | /admin/logout | |
*`foot`*
+1
View File
@@ -8,3 +8,4 @@
| Source | https://github.com/cflmy/marqdo | |
*`foot`*
+9 -7
View File
@@ -1,14 +1,16 @@
## nav
Brand first, then demo routes.
Brand first, then demo routes. Guest sees **Login**; signed-in sees **Admin** + **Logout**.
`nav` =
| front | back | style |
|-------|------|-------|
| Marqdo | / | |
| About | /about | |
| New | /new | |
| Admin | /admin | |
| front | back | style | media | when |
|-------|------|-------|-------|------|
| Marqdo | / | | | |
| About | /about | | | |
| New | /new | | | |
| Login | /login | | | guest |
| Admin | /admin | | | auth |
| Logout | /admin/logout | | | auth |
*`nav`*
+7 -6
View File
@@ -4,11 +4,12 @@ Hands-on demo checklist (links only — no JS).
`side` =
| front | back | style |
|-------|------|-------|
| 1. Home | / | |
| 2. New form | /new | |
| 3. Admin | /admin | |
| About | /about | |
| front | back | style | media | when |
|-------|------|-------|-------|------|
| 1. Home | / | | | |
| 2. New form | /new | | | |
| 3. Login | /login | | | guest |
| 3. Admin | /admin | | | auth |
| About | /about | | | |
*`side`*