Skip to content

Commit f0fd4a8

Browse files
committed
New footer
1 parent 5407c3a commit f0fd4a8

File tree

2 files changed

+40
-2
lines changed

2 files changed

+40
-2
lines changed

src/components/footer.tsx

Lines changed: 29 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,33 @@
11
import styles from '@/styles/footer.module.css';
2+
import Link from 'next/link';
23

34
export default function Footer() {
4-
return <div className={styles.footer}>Pygame Community Website</div>;
5+
return (
6+
<div className={styles.footer}>
7+
<div className={styles.footerCol}>
8+
<h3>Pygame Community Edition</h3>
9+
<p>
10+
pygame - Community Edition is a free open-source Python library for multimedia applications (like games).
11+
Built on top of the excellent SDL library.
12+
</p>
13+
</div>
14+
<div className={styles.footerCol}>
15+
<h3>Social Media</h3>
16+
<ul>
17+
<li>
18+
<Link href="https://twitter.com/pygamecommunity">Twitter</Link>
19+
</li>
20+
<li>
21+
<Link href="https://www.youtube.com/@pygamecommunity">YouTube</Link>
22+
</li>
23+
<li>
24+
<Link href="https://github.com/pygame-community">GitHub</Link>
25+
</li>
26+
<li>
27+
<Link href="https://discord.gg/pygame">Discord</Link>
28+
</li>
29+
</ul>
30+
</div>
31+
</div>
32+
);
533
}

src/styles/footer.module.css

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,15 @@
11
.footer {
2+
display: flex;
3+
justify-content: space-around;
24
background-color: rgb(20, 20, 20);
5+
}
6+
7+
.footerCol {
38
padding: 30px;
4-
text-align: center;
9+
width: 30%;
10+
}
11+
12+
.footerCol ul {
13+
text-decoration: none;
14+
list-style-type: none;
515
}

0 commit comments

Comments
 (0)