mirror of
https://github.com/Ategon/Jamjar.git
synced 2025-02-12 06:16:21 +00:00
59 lines
1.8 KiB
TypeScript
59 lines
1.8 KiB
TypeScript
import Posts from "../components/posts";
|
|
import Timers from "../components/timers";
|
|
import Streams from "../components/streams";
|
|
import Announcements from "../components/announcements";
|
|
|
|
import { Image } from "@nextui-org/image";
|
|
import { Button } from "@nextui-org/button";
|
|
import { SiDiscord } from "@icons-pack/react-simple-icons";
|
|
|
|
export default async function Home() {
|
|
return (
|
|
<div>
|
|
<div className="absolute left-0 top-0 w-full h-full z-0">
|
|
<Image
|
|
src="/images/bg.jpg"
|
|
alt="Home background"
|
|
className="object-cover w-full h-full"
|
|
radius="none"
|
|
loading="eager"
|
|
removeWrapper
|
|
/>
|
|
<div className="absolute left-0 top-0 w-full h-full bg-gradient-to-r from-black/50 to-transparent z-10" />
|
|
</div>
|
|
<div className="relative left-0 top-0 z-10 px-8">
|
|
<div className="flex gap-20">
|
|
<div className="flex flex-col gap-4 py-16 sm:py-36 md:py-72">
|
|
<h1 className="text-3xl sm:text-4xl md:text-5xl">Edikoyo Jam</h1>
|
|
<p className="text-lg sm:text-xl">April 4th - 7th</p>
|
|
<div className="flex gap-2">
|
|
<Button
|
|
variant="bordered"
|
|
className="border-white/50 text-white"
|
|
startContent={<SiDiscord />}
|
|
href="https://discord.gg/rfmKzM6ASw"
|
|
>
|
|
Join the Discord
|
|
</Button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
);
|
|
}
|
|
|
|
// export default function Home() {
|
|
// return (
|
|
// <div className="">
|
|
// <div>
|
|
// <Posts />
|
|
// </div>
|
|
// <div>
|
|
// <Timers />
|
|
// <Streams />
|
|
// <Announcements />
|
|
// </div>
|
|
// </div>
|
|
// );
|
|
// }
|