diff --git a/index.html b/index.html index b5e7b2b..077f551 100644 --- a/index.html +++ b/index.html @@ -8,7 +8,7 @@ diff --git a/src/Pages/Events/Events.jsx b/src/Pages/Events/Events.jsx index a5d195b..37e2fd3 100644 --- a/src/Pages/Events/Events.jsx +++ b/src/Pages/Events/Events.jsx @@ -5,29 +5,48 @@ const ExtendedView = ({ mode, current, setCurrent }) => { return (
-
-

{data[current - 1].name}

-

{data[current - 1].description}

-
- {current < data.length && ( - - )} - {current > 1 && ( - - )} +
+
+

{data[current - 1].name}

+

{data[current - 1].description}

+
+ {current < data.length && ( + + )} + {current > 1 && ( + + )} +
+ {/*
+ { + data.map((item) => { +

hello{item.id}

+ }) + } +
*/}
); diff --git a/src/Pages/Events/Events.module.scss b/src/Pages/Events/Events.module.scss index c83bd81..13c1f06 100644 --- a/src/Pages/Events/Events.module.scss +++ b/src/Pages/Events/Events.module.scss @@ -1,5 +1,4 @@ .superParent { - overflow: hidden; overflow-x: hidden; background-image: url("https://res.cloudinary.com/dhry5xscm/image/upload/v1710752499/posua/events_bg_right_bottom_g4esfr.svg"), url("https://res.cloudinary.com/dhry5xscm/image/upload/v1710752495/posua/events_bg_right_b3obln.svg"), @@ -72,5 +71,42 @@ min-height: 100%; min-width: 100vw; color: #ffffff; + background-repeat: no-repeat; + background-size: cover; + background-position: center; + + .innerFilter { + background-image: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 1)); + min-height: 100vh; + + .writtenContent { + display: flex; + flex-direction: column; + align-items: start; + justify-content: space-around; + width: 30%; + margin: 25vh 4rem; + + .h1 { + font-family: "Abril Fatface", sans-serif; + font-weight: 400; + font-size: 3.2rem; + } + + .description { + font-family: "Alata", sans-serif; + font-weight: 400; + font-size: 1rem; + } + } + + .carouselParent { + display: flex; + flex-direction: row; + justify-content: center; + align-items: center; + background-color: red; + } + } } }