-
-
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
d4c8418
commit f090904
Showing
10 changed files
with
122 additions
and
141 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
33 changes: 0 additions & 33 deletions
33
src/components/private/cards/SingleClubEvent/SingleClubEvent.jsx
This file was deleted.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
import React from "react"; | ||
import { Button } from "../../../shared"; | ||
import "./style.css"; | ||
|
||
const DetailedClub = ({ club }) => { | ||
return ( | ||
<> | ||
<div className="detailedclub_parent"> | ||
<div className="detailedclub_header"> | ||
<h1>{club?.name || club?.Eventname}</h1> | ||
<img | ||
src="https://api.freelogodesign.org/assets/thumb/logo/bdd55f703a074abb8bf50c0d3891c0a9_400.png?t=638314396148720000" | ||
alt="" | ||
/> | ||
</div> | ||
|
||
<p className="detailedclub_body">{club?.tagLine}</p> | ||
|
||
<div className="detailedclub_cta"> | ||
<Button variant="solid" className="detailedclub_ctabutton"> | ||
Donate | ||
</Button> | ||
<Button | ||
variant="outline" | ||
to={`/club/${club?.username}`} | ||
className="detailedclub_ctabutton" | ||
> | ||
Read More | ||
</Button> | ||
</div> | ||
</div> | ||
</> | ||
); | ||
}; | ||
|
||
export default DetailedClub; |
67 changes: 40 additions & 27 deletions
67
...cards/SingleClubEvent/SingleClubEvent.css → src/components/private/cards/club/style.css
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,91 +1,104 @@ | ||
.sc_parent { | ||
.detailedclub_parent { | ||
width: 400px; | ||
border: 1px solid #e26959; | ||
border: 1px solid #6b2615; | ||
border-radius: 10px; | ||
padding: 18px; | ||
max-height: 236px; | ||
min-height: 236px; | ||
/* max-height: 236px; | ||
min-height: 236px; */ | ||
height: 250px; | ||
transition: all 0.3s ease-in-out; | ||
|
||
display: flex; | ||
flex-direction: column; | ||
justify-content: space-between; | ||
row-gap: 1rem; | ||
} | ||
|
||
.detailedclub_parent:hover { | ||
border: 1px solid #ff5b31; | ||
} | ||
|
||
.sc_parent:hover { | ||
.detailedclub_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); | ||
cursor: default; | ||
} | ||
|
||
.sc_header { | ||
.detailedclub_header { | ||
display: flex; | ||
align-items: center; | ||
justify-content: space-between; | ||
} | ||
|
||
.sc_header h2 { | ||
font-size: 25px; | ||
color: #28183b; | ||
.detailedclub_header h1 { | ||
font-size: 23px; | ||
color: #6b2615; | ||
font-weight: 800; | ||
font-family: "Inter", sans-serif; | ||
font-family: "Montserrat", sans-serif; | ||
} | ||
|
||
.sc_header img { | ||
.detailedclub_header img { | ||
width: 50px; | ||
height: 50px; | ||
border-radius: 50%; | ||
border-radius: 5px; | ||
object-fit: cover; | ||
} | ||
|
||
.sc_cta { | ||
.detailedclub_cta { | ||
display: flex; | ||
flex-direction: row; | ||
justify-content: space-between; | ||
gap: 2rem; | ||
} | ||
|
||
.sc_ctabutton { | ||
margin-top: 1rem; | ||
.detailedclub_ctabutton { | ||
width: 100%; | ||
padding: 15px 5px !important; | ||
height: 45px; | ||
border-radius: 5px; | ||
} | ||
|
||
.detailedclub_body { | ||
font-family: "Poppins", sans-serif; | ||
max-height: calc(2 * 1.5em); | ||
overflow: hidden; | ||
text-overflow: ellipsis; | ||
display: -webkit-box; | ||
-webkit-line-clamp: 2; | ||
-webkit-box-orient: vertical; | ||
color: #6b2615; | ||
font-size: 16px; | ||
} | ||
|
||
@media screen and (max-width: 430px) { | ||
.sc_parent { | ||
.detailedclub_parent { | ||
width: 100%; | ||
padding: 12px; | ||
min-height: 236px; | ||
max-height: none; | ||
} | ||
|
||
.sc_header { | ||
.detailedclub_header { | ||
margin-bottom: 1rem; | ||
} | ||
|
||
.sc_header h2 { | ||
.detailedclub_header h1 { | ||
font-size: 21px; | ||
text-align: left; | ||
} | ||
|
||
.sc_header img { | ||
.detailedclub_header img { | ||
width: 45px; | ||
height: 45px; | ||
} | ||
|
||
.sc_body { | ||
.detailedclub_body { | ||
width: 100%; | ||
} | ||
.sc_cta { | ||
.detailedclub_cta { | ||
display: flex; | ||
flex-direction: row; | ||
justify-content: space-between; | ||
gap: 1rem; | ||
} | ||
|
||
.sc_cta button { | ||
margin-top: 1rem; | ||
height: 45px; | ||
} | ||
} |
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,3 +1,3 @@ | ||
export { default as SingleClubEvent } from "./cards/SingleClubEvent/SingleClubEvent"; | ||
export { default as Landing } from "./landing/Landing"; | ||
export { default as DetailedClub } from "./cards/club/ClubCard"; | ||
export { default as MilanInfoBanner } from "./infoBanner/Milaninfobanner"; | ||
export { default as Landing } from "./landing/Landing"; |
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
Oops, something went wrong.