Files
sonr/internal/vfs/index.html
T

43 lines
1.3 KiB
HTML
Raw Normal View History

2024-09-18 02:22:17 -04:00
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<script src="https://cdn.sonr.io/js/htmx.min.js"></script>
<link href="https://cdn.sonr.io/stylesheet.css" rel="stylesheet" />
<script src="https://cdn.tailwindcss.com"></script>
<script src="https://unpkg.com/alpinejs" defer></script>
<style>
[x-cloak] {
display: none;
}
</style>
<title>Sonr DWN</title>
</head>
<body
class="flex items-center justify-center h-full bg-neutral-50 lg:p-24 md:16 p-4"
>
<script>
if ("serviceWorker" in navigator) {
navigator.serviceWorker
.register("sw.js")
.then(function (registration) {
console.log(
"Service Worker registered with scope:",
registration.scope,
);
})
.catch(function (error) {
console.log("Service Worker registration failed:", error);
});
}
</script>
<main
class="flex-row items-center justify-center mx-auto w-fit max-w-screen-sm gap-y-3"
>
<div hx-get="/" hx-trigger="load">Loading...</div>
</main>
</body>
</html>