-
-
Notifications
You must be signed in to change notification settings - Fork 429
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f090904
commit 95ee72b
Showing
19 changed files
with
456 additions
and
726 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes.
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,56 @@ | ||
.eventscard_parent { | ||
border-radius: 6px; | ||
width: 300px; | ||
height: 300px; | ||
position: relative; | ||
background-color: white; | ||
border: 1px solid #6b2615; | ||
padding: 0.5rem; | ||
cursor: pointer; | ||
transition: all 0.3s ease-in-out; | ||
margin: 0 1rem; | ||
} | ||
|
||
.mySwiper { | ||
padding: 1.5rem 0; | ||
} | ||
|
||
.eventscard_parent:hover { | ||
-webkit-box-shadow: 0px 0px 20px 7px rgba(226, 105, 89, 0.32); | ||
-moz-box-shadow: 0px 0px 20px 7px rgba(226, 105, 89, 0.32); | ||
box-shadow: 0px 0px 20px 7px rgba(226, 105, 89, 0.32); | ||
border: 1px solid #ff5b31; | ||
transition: all 0.3s ease-in-out; | ||
} | ||
|
||
.eventscard_parent > img:nth-of-type(1) { | ||
width: 100%; | ||
margin: auto; | ||
border-radius: 6px 6px 0 0px; | ||
} | ||
|
||
.eventscard_body > h1 { | ||
font-size: 17px; | ||
color: black; | ||
font-weight: 700; | ||
font-family: "Poppins", sans-serif; | ||
margin-top: 0.5rem; | ||
} | ||
|
||
.eventscard_date { | ||
background-color: white; | ||
position: absolute; | ||
top: 7px; | ||
right: 7px; | ||
text-align: center; | ||
padding: 7px 2px; | ||
border-radius: 4px; | ||
} | ||
|
||
.eventscard_date > p { | ||
color: black; | ||
font-family: "Inter", sans-serif; | ||
font-weight: 700; | ||
margin: 0; | ||
font-size: 1px; | ||
} |
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,23 @@ | ||
import React from "react"; | ||
import "./EventsCard.css"; | ||
|
||
const EventsCard = () => { | ||
return ( | ||
<div className="eventscard_parent"> | ||
<img | ||
src="https://149695847.v2.pressablecdn.com/wp-content/uploads/2018/11/data-analysis-ngo.jpg" | ||
alt="" | ||
/> | ||
|
||
<div className="eventscard_body"> | ||
<h1>ISB Alumni Social Impact SIG Initiative</h1> | ||
<div className="eventscard_date"> | ||
<p>01</p> | ||
<p>OCT</p> | ||
</div> | ||
</div> | ||
</div> | ||
); | ||
}; | ||
|
||
export default EventsCard; |
File renamed without changes.
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
Oops, something went wrong.