mirror of
https://git.sr.ht/~roxwize/mipilin
synced 2025-01-30 18:53:36 +00:00
48 lines
1.5 KiB
Text
48 lines
1.5 KiB
Text
doctype html
|
|
html(lang="en")
|
|
head
|
|
meta(charset="UTF-8")
|
|
meta(name="viewport", content="width=device-width, initial-scale=1.0")
|
|
meta(name="description", content="Show your mood to the world!")
|
|
link(rel="stylesheet", href="/css/main.css")
|
|
block head
|
|
title #{title} > mipilin
|
|
body
|
|
main
|
|
header
|
|
a(href="/")
|
|
img#header-logo(src="/img/logo.svg", alt="logo", title="meow")
|
|
nav
|
|
if session.loggedIn
|
|
if session.status & 0b001
|
|
a(href="/mod/") Admin
|
|
a(href="/dashboard/") Dashboard
|
|
a(href="/journal/") Journal
|
|
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
|
|
| The beta is still a thing that is happening! If something fucks up plz let me know! <3
|
|
#page
|
|
block page
|
|
#content
|
|
if flashes
|
|
#flashes
|
|
for [type, flashGroup] of Object.entries(flashes)
|
|
for flash of flashGroup
|
|
div(class=`flash-${type}`)!= flash
|
|
block content
|
|
|