+
+
Events
+
+
+
+
+
+ {!filteredEvents ? (
+
No upcoming events. Check again later!
+ ) : (
+ filteredEvents.map(event => )
+ )}
+
+
+ );
};
export default Events;
diff --git a/src/sections/Events/style.module.css b/src/sections/Events/style.module.css
index 7b3eeae..e0b47ca 100644
--- a/src/sections/Events/style.module.css
+++ b/src/sections/Events/style.module.css
@@ -1,9 +1,31 @@
-.events {
+.container {
display: flex;
- justify-content: center;
+ flex-direction: column;
align-items: center;
- width: 100%;
- height: 30vh;
- max-height: 100vh;
- border-bottom: 1px solid black;
+}
+.events {
+ display: grid;
+ margin: 0 auto;
+ grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
+ row-gap: 2rem;
+ column-gap: 2rem;
+ max-width: 90%;
+ text-align: center;
+}
+
+.header {
+ margin-top: 2rem;
+ margin-bottom: 2rem;
+ text-align: center;
+ font-weight: 700;
+}
+
+.title {
+ font-size: 2rem;
+}
+
+.event_type {
+ margin-top: 1rem;
+ border: 2px solid;
+ border-radius: 4px;
}
\ No newline at end of file
diff --git a/src/sections/Hero/style.module.css b/src/sections/Hero/style.module.css
index b436347..82c789c 100644
--- a/src/sections/Hero/style.module.css
+++ b/src/sections/Hero/style.module.css
@@ -7,6 +7,7 @@
background-color: var(--docs-accent-color);
color: #fff;
overflow: hidden;
+ transition: all 0.5s ease-in-out;
}
.backdrop {
@@ -24,6 +25,7 @@
.backdrop_left, .backdrop_right {
object-fit: contain;
width: 100%;
+ height: 100%;
}
/* Landing Card Text */
@@ -43,6 +45,7 @@
/* Landing Card Scroll Down */
.arrow {
+ margin-top: auto;
margin-bottom: 1em;
text-align: center;
font-size: 1.5em;
@@ -67,11 +70,13 @@
}
.backdrop {
grid-template-columns: minmax(18em, 1fr);
+ grid-template-rows: minmax(0, 0.7fr);
max-width: 95%;
}
.backdrop_left{
justify-self: center;
- width: 70%;
+ max-width: 70%;
+ max-height: 100%;
}
.backdrop_right {
display: none;
@@ -86,10 +91,11 @@
@media screen and (min-device-width : 768px) and (max-device-width : 1024px) {
.backdrop {
grid-template-columns: 1fr 2fr;
+ grid-template-rows: 1fr;
max-width: 95%;
}
.backdrop_left{
- width: 100%;
+ max-width: 100%;
}
.backdrop_right {
display: none;
@@ -116,4 +122,4 @@ html[class~='dark'] .landing_title {
html[class~='dark'] .arrow {
filter: brightness(85%);
-}
\ No newline at end of file
+}