Index: config.lua ================================================================== --- config.lua +++ config.lua @@ -52,15 +52,16 @@ -- we should add support for content-encoding headers and pre-compress -- the damn things before compiling (also making the binary smaller) {'style.css', 'text/css'}; {'live.js', 'text/javascript'}; -- rrrrrrrr {'default-avatar.webp', 'image/webp'}; -- needs inkscape-exclusive svg features + {'bell.svg', 'image/svg+xml'}; + {'heart.webp', 'image/webp'}; + {'retweet.webp', 'image/webp'}; {'padlock.svg', 'image/svg+xml'}; {'warn.svg', 'image/svg+xml'}; {'query.webp', 'image/webp'}; - {'heart.webp', 'image/webp'}; - {'retweet.webp', 'image/webp'}; }; default_ui_accent = tonumber(default('parsav_ui_default_accent',323)); } if os.getenv('parsav_let_me_be_an_idiot') == "i know what i'm doing" then conf.braingeniousmode = true -- SOUND GENERAL QUARTERS Index: render/nav.t ================================================================== --- render/nav.t +++ render/nav.t @@ -5,12 +5,12 @@ if co.who ~= nil or co.srv.cfg.pol_sec == lib.srv.secmode.public then t:lpush(' timeline') end if co.who ~= nil then t:lpush(' compose profile configure docs log out') + t:lpush('">profile configure docs log out notices') else t:lpush(' docs log in') end return t:finalize() end return render_nav ADDED static/bell.svg Index: static/bell.svg ================================================================== --- static/bell.svg +++ static/bell.svg @@ -0,0 +1,95 @@ + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + Index: static/style.scss ================================================================== --- static/style.scss +++ static/style.scss @@ -221,10 +221,18 @@ &, &::after { transition: 0.3s; } text-shadow: 1px 1px 1px black; &:hover{ transform: scale(1.2); } + } + > a[href].bell { + content: url(/s/bell.svg); + height: 2em; + padding: 0.125in 0.10in; + &:hover { + filter: drop-shadow(0 0 10px tone(-5%)); + } } } } }