Skip to content

Commit 3703d26

Browse files
committed
Add Modrinth link and do overflow stuff
1 parent faf3662 commit 3703d26

File tree

3 files changed

+21
-9
lines changed

3 files changed

+21
-9
lines changed

app/page.tsx

Lines changed: 15 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
import Link from "next/link";
44
import Image from "next/image";
55
import Logo from "@/components/Logo";
6-
import { SiGithub, SiDiscord, SiGmail } from "react-icons/si";
6+
import { SiGithub, SiDiscord, SiGmail, SiModrinth } from "react-icons/si";
77
import { FaClock } from "react-icons/fa";
88
import FoxFaceplant from "@/public/img/fox_faceplant.gif";
99
import Clock from "@/components/Clock";
@@ -38,6 +38,16 @@ export default function Home() {
3838
</header>
3939
<main>
4040
<section className="grid">
41+
<Link
42+
className={cardStyles.card}
43+
href={"https://modrinth.com/user/foxeddev"}
44+
target="_blank"
45+
>
46+
<SiModrinth />
47+
<h3>
48+
Modrinth: <mark>FoxedDev</mark>
49+
</h3>
50+
</Link>
4151
<Link
4252
className={cardStyles.card}
4353
href={"https://github.com/foxeddev"}
@@ -72,7 +82,7 @@ export default function Home() {
7282
>
7383
<SiGmail />
7484
<h3>
75-
Mail: <mark>[email protected]</mark>
85+
<mark>E-Mail</mark>
7686
</h3>
7787
</Link>
7888
<div className={`${cardStyles.card} ${cardStyles.left}`}>
@@ -83,10 +93,7 @@ export default function Home() {
8393
TailwindCSS <br />
8494
</p>
8595
</div>
86-
<div
87-
className={`${cardStyles.card} ${cardStyles.left}`}
88-
style={{ gridColumnEnd: `span 2` }}
89-
>
96+
<div className={`${cardStyles.card} ${cardStyles.left}`}>
9097
<h3>💻 Tech Stack</h3>
9198
<p>
9299
OS:{" "}
@@ -97,8 +104,8 @@ export default function Home() {
97104
WM:{" "}
98105
<Link href="https://hydeproject.pages.dev/" target="_blank">
99106
HyDE
100-
</Link>
101-
{" "}(
107+
</Link>{" "}
108+
(
102109
<Link href="https://hypr.land/" target="_blank">
103110
Hyprland
104111
</Link>

styles/card.module.css

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
background-color: var(--bg);
66
text-align: center;
77
align-items: center;
8+
overflow-x: scroll;
89
box-shadow: 0 0 0 0 var(--primary);
910
transition: 0.15s;
1011
}
@@ -24,6 +25,10 @@
2425
padding: 32px;
2526
}
2627

28+
.card p {
29+
width: max-content
30+
}
31+
2732
@media screen and (max-width: 900px) {
2833
.card {
2934
gap: 16px;

styles/sections.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ section {
2222
section.grid {
2323
display: grid;
2424
gap: 16px;
25-
grid-template-columns: minmax(0, 1fr);
25+
grid-template-columns: repeat(2, auto);
2626
}
2727

2828
@media screen and (max-width: 900px) {

0 commit comments

Comments
 (0)