Skip to content

Commit d82a3f1

Browse files
committed
feat(badges): add badges and redirects
1 parent 788013b commit d82a3f1

File tree

12 files changed

+30
-21
lines changed

12 files changed

+30
-21
lines changed

src/lib/styles.css

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -142,15 +142,3 @@ p {
142142
text-decoration: none;
143143
border: 0 none;
144144
}
145-
146-
.github-icon svg:hover {
147-
fill: #ff6480;
148-
}
149-
150-
.github-icon svg {
151-
transition: fill 0.5s;
152-
display: inline-block;
153-
cursor: pointer;
154-
height: 32px;
155-
width: 32px;
156-
}

src/routes/(index)/+page.svelte

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
<script>
22
import HeadComponent from '$lib/HeadComponent.svelte';
3-
import GitHubIcon from '$lib/icons/fontawesome/github.svelte';
43
</script>
54

65
<HeadComponent
@@ -29,12 +28,17 @@
2928
<cite>Agile Manifesto</cite>
3029
</div>
3130
<div class="get-in-touch">
32-
<a
33-
href="https://github.com/mistweaverco"
34-
title="Check out our Github profile"
35-
class="github-icon"
36-
>
37-
<GitHubIcon />
31+
<a href="/irc" title="Join our IRC channel">
32+
<img src="/badge-irc.svg" alt="irc badge" />
33+
</a>
34+
<a href="/discord" title="Join our Discord community">
35+
<img src="/badge-discord.svg" alt="discord badge" />
36+
</a>
37+
<a href="https://github.com/mistweaverco" title="Check out our Github profile">
38+
<img src="/badge-github.svg" alt="github badge" />
39+
</a>
40+
<a href="/roadmap" title="Check out our Development Status">
41+
<img src="/badge-development-status.svg" alt="development status" />
3842
</a>
3943
</div>
4044
</div>
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import { redirect } from "@sveltejs/kit";
1+
import { redirect } from '@sveltejs/kit';
22

33
export function load() {
4-
redirect(302, "https://discord.gg/Khakc3tgV4");
4+
redirect(302, 'https://discord.gg/Khakc3tgV4');
55
}
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export const prerender = true;
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
import { redirect } from '@sveltejs/kit';
2+
3+
export function load() {
4+
redirect(302, 'ircs://irc.libera.chat:6697?channels=#mistweaverco');
5+
}
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export const prerender = true;
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
import { redirect } from '@sveltejs/kit';
2+
3+
export function load() {
4+
redirect(302, 'https://github.com/orgs/mistweaverco/projects/5');
5+
}
Lines changed: 1 addition & 0 deletions
Loading

static/badge-discord.svg

Lines changed: 1 addition & 0 deletions
Loading

static/badge-github.svg

Lines changed: 1 addition & 0 deletions
Loading

0 commit comments

Comments
 (0)