mirror of
https://git.sr.ht/~roxwize/mipilin
synced 2025-01-31 02:53:36 +00:00
47 lines
1.3 KiB
Text
47 lines
1.3 KiB
Text
|
doctype html
|
||
|
html(lang="en")
|
||
|
head
|
||
|
meta(charset="UTF-8")
|
||
|
meta(name="viewport", content="width=device-width, initial-scale=1.0")
|
||
|
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")
|
||
|
nav
|
||
|
if session.loggedIn
|
||
|
a(href="/dashboard/") Dashboard
|
||
|
a(href="/feed/") Feed
|
||
|
a(href="/logout/") Log out
|
||
|
else
|
||
|
a(href="/feed/") Feed
|
||
|
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
|
||
|
|