diff --git a/lua/partials/footer.lua b/lua/partials/footer.lua index bb6ed1e..5bc2b05 100644 --- a/lua/partials/footer.lua +++ b/lua/partials/footer.lua @@ -71,7 +71,16 @@ return function() target = "_blank", "ebil.club", }), - [[ >:3]], + maivi.escape([[ >:3]]), + }), + h.div({ + maivi.escape([[& built with ]]), + h.a({ + href = "https://codeberg.org/comfysage/maivi", + target = "_blank", + "maivi", + }), + maivi.escape([[ <3]]), }), }), h.div({ @@ -87,20 +96,6 @@ return function() [[rss]], }), }), - - h.div({ id = "device-details" }), - h.script( - ---@language javascript - [[ -function setDeviceDetails(e) { - const { width, height } = e.currentTarget.screen; - document.querySelector("#device-details").innerText = - `${width}x${height}`; -} -window.addEventListener("load", setDeviceDetails); -window.addEventListener("resize", setDeviceDetails); -]] - ), }), }) end diff --git a/styles/partials/footer.css b/styles/partials/footer.css index 90c65d1..c4986d8 100644 --- a/styles/partials/footer.css +++ b/styles/partials/footer.css @@ -29,10 +29,6 @@ div { text-align: center; color: var(--subtext1); - - .device-details { - color: var(--overlay1); - } } } }