Skip to content

Commit ec99fea

Browse files
committed
add .env, add endpoint for getting number of members in the discord server.
1 parent 4c8bb7b commit ec99fea

40 files changed

+3777
-213
lines changed

.gitignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,3 +32,8 @@ yarn-error.log*
3232

3333
# vercel
3434
.vercel
35+
36+
.vercel
37+
38+
39+
.env
1.5 MB
Loading
3.34 MB
Loading
1.04 MB
Loading

assets/ico/discord.svg

Lines changed: 4 additions & 0 deletions
Loading

assets/ico/github.dark.svg

Lines changed: 11 additions & 0 deletions
Loading

assets/ico/github.svg

Lines changed: 11 additions & 0 deletions
Loading

assets/ico/patreon.svg

Lines changed: 5 additions & 0 deletions
Loading

assets/splash.png

1.08 MB
Loading

components/banner.js

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
import styles from "./banner.module.less";
2+
import SplashImage from "../assets/splash.png";
3+
import Image from "next/image"
4+
import { useMedia } from "react-use";
5+
import classNames from "classnames";
6+
export function Banner() {
7+
const small = useMedia("(max-width:500px)",false);
8+
const med = useMedia("(max-width:1000px)",false) && !small;
9+
const large = useMedia("(min-width:1000px)",true) && !med;
10+
return (
11+
<div className={styles.root}>
12+
<div className={classNames(styles.content,large && styles.large,med&&styles.medium,small&&styles.small)}>
13+
<Image src={SplashImage} alt={"splash"}></Image>
14+
<div className={styles.gradient}></div>
15+
</div>
16+
</div>
17+
);
18+
}

0 commit comments

Comments
 (0)