Skip to content

Commit 12ba1e0

Browse files
authored
Merge pull request IIIT-Pune#137 from yashharne/main
landing button changes
2 parents f62d49b + 25a18b9 commit 12ba1e0

File tree

2 files changed

+22
-24
lines changed

2 files changed

+22
-24
lines changed

src/components/EventButton.jsx

+21-23
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,26 @@
1-
const EventButton = ({type}) => {
1+
const EventButton = ({ type }) => {
22
return (
33
<div>
4-
<a href="#">
5-
<div className="relative">
6-
<img
7-
src="/images/b1img.png"
8-
alt=""
9-
className={`w-10 absolute -top-5 -right-7`}
10-
/>
11-
<img
12-
src="/images/b2img.png"
13-
alt=""
14-
className="w-10 absolute -top-5 -left-7 z-0"
15-
/>
16-
<h1
17-
className="text-center"
18-
style={{
19-
textShadow: "0 0 20px rgba(255, 255, 255, 0.7)"
20-
}}
21-
>
22-
{type} EVENTS
23-
</h1>
24-
</div>
25-
</a>
4+
<div className="relative">
5+
<img
6+
src="/images/b1img.png"
7+
alt=""
8+
className={`w-10 absolute -top-5 -right-7`}
9+
/>
10+
<img
11+
src="/images/b2img.png"
12+
alt=""
13+
className="w-10 absolute -top-5 -left-7 z-0"
14+
/>
15+
<h1
16+
className="text-center"
17+
style={{
18+
textShadow: "0 0 20px rgba(255, 255, 255, 0.7)",
19+
}}
20+
>
21+
{type} EVENTS
22+
</h1>
23+
</div>
2624
</div>
2725
);
2826
};

src/pages/Landing.jsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ const Landing = () => {
4545
<div className="flex flex-col flex-grow justify-center items-center pb-8">
4646
<div className="flex flex-col justify-center items-center mb-56 gap-4 sm:gap-0">
4747
<img src="./images/IClogo.png" alt="Logo" className="w-72 sm:w-128" />
48-
<div className="text-white font-miso flex flex-col sm:flex-row gap-4 sm:gap-8 text-4xl md:text-6xl">
48+
<div className="text-gray-200 font-miso flex flex-col sm:flex-row gap-4 sm:gap-8 text-4xl md:text-5xl">
4949
<div className="border-2 bg-orange-600 border-white px-4 py-2 text-center rounded-2xl">
5050
<a href="/tech">
5151
<EventButton type="TECHNICAL" />

0 commit comments

Comments
 (0)