-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
cb04864
commit ebb6bdb
Showing
2 changed files
with
43 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
import Link from "next/link"; | ||
import Footer from "../components/Footer"; | ||
|
||
import Navbar from "../components/Navbar"; | ||
|
||
import styles from "../styles/Discord.module.scss"; | ||
|
||
import Script from "next/script"; | ||
|
||
export default function Discord() { | ||
return ( | ||
<div> | ||
<Navbar /> | ||
<main className={styles.redirect}> | ||
<h1>Redirecting you now...</h1> | ||
<p className={styles.home}> | ||
<Link href="https://discord.gg/H9enFH7g"> | ||
Click here if you are not redirected automatically | ||
</Link> | ||
</p> | ||
</main> | ||
<Script id="discord-redirect"> | ||
{`window.location.href = "https://discord.gg/H9enFH7g"`} | ||
</Script> | ||
<Footer /> | ||
</div> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
.redirect { | ||
min-height: 90vh; | ||
padding: 4rem 0 4rem 0; | ||
margin: 4rem 20% 0 20%; | ||
text-align: center; | ||
color: #ffba44; | ||
} | ||
|
||
.home a { | ||
text-decoration: underline; | ||
} | ||
|
||
.home:hover a { | ||
color: #ffba44; | ||
} |