Skip to content

Commit 121c9c4

Browse files
committed
Add: FRIDAY AAAAAAAA
1 parent 3970562 commit 121c9c4

File tree

1 file changed

+45
-0
lines changed

1 file changed

+45
-0
lines changed

pages/friday.js

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
import Container from "@/components/Container";
2+
import { useRouter } from "next/router";
3+
import React, { useEffect, useState } from "react";
4+
5+
const Friday = () => {
6+
const [isFriday, setIsFriday] = useState(false);
7+
const router = useRouter();
8+
useEffect(() => {
9+
let day = new Date().getDay();
10+
11+
if (day === 5) {
12+
setIsFriday(true);
13+
// redirect
14+
router.push("https://www.youtube.com/shorts/bmqtEdHq-dg");
15+
}
16+
}, []);
17+
18+
return (
19+
<Container
20+
title="FRIDAY AAAAAAAA! KARAAAR HOJO | Manu Arora"
21+
description="Keda kaabu ni husan te paave, Dil seene to nikalda jaave, batti bor billo do nain kaale, PENCHO FRIDAY AAA, KARAAR HOJO KOKAIN HOOKARAN NAAL SAX SUX PHUDDIYAN PAADOOOOO!"
22+
>
23+
<div className="max-w-4xl mx-auto py-40">
24+
{!isFriday ? (
25+
<>
26+
<h1 className="font-bold text-3xl md:text-5xl tracking-tight mb-4 text-black dark:text-white">
27+
AAJ FRIDAY NAHI HAI! 😢
28+
</h1>
29+
<h3 className="font-normal text-sm md:text-base tracking-tight mb-4 mt-8 text-black dark:text-white">
30+
Come back on a Friday for a surprise. 👳🏻‍♂️
31+
</h3>
32+
</>
33+
) : (
34+
<h1 className="font-bold text-3xl md:text-5xl tracking-wide leading-10 mb-4 text-black dark:text-white">
35+
Keda kaabu ni husan te paave, Dil seene to nikalda jaave, batti bor
36+
billo do nain kaale, PENCHO FRIDAY AAA, KARAAR HOJO KOKAIN HOOKARAN
37+
NAAL SAX SUX PHUDDIYAN PAADOOOOO!
38+
</h1>
39+
)}
40+
</div>
41+
</Container>
42+
);
43+
};
44+
45+
export default Friday;

0 commit comments

Comments
 (0)