diff --git a/assets/style.css b/assets/style.css index 5b418d1..a788a01 100644 --- a/assets/style.css +++ b/assets/style.css @@ -22,8 +22,7 @@ html { body { margin: 0; - padding: 0.1px 1rem; - padding-block-end: 1.5rem; + padding: 0.1px 2ch; min-height: 100%; box-sizing: border-box; width: 100%; @@ -31,4 +30,18 @@ body { background: var(--color-bg); color: var(--color-text); font-family: var(--font-main); +} + +.matkap_ascii { + display: inline-block; + position: fixed; + right: 0; + bottom: 0; + width: 80ch; + white-space: pre; + user-select: none; + pointer-events: none; + /* z-index: -1; */ + opacity: 0.1; + line-height: 1; } \ No newline at end of file diff --git a/index.js b/index.js index e008101..001a651 100644 --- a/index.js +++ b/index.js @@ -30,6 +30,29 @@ app.set('view engine', 'ejs'); app.use('/assets', express.static('assets')); app.set('views', path.join(__dirname, "views", "pages")); +app.locals.siteMap = [ + { + link: "blurbs", + description: "what are other sites saying about abtmtr.link?" + }, + { + link: "updates", + description: "what's going on with abtmtr.link?" + }, + { + link: "servers", + description: "about the services on abtmtr.link and the machines that serve them." + }, + { + link: "sites", + description: "a collection of other sites in the form of 88x31s." + }, + { + link: "about", + description: "who runs abtmtr.link?" + } +] + app.get('/', async (req, res) => { const statusesJson = await fetch("https://cdn.abtmtr.link/site_content/v13/statuses.json") .catch(() => res.status(500).send()) diff --git a/views/art/MATKAP_ASCII.txt b/views/art/MATKAP_ASCII.txt new file mode 100644 index 0000000..2c21ddf --- /dev/null +++ b/views/art/MATKAP_ASCII.txt @@ -0,0 +1,36 @@ + + *▄▄▄ + ▄▀. ▀██▄ + ▄█▀ ▀█▄ + ▄██▀ `██¿ + _███└ ▀██▄ + _▄__ ▄██▀ ▄_ ▀██▄ + ▀█_ ²T══█▄▄J_ ▐█▀▄≡ º██ + ▀▄ _²²T▀ `█▄» └█_ ▄ + _▄▄æ═ ▀█░_ █▌═└█ + ,█▀▀ ▀██▄▄ ██░_ ▐▌░ █ + █ ▄A▀└ ▀█▄v _ ▐▌░╤▄_ + ,█▀ ▀▀██░ █▌░ █` + ▄▄██▄▄▄ _▄▄___ ▀▀█▄▄▄▄▄▄▄▀_ ▄▄▄J___ + ▄██▀▀░░░░▀█▄ ▄████▀▀▀██▄ .,. ▀▀▀▀▀▀▀▀▀▀▀█ + ██▀░░░░░░░░░▀█_ ▄▄█▀▀░░░░░░░▀██▄ █_ + ╒██▄▄░▄▄▄▄▄▄▄▄██▄██▄▄▄▄▄▄░░░░░░██ █_ + ▄▄▄▄▄▄██ █▌ ███▌ ,'└└▀█▀└█r _ ▐█ + ███████ █▌ █▌█▌ ▀ ▐█∩ █▌ █▀ + ███████ ▀█▄═ _█▀º░█▄ ┌█▀ ██µ▄▄═T└ █▌ + `█████▌ º░▀█▄▄J;¿▄█▀░º ░▀█▄J ▄▄▀░` _▄═██░ _██ + ╘███▀ º²╜▀░░²º `░░▀▀▀▀▀▀▀░ ███░ j█▀ + ╘██▄ `ººº ╒███░ ▀═▄▄██▀ + ▀██¿ ═ ▄▄███▄__ ¡▄███─ + ▀██▄ _▄▀ ╓███░░ *▄▄▄████¡ ▐▌ + └▀█▄_ ▄▄█▌ ⁿ▄▄████░∩..⌐─▀▀:░∩ █▌▌█ + ▀███▄_ _▄█▀▀└└ _▄███▀░░░█░░░█░▀█æ╧▀ ▐█ + └▀█████▄▄▄██▀▀└ _▄▄▄██▀█.▀█º░░▀▄_▐▌ ▀█∩ + ┌█▀ ,²▀▀██▀█████████▀▀▀▀▀▀█▄▌ ª█▄░ '. ▀█▄▄▄═▄ + ▀▀ ▄▄░░▀░░██░░░░░░░░░░░░░▄█░ █: └ █ + j█▀ `ººº └▀█Ñ▄_░░░░░░░█▀ ▄"█▄▀▄Y▄ █▀ + ██ ▐▄_ ²▀▀▀▀╤███▀ ,█: ▀██▀▀▄▄ ══▀: + ███ ²▀╤▄_ '' ¬▀_ ▀██.º█∩ █▌ + ,██¡ ▀█░░█▄ ╘█ + █▀ ▀█▀ ▀▄_└█▄ + █▀ ▀█ └└ \ No newline at end of file diff --git a/views/components/footer.ejs b/views/components/footer.ejs index b84d3ed..0168974 100644 --- a/views/components/footer.ejs +++ b/views/components/footer.ejs @@ -6,4 +6,5 @@ fork MeowcaTheoRange/abtmtr-v13 with git

font is DOS/V re. JPN12 from THE OLDSCHOOL PC FONT RESOURCE

+

some elements inspired by msx.horse (simply a neat site)

\ No newline at end of file diff --git a/views/components/post-main.ejs b/views/components/post-main.ejs new file mode 100644 index 0000000..895bd1a --- /dev/null +++ b/views/components/post-main.ejs @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/views/pages/404.ejs b/views/pages/404.ejs index 849d692..649628b 100644 --- a/views/pages/404.ejs +++ b/views/pages/404.ejs @@ -8,5 +8,6 @@

<< go back home

<%- include("../components/footer.ejs") %> + <%- include("../components/post-main.ejs") %> \ No newline at end of file diff --git a/views/pages/about.ejs b/views/pages/about.ejs index 4e1a521..a3804e4 100644 --- a/views/pages/about.ejs +++ b/views/pages/about.ejs @@ -41,5 +41,6 @@ <%- include("../components/footer.ejs") %> + <%- include("../components/post-main.ejs") %> \ No newline at end of file diff --git a/views/pages/blurbs.ejs b/views/pages/blurbs.ejs index c2a9598..e52bf8c 100644 --- a/views/pages/blurbs.ejs +++ b/views/pages/blurbs.ejs @@ -34,6 +34,7 @@ <%- include("../components/footer.ejs") %> + <%- include("../components/post-main.ejs") %>