Skip to content

Commit

Permalink
pre production fixes 2 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
tamalCodes committed Jul 26, 2022
1 parent 4b7ee2a commit 56fa2c8
Show file tree
Hide file tree
Showing 4 changed files with 39 additions and 13 deletions.
1 change: 1 addition & 0 deletions src/assets/pictures/singleeventsbanner.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 2 additions & 1 deletion src/components/SingleEvent.jsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import * as React from "react";
import "../styles/SingleEvent.css"
import eventsbanner from "../assets/pictures/singleeventsbanner.svg";

export default function SingleEvent({ club }) {
const expand = () => {
Expand All @@ -17,7 +18,7 @@ export default function SingleEvent({ club }) {
<div className="card clubCard">
<img
className="card-img-top club-img"
src="https://i.ibb.co/0hxWDDD/1.jpg"
src={eventsbanner}
alt={`${club.name} `}
/>
<div className="card-body text-center">
Expand Down
36 changes: 25 additions & 11 deletions src/pages/display/EventsPage.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,18 +22,32 @@ const EventsPage = () => {
<>
<Navbar />

<div className="eventspageintro_parent d-flex flex-column flex-lg-row justify-lg-content-center">
<div className="eventspageintro_imgdiv">
<img src={Eventspic} alt="events" />
</div>
<div className="eventspageintro_textdiv">
<h2>Welcome to the events page</h2>
<p>
All our partnered NGOs , hosts various events be it educational,
cleaning mother earth, funding events, health camps and many more !!
</p>
<p>Join us at the events, and help the community !! </p>
{/* <div className="eventspageintro_parent d-flex flex-column flex-lg-row justify-lg-content-center">
</div> */}

<div className="container">
<div className="row">

<div className="col-lg-6 col-md-12 col-sm-12">
<div className="eventspageintro_imgdiv">
<img src={Eventspic} alt="events" className="eventsbannerimg" />
</div>
</div>
<div className="col-lg-6 col-md-12 col-sm-12">
<div className="eventspageintro_textdiv">
<h2>Welcome to the events page</h2>
<p>
All our partnered NGOs , hosts various events be it educational,
cleaning mother earth, funding events, health camps and many more !!
</p>
<p>Join us at the events, and help the community !! </p>
</div>
</div>

</div>

</div>

<hr className="container" />
Expand Down
12 changes: 11 additions & 1 deletion src/styles/ClubsPage.css
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,13 @@
}

@media screen and (max-width: 480px) {
.eventsbannerimg {
width: 350px !important;
}

.eventspageintro_textdiv {
margin-top: 1rem !important;
}
.card-title {
font-size: 17px;
}
Expand Down Expand Up @@ -139,9 +146,12 @@ body::-webkit-scrollbar-thumb {
justify-content: center;
}

.eventspageintro_textdiv {
margin-top: 10rem;
}
.eventspageintro_textdiv p {
font-family: "Mulish", sans-serif;
width: 100%;
/* width: 60%; */
font-size: 20px;
margin-top: 20px;
}
Expand Down

1 comment on commit 56fa2c8

@vercel
Copy link

@vercel vercel bot commented on 56fa2c8 Jul 26, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

milan – ./

milaan.vercel.app
milan-iamtamal.vercel.app
milan-git-main-iamtamal.vercel.app

Please sign in to comment.