fix: add x-data to body so Alpine removes x-cloak, add Makefile for local dev
All checks were successful
Build and Deploy DevOpsDash / build-image (push) Successful in 6s

- body had x-cloak but no x-data, so Alpine never initialized it and page stayed display:none
- added x-data to <body> tag — Alpine now processes the element and removes x-cloak
- added Makefile: make dev (hot-reload), make install, make open, make lint/fmt
This commit is contained in:
Henrik Jess Nielsen
2026-05-09 17:21:07 +02:00
parent 8905dd2040
commit 26e4bba041
2 changed files with 38 additions and 1 deletions

View File

@@ -37,7 +37,7 @@
.prose-dark hr { border-color:#374151; margin:.75rem 0; }
</style>
</head>
<body class="bg-gray-950 text-gray-100 min-h-screen flex flex-col" x-cloak>
<body class="bg-gray-950 text-gray-100 min-h-screen flex flex-col" x-data x-cloak>
<!-- ════════════════ TOPBAR ════════════════ -->
<header class="flex items-center justify-between px-5 py-2.5 border-b border-gray-800 bg-gray-900 sticky top-0 z-50">