2024-11-13 22:51:08 -05:00
doctype html
html(lang="en")
head
meta(charset="UTF-8")
meta(name="viewport", content="width=device-width, initial-scale=1.0")
2025-01-31 00:47:22 -05:00
meta(name="description", content="Share your mood with the world!")
2024-11-13 22:51:08 -05:00
link(rel="stylesheet", href="/css/main.css")
block head
title #{title} > mipilin
body
2025-01-31 00:47:22 -05:00
script(nonce=nonce).
// firefox FOUC fix
// https://stackoverflow.com/a/64158043
let mlemmers;
2024-11-13 22:51:08 -05:00
main
header
a(href="/")
2024-12-26 16:24:04 -05:00
img#header-logo(src="/img/logo.svg", alt="logo", title="meow")
2024-11-13 22:51:08 -05:00
nav
if session.loggedIn
2024-12-25 18:44:29 -05:00
if session.status & 0b001
2024-12-10 22:27:43 -05:00
a(href="/mod/") Admin
2024-11-13 22:51:08 -05:00
a(href="/dashboard/") Dashboard
2024-11-17 14:16:27 -05:00
a(href="/journal/") Journal
2024-11-13 22:51:08 -05:00
a(href="/logout/") Log out
else
a(href="/register/") Sign up
a(href="/login") Log in
#ticker
div
if session.loggedIn
span
a(href=`/users/${session.user}`)= session.user
|
| is feeling
|
strong #{currentMood || "nothing...??"}
else
| You should log in! It's FUN!!
span#ticker-marquee
marquee
2025-03-01 13:17:13 -05:00
| 01 03 25: A word from Rae Mipilin herself: Listen to Patricia Taxxon PLEASE / The beta is still a thing that is happening! If something fucks up plz let me know! <3
2024-11-13 22:51:08 -05:00
#page
block page
#content
if flashes
#flashes
for [type, flashGroup] of Object.entries(flashes)
for flash of flashGroup
2024-11-17 14:16:27 -05:00
div(class=`flash-${type}`)!= flash
2024-11-13 22:51:08 -05:00
block content