|
|
@ -12,6 +12,9 @@ import { TwitchEmbed } from 'react-twitch-embed';
|
|
|
|
const client_id = "edpx4oisrkpnrlx47b7a2p3govy6qm";
|
|
|
|
const client_id = "edpx4oisrkpnrlx47b7a2p3govy6qm";
|
|
|
|
const client_secret = "dqr2glvdhr7uyn3bf3biu48977rfwo";
|
|
|
|
const client_secret = "dqr2glvdhr7uyn3bf3biu48977rfwo";
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
const d = new Date();
|
|
|
|
|
|
|
|
let day = d.getDate() + " " + d.getMonth();
|
|
|
|
|
|
|
|
|
|
|
|
export default function Index({ motto, twitch_online, about }) {
|
|
|
|
export default function Index({ motto, twitch_online, about }) {
|
|
|
|
return (
|
|
|
|
return (
|
|
|
|
<div className="page">
|
|
|
|
<div className="page">
|
|
|
@ -40,11 +43,15 @@ export default function Index({ motto, twitch_online, about }) {
|
|
|
|
|
|
|
|
|
|
|
|
<TwitchPopup show={twitch_online} />
|
|
|
|
<TwitchPopup show={twitch_online} />
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{day == "06 11" &&
|
|
|
|
|
|
|
|
<div>
|
|
|
|
<h1 className={styles.officeBanner}>
|
|
|
|
<h1 className={styles.officeBanner}>
|
|
|
|
HAPPY BIRTHDAY TRICK!
|
|
|
|
HAPPY BIRTHDAY TRICK!
|
|
|
|
</h1>
|
|
|
|
</h1>
|
|
|
|
<script src="https://cdn.jsdelivr.net/npm/canvas-confetti@1.4.0/dist/confetti.browser.min.js"></script>
|
|
|
|
<script src="https://cdn.jsdelivr.net/npm/canvas-confetti@1.4.0/dist/confetti.browser.min.js"></script>
|
|
|
|
<script src="js/confetti.js"></script>
|
|
|
|
<script src="js/confetti.js"></script>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
<article className={styles.pages}>
|
|
|
|
<article className={styles.pages}>
|
|
|
|
<section className={styles.top}>
|
|
|
|
<section className={styles.top}>
|
|
|
|