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>
main
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 // Inject the config
function buildIndex(community, pages) { function buildIndex(community, pages) {
return indexTemplate return indexTemplate
.replace('{{community}}', community) .replace('{{community}}', community.join(""))
.replace('{{pages}}', pages) .replace('{{pages}}', pages.join(""))
} }
// Module stuff // Module stuff

View File

@ -22,6 +22,7 @@
max-width: calc(100% - #{_size(element-margin) * 2}); max-width: calc(100% - #{_size(element-margin) * 2});
padding: 1em; padding: 1em;
background-color: _palette(invert, bg-alt); background-color: _palette(invert, bg-alt);
backdrop-filter: blur(6px);
border-top-left-radius: _size(border-radius-main); border-top-left-radius: _size(border-radius-main);
border-top-right-radius: _size(border-radius-main); border-top-right-radius: _size(border-radius-main);
cursor: default; cursor: default;

View File

@ -47,7 +47,7 @@ $palette: (
border2-bg: rgba(255, 255, 255, 0.2), border2-bg: rgba(255, 255, 255, 0.2),
invert: ( invert: (
bg: #F7F7F7, bg: #F7F7F7,
bg-alt: #FFFFFF7F, bg-alt: #FFFFFF,
fg: $palette4, fg: $palette4,
fg-bold: $palette4, fg-bold: $palette4,
fg-light: rgba(99, 99, 99, 0.25), 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> <span class="icon solid major style2 fa-map-marked-alt"></span>
<h3>Dynmap</h3> <h3>Dynmap</h3>
<p> <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 real time, similarly to google maps! This tool gives our players
the ability to view their builds from a birds eye or isometric the ability to view their builds from a birds eye or isometric
view, but also explore new regions with navigational ease. view, but also explore new regions with navigational ease.
@ -163,12 +163,12 @@
<ul class="content"> <ul class="content">
<li> <li>
<p class="content"> <p class="content">
Survival server: <strong>play.canopymc.com</strong> Survival server: <strong>play.canopymc.net</strong>
</p> </p>
</li> </li>
<li> <li>
<p class="content"> <p class="content">
Creative server: <strong>creative.canopymc.com</strong> Creative server: <strong>creative.canopymc.net</strong>
</p> </p>
</li> </li>
</ul> </ul>
@ -262,7 +262,7 @@
type="text" type="text"
readonly readonly
id="server-ip" id="server-ip"
value="play.canopymc.com" value="play.canopymc.net"
/> />
<button <button
@ -272,7 +272,7 @@
<span class="icon fa-copy"></span> <span class="icon fa-copy"></span>
</button> </button>
</span> </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> </header>
</section> </section>
</div> </div>