Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
84 changes: 42 additions & 42 deletions pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -109,48 +109,6 @@ const Home = ({
</div>
</div>
{/* End of Description */}
{/* Start of Quotes */}
<div
data-aos={isMobile ? 'fade' : 'fade-up'}
className={styles.quotes}
>
<h1>HEAR FROM US</h1>
<div className={[styles.carousel, styles.quoteCarousel].join(' ')}>
<QuoteSlideshow
height={450}
data={execQuotes}
homeLeftArrow={styles.homeLeftArrow}
homeRightArrow={styles.homeRightArrow}
/>
</div>
</div>
{/* End of Quotes */}
{/* Start of Statistics */}
<div className={styles.stats}>
<Image
src="/stats-background-1.png"
className={styles.statsBackground}
alt="banner"
fill
/>
<div>
<div data-aos="fade" className={styles.number}>
<div>
<span>74</span>
<p>Team Members</p>
</div>
<div>
<span>32</span>
<p>Sponsors</p>
</div>
<div>
<span>3507</span>
<p>Facebook Followers</p>
</div>
</div>
</div>
</div>
{/* End of Statistics */}
{/* Start of What we've been up to */}
<div
data-aos={isMobile ? 'fade' : 'fade-up'}
Expand Down Expand Up @@ -204,6 +162,48 @@ const Home = ({
</button>
</div>
{/* End of Publications */}
{/* Start of Statistics */}
<div className={styles.stats}>
<Image
src="/stats-background-1.png"
className={styles.statsBackground}
alt="banner"
fill
/>
<div>
<div data-aos="fade" className={styles.number}>
<div>
<span>74</span>
<p>Team Members</p>
</div>
<div>
<span>32</span>
<p>Sponsors</p>
</div>
<div>
<span>3507</span>
<p>Facebook Followers</p>
</div>
</div>
</div>
</div>
{/* End of Statistics */}
{/* Start of Quotes */}
<div
data-aos={isMobile ? 'fade' : 'fade-up'}
className={styles.quotes}
>
<h1>HEAR FROM US</h1>
<div className={[styles.carousel, styles.quoteCarousel].join(' ')}>
<QuoteSlideshow
height={450}
data={execQuotes}
homeLeftArrow={styles.homeLeftArrow}
homeRightArrow={styles.homeRightArrow}
/>
</div>
</div>
{/* End of Quotes */}
{/* Start of Sponsors & Affliations */}
<div
data-aos={isMobile ? 'fade' : 'fade-up'}
Expand Down
17 changes: 10 additions & 7 deletions styles/Home.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -565,7 +565,6 @@ div .headline {
margin: auto;
padding-top: 100px;
padding-bottom: 100px;
background-color: var(--section);
}

.publications h1 {
Expand All @@ -591,9 +590,9 @@ div .headline {
.pubBtn {
border: 1.5px solid var(--red);
box-sizing: border-box;
background-color: var(--section);
padding: 6px 6px;
transition: 0.3s;
background-color: #fff;
}

.pubBtn a {
Expand Down Expand Up @@ -626,13 +625,9 @@ div .headline {

/*---Dark mode---*/
@media (prefers-color-scheme: dark) {
.publications {
background-color: #323235;
}

.pubBtn {
border: 1.5px solid var(--red);
background-color: #323235;
background-color: #202124;
}

.pubBtn:hover {
Expand All @@ -646,6 +641,7 @@ div .headline {
margin: auto;
padding-top: 100px;
padding-bottom: 60px;
background-color: var(--section);
}

.beenUpTo h1 {
Expand Down Expand Up @@ -676,6 +672,13 @@ div .headline {
margin: 0 auto;
}

/*---Dark mode---*/
@media (prefers-color-scheme: dark) {
.beenUpTo {
background-color: #323235;
}
}

/*-----------------------------Responsive Mobile Design--------------------------*/
@media only screen and (max-width: 1200px) {
.number {
Expand Down
9 changes: 8 additions & 1 deletion styles/HomeEventsCard.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

.card {
display: inline-block;
background-color: #f5f5f5;
background-color: #fff;
border-radius: 10px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
width: 320px;
Expand Down Expand Up @@ -83,6 +83,13 @@
background-color: #D64745;
}

/*---Dark mode---*/
@media (prefers-color-scheme: dark) {
.card {
background-color: #ccc;
}
}

/* ------------ Responsive mobile design ------------ */
@media only screen and (max-width: 850px) {
.card {
Expand Down