Skip to content

Commit b6b43d5

Browse files
committed
add matrix & use forgejo icon from react-icons instead
1 parent 006a393 commit b6b43d5

3 files changed

Lines changed: 10 additions & 11 deletions

File tree

client/public/Icons/forgejo.svg

Lines changed: 0 additions & 1 deletion
This file was deleted.

client/src/index.css

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -86,15 +86,6 @@ p {
8686
font-weight: 900;
8787
}
8888

89-
.forgejo-icon {
90-
width: 20px;
91-
height: 20px;
92-
display: inline-block;
93-
background-color: var(--accent-color);
94-
mask: url("/Icons/forgejo.svg") center / contain no-repeat;
95-
-webkit-mask: url("/Icons/forgejo.svg") center / contain no-repeat;
96-
}
97-
9889
.accent-gradient {
9990
background: linear-gradient(
10091
90deg,

client/src/pages/Home.jsx

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ import {
55
FaTiktok,
66
FaYoutube,
77
} from "react-icons/fa";
8+
import { TbBrandMatrix } from "react-icons/tb";
9+
import { SiForgejo } from "react-icons/si";
810
import LinkButton from "../components/LinkButton";
911
import useTitle from "../hooks/Title";
1012
import DiscordWidget from "../components/DiscordInfo";
@@ -52,6 +54,13 @@ function Home() {
5254
lowerText="@theolol"
5355
icon={<FaTelegram size={20} />}
5456
/>
57+
58+
<LinkButton
59+
href="https://matrix.to/#/@theo:imtheo.lol"
60+
upperText="Matrix"
61+
lowerText="@theo:imtheo.lol"
62+
icon={<TbBrandMatrix size={20} />}
63+
/>
5564
</div>
5665

5766
<h2>Other accounts</h2>
@@ -67,7 +76,7 @@ function Home() {
6776
href="https://git.imtheo.lol/theo"
6877
upperText="Forgejo"
6978
lowerText="theo"
70-
icon={<span className="forgejo-icon" />}
79+
icon={<SiForgejo size={20} />}
7180
/>
7281

7382
<LinkButton

0 commit comments

Comments
 (0)