Skip to content
This repository was archived by the owner on Mar 24, 2026. It is now read-only.

Commit 53e73a3

Browse files
committed
add discord invite to website, add discuss page
1 parent a4fc8b6 commit 53e73a3

8 files changed

Lines changed: 75 additions & 2 deletions

File tree

_includes/navbar.html

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,15 @@
1616
<a href="/develop">
1717
Develop
1818
</a>
19+
20+
<a href="/discuss">
21+
Discuss
22+
</a>
23+
24+
<a href="/discord" class="badge" id="first-badge">
25+
<img alt="discord-plural" src="https://cdn.jsdelivr.net/npm/@intergrav/devins-badges@3/assets/compact-minimal/social/discord-plural_vector.svg">
26+
</a>
27+
<a href="https://github.com/MuonMC" class="badge">
28+
<img alt="github" src="https://cdn.jsdelivr.net/npm/@intergrav/devins-badges@3/assets/compact-minimal/available/github_vector.svg">
29+
</a>
1930
</nav>

_layouts/redirect.html

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
<!DOCTYPE html>
2+
3+
<html>
4+
<head>
5+
<meta charset="utf-8">
6+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
7+
<meta http-equiv="refresh" content="5; url={{ page.redirect }}">
8+
<link rel="canonical" href="{{ page.redirect }}">
9+
<link rel="icon" href="/icon_128.png" type="image/png">
10+
<link rel="stylesheet" href="/css/styles.css">
11+
<link rel="preconnect" href="https://fonts.googleapis.com">
12+
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
13+
<link href="https://fonts.googleapis.com/css2?family=Kanit:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap" rel="stylesheet">
14+
</head>
15+
<body>
16+
<main>
17+
<h1>You are being redirected</h1>
18+
<p>If it does not redirect you in 5 seconds, <a href="{{ page.redirect }}">click here</a>.</p>
19+
</main>
20+
</body>
21+
</html>

css/styles.css

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,23 @@ body {
1515
padding: 12px 16px;
1616
text-decoration: none;
1717
font-size: 12pt;
18+
transform: translateY(12.5%);
19+
}
20+
21+
.hnav .badge {
22+
transform: translateY(0%);
23+
height: 40px;
24+
float: right;
25+
padding-left: 0.25%;
26+
padding-right: 0.25%;
27+
}
28+
29+
.hnav #first-badge {
30+
padding-right: 1%;
31+
}
32+
33+
.hnav .badge img {
34+
height: 100%;
1835
}
1936

2037
.namelink a {

develop.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
---
2-
layout: default
32
title: "Develop"
43
description: "Make mods with Muon"
54
---

discord.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
layout: redirect
3+
permalink: /discord/
4+
redirect: https://discord.gg/Mmn52f5j7e
5+
description: "The MuonMC Discord server."
6+
---

discuss.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
---
2+
title: "Discuss"
3+
description: "Talk with the community"
4+
---
5+
6+
## Discord
7+
We have a Discord server for player support and discussing development.
8+
9+
<a href="/discord" class="badge">
10+
<img alt="discord-plural" height="56" src="https://cdn.jsdelivr.net/npm/@intergrav/devins-badges@3/assets/cozy/social/discord-plural_vector.svg">
11+
</a>

download.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
---
2-
layout: default
32
title: "Downloads"
43
description: "MuonMC downloads"
54
---

index.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,4 +29,13 @@ It's quite easy to download and install the latest version of Muon, simply click
2929
<a href="/download" class="button-round-generic">
3030
Download and Install
3131
</a>
32+
</div>
33+
34+
# Friendly Community
35+
MuonMC has a community of developers and users for sharing development tips and help as well as for showcasing new creations. Come join us!
36+
37+
<div class="button-round-generic-container">
38+
<a href="/discuss" class="button-round-generic">
39+
Join Our Community
40+
</a>
3241
</div>

0 commit comments

Comments
 (0)