73 lines
2.2 KiB
HTML
73 lines
2.2 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8" />
|
|
<meta
|
|
name="description"
|
|
content="A prettier client for the /tg/station Wiki"
|
|
/>
|
|
<meta name="theme-color" content="#141c26" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
<meta name="apple-mobile-web-app-capable" content="yes" />
|
|
<meta name="apple-mobile-web-app-status-bar-style" content="black" />
|
|
<meta name="apple-mobile-web-app-title" content="/tg/station handbook" />
|
|
<link
|
|
rel="apple-touch-icon"
|
|
href="assets/images/icons-manifest/icon152.png"
|
|
/>
|
|
<link rel="manifest" href="manifest.webmanifest" />
|
|
<link rel="icon" href="favicon.ico" type="image/x-icon" />
|
|
<link
|
|
rel="preload"
|
|
href="assets/fonts/iosevka/iosevka-aile.css"
|
|
as="style"
|
|
/>
|
|
<link
|
|
rel="preload"
|
|
href="assets/fonts/iosevka/woff2/iosevka-aile-regular.woff2"
|
|
as="font"
|
|
/>
|
|
<link rel="preload" href="style/main.scss" as="style" />
|
|
<link rel="preload" href="style/bgus.scss" as="style" />
|
|
<link rel="preload" href="src/index.ts" as="script" />
|
|
<link
|
|
rel="stylesheet"
|
|
href="assets/fonts/iosevka/iosevka-aile.css"
|
|
media="async"
|
|
onload="this.media='all'"
|
|
/>
|
|
<link rel="stylesheet" href="style/main.scss" />
|
|
<link rel="stylesheet" href="style/bgus.scss" />
|
|
<title>/tg/station Handbook</title>
|
|
</head>
|
|
<body>
|
|
<div class="bgimage">
|
|
<img src="./assets/images/bg-nanotrasen.svg" />
|
|
</div>
|
|
<main id="app">
|
|
<nav id="tab-list"></nav>
|
|
<section id="tabs"></section>
|
|
</main>
|
|
<noscript>
|
|
<h1>NO JS NO PARTY</h1>
|
|
<h2>JavaScript support is required to run this app.</h2>
|
|
</noscript>
|
|
<script src="src/index.ts" async></script>
|
|
<script>
|
|
if ("serviceWorker" in navigator) {
|
|
const x = "sw.js";
|
|
navigator.serviceWorker
|
|
.register(x)
|
|
.then(function (registration) {
|
|
console.log(
|
|
"Registration successful, scope is:",
|
|
registration.scope
|
|
);
|
|
})
|
|
.catch(function (error) {
|
|
console.log("Service worker registration failed, error:", error);
|
|
});
|
|
}
|
|
</script>
|
|
</body>
|
|
</html>
|