style admin landing page with shell and card nav

wrap the admin page in the shared header (with the logout button)
and present the texts entry-point as a card-link in a list-cards
list. the #texts and #logout id hooks used by cypress are
preserved.
This commit is contained in:
Yisroel Baum 2026-05-01 11:33:05 +03:00
parent 59ec2e19e8
commit e51378b8c7
Signed by: yisroelbaum
GPG key ID: 0FA60884F75520A9

View file

@ -7,8 +7,23 @@
<link rel="stylesheet" href="/css/app.css">
</head>
<body>
<button id="logout">Logout</button>
<a href="/admin/texts" id="texts">Texts</a>
<header class="site-header">
<div class="site-header-inner">
<h1>Admin</h1>
<div class="cluster">
<button id="logout" class="btn btn-danger">Logout</button>
</div>
</div>
</header>
<main class="container stack">
<ul class="list-cards">
<li class="card">
<a id="texts" class="card-link" href="/admin/texts">
Texts
</a>
</li>
</ul>
</main>
<script src="/js/auth.js"></script>
</body>
</html>