1
0
Fork 0
mirror of https://git.sr.ht/~roxwize/mipilin synced 2025-05-12 16:23:06 +00:00

this is the initial commit for my AWESOME website

Signed-off-by: roxwize <rae@roxwize.xyz>
This commit is contained in:
Rae 5e 2024-11-13 22:51:08 -05:00
commit e3c09d7f0d
Signed by: rae
GPG key ID: 5B1A0FAB9BAB81EE
42 changed files with 5710 additions and 0 deletions

46
views/site.pug Normal file
View file

@ -0,0 +1,46 @@
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