Skip to content
This repository was archived by the owner on May 22, 2025. It is now read-only.

Commit 4b355de

Browse files
committed
adds quick links
1 parent d1d273a commit 4b355de

File tree

4 files changed

+59
-1
lines changed

4 files changed

+59
-1
lines changed

config.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ logs:
2626
directory: $GAME_LOGS_DIR
2727

2828
links:
29+
byond: "https://www.byond.com/" # change to opendream
30+
discord: "https://discord.com/invite/0keg6hQH05Ha8OfO"
2931
forums: "https://forums.yogstation.net/"
3032
wiki: "https://wiki.yogstation.net/"
3133

yogsite/static/css/home.css

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,18 @@ body {
1919
background-color: #2a282f33;
2020
}
2121

22+
.quick-links-card {
23+
background-color: #2a282f33;
24+
}
25+
26+
.quick-link-content {
27+
padding: 0.5rem;
28+
}
29+
30+
.quick-link {
31+
font-weight: bold;
32+
}
33+
2234
footer {
2335
background-color: transparent !important;
2436
}

yogsite/templates/home.html

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,50 @@
1515
<img src="/static/img/logo.png" width="75%" />
1616
</div>
1717

18+
<h5 class="title is-5 has-text-centered">Quick Links</h5>
19+
<div class="columns is-centered">
20+
<div class="column is-one-third">
21+
<div class="card quick-links-card">
22+
<div class="card-content quick-link-content">
23+
<div class="columns">
24+
<div class="column is-one-quarter quick-link">
25+
<a href="{{ cfg.get('links.byond') }}" class="column is-centered is-flex is-vcentered">
26+
<span class="icon">
27+
<i class="fas fa-globe"></i>
28+
</span>BYOND
29+
</a>
30+
</div>
31+
32+
<div class="column is-one-quarter quick-link">
33+
<a href="{{ cfg.get('links.discord') }}" class="column is-centered is-flex is-vcentered">
34+
<span class="icon">
35+
<i class="fa-brands fa-discord"></i>
36+
</span>Discord
37+
</a>
38+
</div>
39+
40+
<div class="column is-one-quarter quick-link">
41+
<a href="{{ cfg.get('links.wiki') }}" class="column is-centered is-flex is-vcentered">
42+
<span class="icon">
43+
<i class="fas fa-book"></i>
44+
</span>Wiki
45+
</a>
46+
</div>
47+
48+
<div class="column is-one-quarter quick-link">
49+
<a href="{{ cfg.get('links.forums') }}" class="column is-centered is-flex is-vcentered">
50+
<span class="icon">
51+
<i class="fas fa-building-columns"></i>
52+
</span>Forums
53+
</a>
54+
</div>
55+
56+
</div>
57+
</div>
58+
</div>
59+
</div>
60+
</div>
61+
1862
<h2 class="title is-2 has-text-centered">Game Servers</h2>
1963

2064
<div class="columns is-centered">

yogsite/templates/layout.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<meta property="og:type" content="website" />
1010
<meta property="og:url" content="{{ request.url }}" />
1111

12-
<script defer src="https://use.fontawesome.com/releases/v5.3.1/js/all.js"></script>
12+
<script defer src="https://use.fontawesome.com/releases/v6.4.2/js/all.js"></script>
1313

1414
<link rel="stylesheet" href="/static/css/main.css" />
1515

0 commit comments

Comments
 (0)