-
Notifications
You must be signed in to change notification settings - Fork 28
Expand file tree
/
Copy pathindex.jsx
More file actions
120 lines (117 loc) · 4.51 KB
/
index.jsx
File metadata and controls
120 lines (117 loc) · 4.51 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
import Navbar from "@/components/Navbar";
import { Button } from "@/components/ui/button";
import { ArrowTopRightIcon } from "@radix-ui/react-icons";
import hackbyteLogo from "@/public/hackbyteLogo.png";
import Image from "next/image";
export default function Home() {
return (
<>
<div
className="flex flex-col justify-around min-h-screen
bg-cover bg-no-repeat p-4 md:px-12 md:py-8"
style={{
backgroundImage: "url(/background.webp)",
backgroundAttachment: "fixed",
backgroundPositionY: "bottom",
}}
>
<Navbar />
<div className="flex flex-wrap justify-between items-center gap-4 lg:gap-0">
<div className="flex flex-col items-start w-full lg:w-1/2">
{/* <p
className="text-[#FAF8ED] text-[1.25rem] font-medium uppercase
lg:text-[1.5rem]"
>
This year's theme :{" "}
</p> */}
<p
className="text-[#FAF8ED] text-[2.375rem] font-medium leading-[1.2]
lg:leading-[1.1] lg:text-[3rem]"
>
This year's theme <br /> unveils in April ...
</p>
</div>
<div className="flex flex-col items-start gap-3 w-full lg:items-end lg:w-1/2">
<p
className="text-[#FAF8ED] text-[1.25rem] font-medium text-left
lg:text-right lg:text-[1.5rem]"
>
— Round 1 kicks off at
<br /> 5 April 2024, IIIT Jabalpur
</p>
<Button
size="sm"
className="bg-[#FAF8ED] text-black text-[1.125rem] font-medium uppercase
p-6 rounded-none hover:bg-[#FAF8ED] hover:text-black"
style={{
boxShadow:
"0px 1px 1px 0px rgba(0, 0, 0, 0.12), 0px 0px 0px 1px rgba(103, 110, 118, 0.16), 0px 2px 5px 0px rgba(103, 110, 118, 0.08)",
}}
>
Explore Challenge
<ArrowTopRightIcon className="w-5 h-5 ml-1" />
</Button>
</div>
</div>
<div className="flex items-center justify-center my-12 xl:my-4">
<Image
src={hackbyteLogo}
alt="HackByte Logo"
className="max-w-[32rem] min-w-[15rem] w-[75%] 2xl:max-w-[40rem]"
priority
/>
</div>
<div className="flex items-center justify-between gap-4 mt-8 xl:mt-4">
<div className="flex flex-col items-start gap-2">
<p
className="text-[#FAF8ED] text-[1rem] font-[600]
md:text-[1.125rem]"
>
HackByte: Empower Your Digital Odyssey!
</p>
<div className="flex items-stretch">
<div
className="flex justify-center items-center py-2 md:py-2.5 px-4 md:px-6"
style={{ border: "1.275px solid #FAF8ED" }}
>
<div className="flex justify-center items-center gap-4">
<img
src="/tpcLogo.svg"
alt="TPC Logo"
className="w-[4rem] h-[2.125rem]"
/>
<p className="text-[#FAF8ED] text-[0.75rem] font-[600]">
Organised by
<br className="hidden md:block" /> The Programming Club of
IIITDMJ
</p>
</div>
</div>
<div
className="flex justify-center items-center py-2 md:py-2.5 px-4 md:px-6"
style={{ border: "1.275px solid #FAF8ED" }}
>
<div className="flex justify-center items-center">
<img
src="/iiitdmjLogo.svg"
alt="IIITDMJ Logo"
className="w-[5.5rem] h-[2rem]"
/>
</div>
</div>
</div>
</div>
<div className="hidden lg:flex lg:flex-col lg:items-end lg:max-w-[24rem] xl:max-w-md">
<p className="text-[#FAF8ED] text-[1rem] xl:text-[1.125rem] font-[600] text-right">
HackByte: Empower Your Digital Odyssey!
</p>
<p className="text-[#FAF8ED] text-[1rem] xl:text-[1.125rem] font-normal text-right uppercase">
Embark on an enriching voyage with HackByte, where the fusion of
tech expertise and boundless innovation unfolds.
</p>
</div>
</div>
</div>
</>
);
}