@@ -4,70 +4,55 @@ import React from "react";
44import Countdown from "./Countdown" ;
55
66export default function Hero ( ) {
7+ const handleRegisterClick = ( ) => {
8+ const registerSection = document . getElementById ( "Register" ) ;
9+ if ( registerSection ) {
10+ registerSection . scrollIntoView ( { behavior : "smooth" , block : "start" } ) ;
11+ }
12+ } ;
13+
714 return (
8- < section className = "min-h-screen bg-[#0f1214] text-white flex flex-col items-center text-center px-4 pt-24 pb-16 overflow-hidden " >
15+ < section className = "text-white min-h-screen flex flex-col items-center justify-center text-center px-4 sm:px-6 lg:px-8 py-20 overflow-visible " >
916 { /* Title */ }
10- < h1 className = "mt-8 font-mono font-bold text-9xl leading-[1.1]" >
17+ < h1 className = "font-bold text-5xl sm:text-6xl md: text-7xl lg:text-8xl xl:text- 9xl font-mono leading-[1.1] mb-3 sm:mb-4 " >
1118 GIT-A-THON
1219 </ h1 >
13-
14- { /* Tagline */ }
15- < p className = "mt-8 text-2xl font-mono text-gray-300 max-w-2xl" >
20+ { /* <h2 className="font-medium my-2 text-[clamp(1.5rem,5vw,2.5rem)] leading-snug">
21+ 24-Hour Hackathon
22+ </h2> */ }
23+ < p className = "text-gray-300 text-base sm:text-lg md:text-xl lg:text-2xl font-mono max-w-2xl mb-10 sm:mb-12 md:mb-14" >
1624 Code through the night. Build for impact.
1725 </ p >
18-
19- { /* Info Tags */ }
20- < div className = "mt-10 mb-10 flex flex-wrap justify-center gap-x-10 gap-y-6" >
21- { /* Duration */ }
22- < div className = "flex items-center gap-2 rounded-full bg-gray-800 px-5 py-2" >
23- < img
24- src = "/icons/Access%20time.svg"
25- alt = "Duration"
26- className = "h-5 w-5"
27- />
28- < span className = "text-sm sm:text-base" > 24-Hour Hackathon</ span >
26+ { /* Description
27+ <p className="text-gray-400 max-w-3xl mb-8 text-[clamp(0.875rem,2vw,1.125rem)] leading-relaxed mt-3">
28+ EPOCH 4.0 Hackathon is a 24-hour, on-site coding marathon where teams
29+ solve real-world problem statements with a strong focus on user
30+ experience, creativity, functionality, and completeness.
31+ </p> */ }
32+ { /* Tags */ }
33+ { /* <div className="flex flex-wrap justify-center gap-4 mb-8">
34+ <div className="bg-gray-800 px-4 py-2 rounded-full flex items-center gap-2">
35+ ⏱ 24-Hour Hackathon
2936 </div>
30-
31- { /* Teams */ }
32- < div className = "flex items-center gap-2 rounded-full bg-gray-800 px-5 py-2" >
33- < img src = "/icons/People.svg" alt = "Participants" className = "h-5 w-5" />
34- < span className = "text-sm sm:text-base" >
35- 50 Teams • 200–300 Participants
36- </ span >
37+ <div className="bg-gray-800 px-4 py-2 rounded-full flex items-center gap-2">
38+ 👥 50 Teams • 200-300 Participants
3739 </div>
38-
39- { /* Location */ }
40- < div className = "flex items-center gap-2 rounded-full bg-gray-800 px-5 py-2" >
41- < img
42- src = "/icons/Location%20on.svg"
43- alt = "Location"
44- className = "h-5 w-5"
45- />
46- < span className = "text-sm sm:text-base" > GITAM University</ span >
40+ <div className="bg-gray-800 px-4 py-2 rounded-full flex items-center gap-2">
41+ 📍 GITAM University
4742 </div>
48-
49- { /* Communities */ }
50- < div className = "flex items-center gap-2 rounded-full bg-gray-800 px-5 py-2" >
51- < img src = "/icons/Group.svg" alt = "Communities" className = "h-5 w-5" />
52- < span className = "text-sm sm:text-base" >
53- GitHub • ACM • IEEE • AWS SIG
54- </ span >
43+ <div className="bg-gray-800 px-4 py-2 rounded-full flex items-center gap-2">
44+ ⭐ GitHub • ACM • IEEE • AWS SIG
5545 </div>
56- </ div >
57-
46+ </div> */ }
5847 { /* Countdown */ }
59- < div className = "mb-08 " >
60- < Countdown targetDate = "2025-12-20T09:00:00+05:30 " />
48+ < div className = "w-full max-w-4xl mb-6 sm:mb-8 md:mb-10 " >
49+ < Countdown targetDate = "2025-12-20T09:00:00" />
6150 </ div >
62- { /* CTA */ }
63- < div className = "flex justify-center" >
51+ { /* Buttons */ }
52+ < div className = "flex flex-wrap gap-3 sm:gap-4 justify-center" >
6453 < button
65- onClick = { ( ) => {
66- document
67- . getElementById ( "register" )
68- ?. scrollIntoView ( { behavior : "smooth" } ) ;
69- } }
70- className = "rounded-md bg-green-500 px-8 py-3 font-semibold transition hover:bg-green-600 cursor-target cursor-pointer"
54+ onClick = { handleRegisterClick }
55+ className = "bg-green-500 hover:bg-green-600 px-6 sm:px-8 py-3 sm:py-3.5 rounded-md font-semibold text-sm sm:text-base transition-colors duration-200 cursor-pointer cursor-target"
7156 >
7257 Register Your Team
7358 </ button >
0 commit comments