Skip to content

Commit 6b15049

Browse files
committed
Move events and publications sections to top of home page
1 parent 6b64903 commit 6b15049

3 files changed

Lines changed: 45 additions & 45 deletions

File tree

pages/index.tsx

Lines changed: 42 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -109,48 +109,6 @@ const Home = ({
109109
</div>
110110
</div>
111111
{/* End of Description */}
112-
{/* Start of Quotes */}
113-
<div
114-
data-aos={isMobile ? 'fade' : 'fade-up'}
115-
className={styles.quotes}
116-
>
117-
<h1>HEAR FROM US</h1>
118-
<div className={[styles.carousel, styles.quoteCarousel].join(' ')}>
119-
<QuoteSlideshow
120-
height={450}
121-
data={execQuotes}
122-
homeLeftArrow={styles.homeLeftArrow}
123-
homeRightArrow={styles.homeRightArrow}
124-
/>
125-
</div>
126-
</div>
127-
{/* End of Quotes */}
128-
{/* Start of Statistics */}
129-
<div className={styles.stats}>
130-
<Image
131-
src="/stats-background-1.png"
132-
className={styles.statsBackground}
133-
alt="banner"
134-
fill
135-
/>
136-
<div>
137-
<div data-aos="fade" className={styles.number}>
138-
<div>
139-
<span>74</span>
140-
<p>Team Members</p>
141-
</div>
142-
<div>
143-
<span>32</span>
144-
<p>Sponsors</p>
145-
</div>
146-
<div>
147-
<span>3507</span>
148-
<p>Facebook Followers</p>
149-
</div>
150-
</div>
151-
</div>
152-
</div>
153-
{/* End of Statistics */}
154112
{/* Start of What we've been up to */}
155113
<div
156114
data-aos={isMobile ? 'fade' : 'fade-up'}
@@ -204,6 +162,48 @@ const Home = ({
204162
</button>
205163
</div>
206164
{/* End of Publications */}
165+
{/* Start of Statistics */}
166+
<div className={styles.stats}>
167+
<Image
168+
src="/stats-background-1.png"
169+
className={styles.statsBackground}
170+
alt="banner"
171+
fill
172+
/>
173+
<div>
174+
<div data-aos="fade" className={styles.number}>
175+
<div>
176+
<span>74</span>
177+
<p>Team Members</p>
178+
</div>
179+
<div>
180+
<span>32</span>
181+
<p>Sponsors</p>
182+
</div>
183+
<div>
184+
<span>3507</span>
185+
<p>Facebook Followers</p>
186+
</div>
187+
</div>
188+
</div>
189+
</div>
190+
{/* End of Statistics */}
191+
{/* Start of Quotes */}
192+
<div
193+
data-aos={isMobile ? 'fade' : 'fade-up'}
194+
className={styles.quotes}
195+
>
196+
<h1>HEAR FROM US</h1>
197+
<div className={[styles.carousel, styles.quoteCarousel].join(' ')}>
198+
<QuoteSlideshow
199+
height={450}
200+
data={execQuotes}
201+
homeLeftArrow={styles.homeLeftArrow}
202+
homeRightArrow={styles.homeRightArrow}
203+
/>
204+
</div>
205+
</div>
206+
{/* End of Quotes */}
207207
{/* Start of Sponsors & Affliations */}
208208
<div
209209
data-aos={isMobile ? 'fade' : 'fade-up'}

styles/Home.module.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -565,7 +565,6 @@ div .headline {
565565
margin: auto;
566566
padding-top: 100px;
567567
padding-bottom: 100px;
568-
background-color: var(--section);
569568
}
570569

571570
.publications h1 {
@@ -591,9 +590,9 @@ div .headline {
591590
.pubBtn {
592591
border: 1.5px solid var(--red);
593592
box-sizing: border-box;
594-
background-color: var(--section);
595593
padding: 6px 6px;
596594
transition: 0.3s;
595+
background-color: #fff;
597596
}
598597

599598
.pubBtn a {
@@ -646,6 +645,7 @@ div .headline {
646645
margin: auto;
647646
padding-top: 100px;
648647
padding-bottom: 60px;
648+
background-color: var(--section);
649649
}
650650

651651
.beenUpTo h1 {

styles/HomeEventsCard.module.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
.card {
44
display: inline-block;
5-
background-color: #f5f5f5;
5+
background-color: #fff;
66
border-radius: 10px;
77
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
88
width: 320px;

0 commit comments

Comments
 (0)