Skip to content

Commit

Permalink
Merge pull request #120 from UoaWDCC/VOL-106/main-ourcommunity-tw-css
Browse files Browse the repository at this point in the history
VOL-106/main-ourcommunity-tw-css
  • Loading branch information
EzekielKo authored Jul 9, 2024
2 parents 5d5ad2d + cc38039 commit 375ae7a
Show file tree
Hide file tree
Showing 2 changed files with 52 additions and 127 deletions.
75 changes: 52 additions & 23 deletions web/src/components/OurCommunity.tsx
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;

104 changes: 0 additions & 104 deletions web/src/styles/componentStyles/OurCommunity.css

This file was deleted.

0 comments on commit 375ae7a

Please sign in to comment.