generated from UoaWDCC/react-template
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #120 from UoaWDCC/VOL-106/main-ourcommunity-tw-css
VOL-106/main-ourcommunity-tw-css
- Loading branch information
Showing
2 changed files
with
52 additions
and
127 deletions.
There are no files selected for viewing
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,31 +1,60 @@ | ||
import "../styles/componentStyles/OurCommunity.css"; | ||
import MainPageButtonHeadings from "./MainPageButtonHeadings"; | ||
|
||
const OurCommunity = () => { | ||
|
||
return ( | ||
<div className="community-section"> | ||
{/*<img className="img1" src="../src/assets/gallery/events/sample1.png"/>*/} | ||
<div className="community-pics"> | ||
<div className="community-pics-top"> | ||
<img className="community-img1" src="/assets/gallery/events/sample1.png" title="img1" alt="img1"/> | ||
<img className="community-img2" src="/assets/gallery/events/sample3.png" title="img2" alt="img2"/> | ||
<div className="flex flex-col items-center h-screen bg-white text-black font-medium"> | ||
|
||
<div className="relative w-full h-screen"> | ||
<MainPageButtonHeadings heading="Our Community"/> | ||
<div className="flex flex-col items-center"> | ||
<div className="text-center font-medium w-[36rem] leading-[1.2rem] mt-[4rem]"> | ||
Join our community to start tracking your efforts! | ||
<br /> | ||
Create an account to log your hours, connect with others, and stay updated on our events. | ||
With over: | ||
</div> | ||
<div className="text-center text-[5rem] leading-[150%] font-semibold mt-[3.5rem]">1,200</div> | ||
<div className="text-center text-[1.4rem]">volunteers in our club</div> | ||
<button className="text-white text-[0.7rem] py-[1rem] mt-[2.2rem] rounded-[30px] px-8 leading-[0.5rem] bg-[#3B87DD]"> | ||
Sign me up! | ||
</button> | ||
</div> | ||
<div className="community-pics-bottom"> | ||
<img className="community-img3" src="/assets/gallery/events/sample3.png" title="img3" alt="img3"/> | ||
<img className="community-img4" src="/assets/gallery/events/sample4.png" title="img4" alt="img4"/> | ||
|
||
<div className="absolute top-0 left-0 right-0 flex flex-col items-center"> | ||
<div className="flex w-full h-1/2"> | ||
<img | ||
className="object-cover rounded-[20px] ml-[10vw] mt-[5vh] h-[25vh] w-[19vh] transform rotate-[-15deg]" | ||
src="/assets/gallery/events/sample1.png" | ||
title="img1" | ||
alt="img1" | ||
/> | ||
<img | ||
className="object-cover rounded-[20px] ml-[53vw] mt-[12vh] h-[35vh] w-[27vh] transform rotate-[17deg]" | ||
src="/assets/gallery/events/sample3.png" | ||
title="img2" | ||
alt="img2" | ||
/> | ||
</div> | ||
<div className="flex w-full h-1/2"> | ||
<img | ||
className="object-cover rounded-[20px] ml-[23vw] mt-[5vh] h-[35vh] w-[30vh] transform rotate-[7deg]" | ||
src="/assets/gallery/events/sample3.png" | ||
title="img3" | ||
alt="img3" | ||
/> | ||
<img | ||
className="object-cover rounded-[20px] ml-[25vw] mt-[8vh] h-[25vh] w-[17vh] transform rotate-[-7deg]" | ||
src="/assets/gallery/events/sample4.png" | ||
title="img4" | ||
alt="img4" | ||
/> | ||
</div> | ||
</div> | ||
</div> | ||
<div className="community-title">Our Community</div> | ||
<div className="community-description"> | ||
Join our community to start tracking your efforts! | ||
<br></br> | ||
Create an account to log your hours, connect with others, and stay updated on our events. | ||
With over: | ||
</div> | ||
<div className="community-number">1,200</div> | ||
<div className="community-description2">volunteers in our club</div> | ||
<button className="community-signup">Sign me up</button> | ||
|
||
</div> | ||
); | ||
} | ||
export default OurCommunity; | ||
}; | ||
|
||
export default OurCommunity; | ||
|
This file was deleted.
Oops, something went wrong.