Skip to content

Commit 2b46437

Browse files
AdityaGarg8networkException
authored andcommitted
Add back discord
1 parent f77ed59 commit 2b46437

3 files changed

Lines changed: 63 additions & 12 deletions

File tree

src/components/Contributors.vue

Lines changed: 19 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -39,15 +39,26 @@
3939
>The t2linux project is a community effort of people with
4040
knowledge in many different areas. You can help as well!</span
4141
>
42-
<a
43-
class="DiscordButton mt-3 w-auto md:w-1/2"
44-
href="https://matrix.to/#/#space:t2linux.org"
45-
target="_blank"
46-
>
47-
<span class="m-auto text-lg text-black text-semibold"
48-
>Join us on Matrix</span
42+
<div class="mt-3 flex flex-col md:flex-row gap-3">
43+
<a
44+
class="MatrixButton w-auto md:w-1/2"
45+
href="https://matrix.to/#/#space:t2linux.org"
46+
target="_blank"
47+
>
48+
<span class="m-auto text-lg text-black text-semibold"
49+
>Join us on Matrix</span
50+
>
51+
</a>
52+
<a
53+
class="MatrixButton w-auto md:w-1/2"
54+
href="https://discord.com/invite/68MRhQu"
55+
target="_blank"
4956
>
50-
</a>
57+
<span class="m-auto text-lg text-black text-semibold"
58+
>Join us on Discord</span
59+
>
60+
</a>
61+
</div>
5162
</div>
5263
</div>
5364
</div>

src/components/Footer.vue

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,16 @@
2525
alt=""
2626
/>Matrix</a
2727
>
28+
<a
29+
target="_blank"
30+
href="https://discord.com/invite/68MRhQu"
31+
class="flex items-center mx-4 linkhover my-2 md:my-0"
32+
><img
33+
src="../assets/icons/discord.svg"
34+
class="mr-2"
35+
alt=""
36+
/>Discord</a
37+
>
2838
<a
2939
target="_blank"
3040
href="https://github.com/t2linux"

src/components/Navbar.vue

Lines changed: 34 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161
{{ item.title }}
6262
</a>
6363
<a
64-
class="DiscordButton w-full"
64+
class="MatrixButton w-full"
6565
href="https://matrix.to/#/#space:t2linux.org"
6666
target="_blank"
6767
>
@@ -72,6 +72,18 @@
7272
class="m-auto matrix"
7373
/>
7474
</a>
75+
<a
76+
class="DiscordButton w-full"
77+
href="https://discord.com/invite/68MRhQu"
78+
target="_blank"
79+
>
80+
<img
81+
src="../assets/icons/discord-wordmark.svg"
82+
alt=""
83+
srcset=""
84+
class="m-auto"
85+
/>
86+
</a>
7587
</nav>
7688
</transition>
7789

@@ -89,9 +101,9 @@
89101
</a>
90102
</span>
91103

92-
<div class="md:block hidden">
104+
<div class="hidden md:flex items-center gap-3">
93105
<a
94-
class="DiscordButton"
106+
class="MatrixButton"
95107
href="https://matrix.to/#/#space:t2linux.org"
96108
target="_blank"
97109
>
@@ -102,6 +114,18 @@
102114
class="m-auto w-auto matrix"
103115
/>
104116
</a>
117+
<a
118+
class="DiscordButton"
119+
href="https://discord.com/invite/68MRhQu"
120+
target="_blank"
121+
>
122+
<img
123+
src="../assets/icons/discord-wordmark.svg"
124+
alt=""
125+
srcset=""
126+
class="m-auto w-auto"
127+
/>
128+
</a>
105129
</div>
106130
</div>
107131
</template>
@@ -131,12 +155,18 @@ export default {
131155
</script>
132156

133157
<style>
134-
.DiscordButton {
158+
.MatrixButton {
135159
@apply w-full rounded flex transition-all ease-in-out bg-white duration-200 my-2 md:my-0;
136160
height: 50px;
137161
width: 120px;
138162
}
139163
164+
.DiscordButton {
165+
@apply w-full rounded flex transition-all ease-in-out duration-200 bg-neutral hover:bg-neutral-600 my-2 md:my-0;
166+
height: 50px;
167+
width: 120px;
168+
}
169+
140170
.NavItem {
141171
color: rgba(255, 255, 255, 0.5);
142172
@apply mx-3 py-2 transition-all duration-200 ease-in-out whitespace-nowrap hover:text-white;

0 commit comments

Comments
 (0)