More cleanup (#8)

blur

Signed-off-by: Etzelia <etzelia@hotmail.com>

update nav

Signed-off-by: Etzelia <etzelia@hotmail.com>

map link

Signed-off-by: Etzelia <etzelia@hotmail.com>

Cleanup 2

Signed-off-by: Etzelia <etzelia@hotmail.com>

Reviewed-on: https://git.canopymc.net/Canopy/canopymc.net/pulls/8
Co-Authored-By: Etzelia <etzelia@hotmail.com>
Co-Committed-By: Etzelia <etzelia@hotmail.com>
pull/1/head
Etzelia 2021-12-06 20:51:33 +00:00
parent bcc0dbede5
commit 81efccba30
4 changed files with 9 additions and 8 deletions

View File

@ -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

View File

@ -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;

View File

@ -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),

View File

@ -89,7 +89,7 @@
<span class="icon solid major style2 fa-map-marked-alt"></span>
<h3>Dynmap</h3>
<p>
View our <a href="https://map.canopymc.com/">server's map</a> in
View our <a href="https://map.canopymc.net/">server's map</a> 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 @@
<ul class="content">
<li>
<p class="content">
Survival server: <strong>play.canopymc.com</strong>
Survival server: <strong>play.canopymc.net</strong>
</p>
</li>
<li>
<p class="content">
Creative server: <strong>creative.canopymc.com</strong>
Creative server: <strong>creative.canopymc.net</strong>
</p>
</li>
</ul>
@ -262,7 +262,7 @@
type="text"
readonly
id="server-ip"
value="play.canopymc.com"
value="play.canopymc.net"
/>
<button
@ -272,7 +272,7 @@
<span class="icon fa-copy"></span>
</button>
</span>
<p>Take a look around and do <span style="font-family:monospace"><a href="https://birbmc.com/apply">/apply</a></span> when you're ready!</p>
<p>Take a look around and do <span style="font-family:monospace"><a href="https://canopymc.net/apply">/apply</a></span> when you're ready!</p>
</header>
</section>
</div>