|
1 | | -"use client"; |
| 1 | +'use client'; |
2 | 2 |
|
3 | 3 | import { useState } from 'react'; |
4 | 4 | import Image from 'next/image'; |
5 | 5 | import { Button } from '@/app/ui/button'; |
6 | | - |
7 | | -export default function OffseasonPage() { |
| 6 | + |
| 7 | +export default function ComingSoonPage() { |
8 | 8 | return ( |
9 | | - <main className="flex h-[100vh] w-[100vw] flex-col items-center justify-center relative"> |
10 | | - |
11 | | - {/* HackRU Information Section */} |
12 | | - <section className="relative z-10 mt-20 text-center"> |
13 | | - <h1 className="text-6xl font-extrabold text-white drop-shadow-lg"> |
14 | | - HackRU Offseason |
15 | | - </h1> |
16 | | - <p className="mt-4 text-2xl text-gray-300 drop-shadow-md"> |
17 | | - Thanks for your interest in HackRU! Our registrations are not open yet, but you can follow us on our social channels to stay updated. |
| 9 | + <main className="relative flex min-h-screen w-screen flex-col items-center overflow-y-auto bg-gray-900 pt-28 text-white"> |
| 10 | + <h1 className="mt-4 text-center text-6xl font-bold"> |
| 11 | + HackRU Coming Soon |
| 12 | + </h1> |
| 13 | + <p className="mt-4 px-4 text-center text-lg"> |
| 14 | + HackRU is back on{' '} |
| 15 | + <span className="font-bold text-teal-400">February 1st-2nd</span> at the{' '} |
| 16 | + <span className="font-bold text-teal-400">Busch Student Center</span>! |
| 17 | + Registration will open soon, so stay tuned for more information. |
| 18 | + </p> |
| 19 | + |
| 20 | + <div className="mt-8 px-4 text-center"> |
| 21 | + <p className="mb-4 text-lg"> |
| 22 | + Follow us on our socials through Linktree to stay updated and never |
| 23 | + miss an announcement! |
18 | 24 | </p> |
19 | 25 | <Button |
20 | | - className="text-s text-grey-500 mt-2 hover:text-blue-500 cursor-pointer bg-green-600" |
21 | | - onClick={() => window.open('https://www.instagram.com/thehackru/', '_blank')} |
| 26 | + className="mt-4 rounded-full bg-teal-500 px-6 py-3 font-medium text-white shadow-lg transition duration-300 hover:bg-teal-400 hover:shadow-2xl" |
| 27 | + onClick={() => window.open('https://linktr.ee/thehackru', '_blank')} |
22 | 28 | > |
23 | | - Follow us on Instagram |
| 29 | + Visit Our Linktree |
24 | 30 | </Button> |
25 | | - </section> |
| 31 | + </div> |
26 | 32 |
|
27 | | - {/* Photos from the Last HackRU Section */} |
28 | | - <section className="relative z-10 mt-20"> |
29 | | - <h2 className="text-4xl font-semibold text-gray-200 text-center drop-shadow-md"> |
30 | | - Photos from the last HackRU |
| 33 | + <div className="mt-12 w-full max-w-6xl px-4"> |
| 34 | + <h2 className="mb-8 text-center text-4xl font-semibold"> |
| 35 | + Memories from HackRU |
31 | 36 | </h2> |
32 | | - <div className="grid grid-cols-1 sm:grid-cols-2 md:grid-cols-3 gap-6 mt-8"> |
33 | | - <div className="relative w-80 h-60 overflow-hidden rounded-lg shadow-lg transform transition hover:scale-105 hover:shadow-2xl justify-self-center"> |
34 | | - <Image src="/offseason/offseason1.jpg" alt="Photo 1" layout="fill" objectFit="cover" /> |
35 | | - </div> |
36 | | - <div className="relative w-80 h-60 overflow-hidden rounded-lg shadow-lg transform transition hover:scale-105 hover:shadow-2xl justify-self-center"> |
37 | | - <Image src="/offseason/offseason2.jpg" alt="Photo 2" layout="fill" objectFit="cover" /> |
38 | | - </div> |
39 | | - <div className="relative w-80 h-60 overflow-hidden rounded-lg shadow-lg transform transition hover:scale-105 hover:shadow-2xl justify-self-center"> |
40 | | - <Image src="/offseason/offseason3.jpg" alt="Photo 3" layout="fill" objectFit="cover" /> |
41 | | - </div> |
| 37 | + <div className="grid grid-cols-1 gap-6 sm:grid-cols-2 md:grid-cols-3"> |
| 38 | + {[1, 2, 3].map((i) => ( |
| 39 | + <div |
| 40 | + key={i} |
| 41 | + className="relative h-60 w-full transform justify-self-center overflow-hidden rounded-lg shadow-lg transition hover:scale-105 hover:shadow-2xl" |
| 42 | + > |
| 43 | + <Image |
| 44 | + src={`/offseason/offseason${i}.jpg`} |
| 45 | + alt={`Photo ${i}`} |
| 46 | + layout="fill" |
| 47 | + objectFit="cover" |
| 48 | + /> |
| 49 | + </div> |
| 50 | + ))} |
42 | 51 | </div> |
43 | | - </section> |
| 52 | + </div> |
44 | 53 |
|
45 | | - {/* Linktree Section */} |
46 | | - <section className="relative z-10 mt-20 text-center"> |
47 | | - <h2 className="text-3xl font-semibold text-gray-200 drop-shadow-md"> |
48 | | - Explore More |
49 | | - </h2> |
50 | | - <p className="mt-4 text-lg text-gray-300 drop-shadow-sm"> |
51 | | - Check out all our links and resources on our Linktree! |
52 | | - </p> |
53 | | - <Button |
54 | | - className="text-s text-grey-500 m-2 cursor-pointer bg-green-600" |
55 | | - onClick={() => window.open('https://linktr.ee/thehackru', '_blank')} |
56 | | - > |
57 | | - Visit Our Linktree |
58 | | - </Button> |
| 54 | + <div className="mt-12 px-4 text-center"> |
59 | 55 | <Button |
60 | | - className="text-s text-grey-500 m-2 cursor-pointer bg-green-600" |
| 56 | + className="mt-4 mb-8 rounded-full bg-blue-500 px-6 py-3 font-medium text-white shadow-lg transition duration-300 hover:bg-blue-400 hover:shadow-2xl" |
61 | 57 | onClick={() => window.open('http://mlh.io/code-of-conduct', '_blank')} |
62 | 58 | > |
63 | | - Code of Conduct |
| 59 | + MLH Code of Conduct |
64 | 60 | </Button> |
65 | | - </section> |
| 61 | + </div> |
66 | 62 | </main> |
67 | 63 | ); |
68 | 64 | } |
0 commit comments