This site uses a service worker to provide a limited offline mode, but it doesn't work for everything (dynamic pages, ones requiring a bit of server logic, the comments system, pages which haven't been cached), so you are being shown this instead.
-Please enjoy the below "flappy bird" game until your connection comes back, thanks to palaiologos (click or press space).
+Please enjoy the below "flappy bird" game until your connection comes back, thanks to palaiologos and ubq323 (click or press space).
diff --git a/assets/sw.js b/assets/sw.js
index 237b93a..14bb5d9 100644
--- a/assets/sw.js
+++ b/assets/sw.js
@@ -4,8 +4,8 @@ const cacheName = `${siteVersion}-v1`
const precache = [
offlinePage,
"/index.html",
- "/assets/images/logo.svg",
- "/assets/images/icon.png",
+ "/assets/images/logo256.png",
+ //"/assets/images/icon.png",
"/assets/js/page.js",
"/points/index.html",
"/points/index.js",
diff --git a/style.sass b/style.sass
index 260e752..6813990 100644
--- a/style.sass
+++ b/style.sass
@@ -14,8 +14,17 @@ nav
background: black
.logo
- width: 1.5em
- height: 1.5em
+ width: 1.5rem
+ height: 1.5rem
+ image-rendering: crisp-edges
+ image-rendering: pixelated
+
+ .logocont
+ display: flex
+ align-items: center
+ font-style: italic
+ color: white
+ font-size: 1.25em
a, img
margin-right: 0.5em
diff --git a/templates/layout.pug b/templates/layout.pug
index 27c075b..7353843 100644
--- a/templates/layout.pug
+++ b/templates/layout.pug
@@ -11,14 +11,15 @@ html(lang="en")
if description
meta(name="description", content=description)
link(rel="manifest", href="/assets/manifest.webmanifest")
- link(rel="shortcut icon", href="/assets/images/logo96inv.png", type="image/png")
+ link(rel="shortcut icon", href="/assets/images/logo256.png", type="image/png")
style!= css
if comments !== "off"
script(src=`https://${domain}/isso/js/embed.min.js`, async=true, data-isso=`https://${domain}/isso/`)
body
nav
- a(href="/")
- img.logo(src="/assets/images/logo.svg", alt="")
+ a.logocont(href="/")
+ img.logo(src="/assets/images/logo256.png", alt="osmarks.net logo")
+ .logotext osmarks
+nav-item("/", "Index")
+nav-item(`https://status.${domain}/`, "Status")
+nav-item(`https://i.${domain}/`, "Images")