-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #19 from Albatrozx11/main
added events page
- Loading branch information
Showing
5 changed files
with
126 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
import React from "react"; | ||
import "./Events.css"; | ||
const Boxes = () => { | ||
return ( | ||
<div className=" bg-[#0C2445] box-cont ml-4 flex flex-col"> | ||
<div className="flex justify-center items-center my-6"> | ||
<div className="bg-[#E0E2E3] rounded inner-box "></div> | ||
</div> | ||
<div className="mx-8"> | ||
<h3 className="text-[#E6F4F4] text-[32px] font-semibold mb-1">TITLE</h3> | ||
<p className="text-[#D9D9D9] text-[20px] "> | ||
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do | ||
eiusmod tempor incididunt ut labore et dolore{" "} | ||
</p> | ||
</div> | ||
</div> | ||
); | ||
}; | ||
|
||
export default Boxes; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,83 @@ | ||
h1 { | ||
font-family: "Inter"; | ||
font-style: normal; | ||
line-height: normal; | ||
text-transform: uppercase; | ||
} | ||
|
||
.box-cont { | ||
width: 360px; | ||
height: 530px; | ||
flex-shrink: 0; | ||
border-radius: 7px; | ||
} | ||
|
||
.inner-box { | ||
width: 300px; | ||
height: 250px; | ||
flex-shrink: 0; | ||
} | ||
|
||
h3 { | ||
text-transform: uppercase; | ||
font-family: Inter; | ||
font-size: 36px; | ||
font-style: normal; | ||
line-height: normal; | ||
} | ||
|
||
.main-cont { | ||
height: 1024px; | ||
overflow: hidden; | ||
} | ||
|
||
p { | ||
font-family: "Inter"; | ||
font-style: normal; | ||
font-weight: 200; | ||
line-height: normal; | ||
text-transform: capitalize; | ||
} | ||
|
||
@media (max-width: 720px) { | ||
.sub-cont { | ||
flex-direction: column; | ||
} | ||
|
||
.main-cont { | ||
height: max-content; | ||
overflow: hidden; | ||
} | ||
|
||
.box-cont { | ||
margin-bottom: 16px; | ||
width: 55%; | ||
height: 500px; | ||
} | ||
|
||
.inner-box { | ||
width: 80%; | ||
height: 230px; | ||
} | ||
} | ||
@media (max-width: 520px) { | ||
.sub-cont { | ||
flex-direction: column; | ||
} | ||
|
||
.main-cont { | ||
height: max-content; | ||
overflow: hidden; | ||
} | ||
|
||
.box-cont { | ||
margin-bottom: 16px; | ||
width: 70%; | ||
height: 500px; | ||
} | ||
|
||
.inner-box { | ||
width: 80%; | ||
height: 230px; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,18 @@ | ||
import './Events.css' | ||
|
||
import "./Events.css"; | ||
import Boxes from "./Boxes"; | ||
const Events = () => { | ||
return ( | ||
<div>Events</div> | ||
) | ||
} | ||
<div className=" bg-[#E6F4F4] flex flex-col items-center main-cont"> | ||
<h1 className="text-[#041B3E] text-[76px] mt-20 font-semibold "> | ||
EVENTS | ||
</h1> | ||
<div className="sub-cont flex mt-10 items-center"> | ||
<Boxes /> | ||
<Boxes /> | ||
<Boxes /> | ||
</div> | ||
</div> | ||
); | ||
}; | ||
|
||
export default Events | ||
export default Events; |