From 81efccba3036e81018dddcd3cea498f2de210bf2 Mon Sep 17 00:00:00 2001 From: Etzelia Date: Mon, 6 Dec 2021 20:51:33 +0000 Subject: [PATCH] More cleanup (#8) blur Signed-off-by: Etzelia update nav Signed-off-by: Etzelia map link Signed-off-by: Etzelia Cleanup 2 Signed-off-by: Etzelia Reviewed-on: https://git.canopymc.net/Canopy/canopymc.net/pulls/8 Co-Authored-By: Etzelia Co-Committed-By: Etzelia --- index.js | 4 ++-- src/assets/sass/layout/_nav.scss | 1 + src/assets/sass/libs/_vars.scss | 2 +- src/index.html | 10 +++++----- 4 files changed, 9 insertions(+), 8 deletions(-) diff --git a/index.js b/index.js index e6431d8..2c8cd78 100644 --- a/index.js +++ b/index.js @@ -32,8 +32,8 @@ const indexTemplate = fs.readFileSync(srcIndex).toString(); // Inject the config function buildIndex(community, pages) { return indexTemplate - .replace('{{community}}', community) - .replace('{{pages}}', pages) + .replace('{{community}}', community.join("")) + .replace('{{pages}}', pages.join("")) } // Module stuff diff --git a/src/assets/sass/layout/_nav.scss b/src/assets/sass/layout/_nav.scss index a74febc..4b6a16e 100644 --- a/src/assets/sass/layout/_nav.scss +++ b/src/assets/sass/layout/_nav.scss @@ -22,6 +22,7 @@ max-width: calc(100% - #{_size(element-margin) * 2}); padding: 1em; background-color: _palette(invert, bg-alt); + backdrop-filter: blur(6px); border-top-left-radius: _size(border-radius-main); border-top-right-radius: _size(border-radius-main); cursor: default; diff --git a/src/assets/sass/libs/_vars.scss b/src/assets/sass/libs/_vars.scss index 986ee32..3f9732a 100644 --- a/src/assets/sass/libs/_vars.scss +++ b/src/assets/sass/libs/_vars.scss @@ -47,7 +47,7 @@ $palette: ( border2-bg: rgba(255, 255, 255, 0.2), invert: ( bg: #F7F7F7, - bg-alt: #FFFFFF7F, + bg-alt: #FFFFFF, fg: $palette4, fg-bold: $palette4, fg-light: rgba(99, 99, 99, 0.25), diff --git a/src/index.html b/src/index.html index 72d2b0b..8da50d1 100644 --- a/src/index.html +++ b/src/index.html @@ -89,7 +89,7 @@

Dynmap

- View our server's map in + View our server's map in real time, similarly to google maps! This tool gives our players the ability to view their builds from a birds eye or isometric view, but also explore new regions with navigational ease. @@ -163,12 +163,12 @@

  • - Survival server: play.canopymc.com + Survival server: play.canopymc.net

  • - Creative server: creative.canopymc.com + Creative server: creative.canopymc.net

@@ -262,7 +262,7 @@ type="text" readonly id="server-ip" - value="play.canopymc.com" + value="play.canopymc.net" /> -

Take a look around and do /apply when you're ready!

+

Take a look around and do /apply when you're ready!