Skip to content

Commit ad7be8f

Browse files
committed
address comments
1 parent c705fd3 commit ad7be8f

File tree

3 files changed

+9
-8
lines changed

3 files changed

+9
-8
lines changed

components/CoPresident.jsx

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -86,19 +86,20 @@ const CoPresident = () => {
8686
<div className={SWIPERS}>
8787
<div className={CAROUSEL_CONTAINER}>
8888
<Carousel className='president-carousel'>
89-
{President.map((president) => (
90-
<SwiperSlide key={president[0].name}>
89+
{President.map(([pres1, pres2], index) => (
90+
<SwiperSlide key={pres1.name + index}>
9191
<div className={PRESIDENT_TILE_CONTAINER}>
92-
<div className={PRESIDENT_YEAR}>{president[0].year}</div>
93-
<PresidentTile {...president[0]} />
94-
{president[1] && <PresidentTile {...president[1]} />}
92+
<div className={PRESIDENT_YEAR}>{pres1.year}</div>
93+
<PresidentTile {...pres1} />
94+
{pres2 && <PresidentTile {...pres2} />}
9595
</div>
9696
</SwiperSlide>
9797
))}
9898
</Carousel>
9999
</div>
100100
</div>
101-
102101
);
103102
};
103+
104104
export default CoPresident;
105+

components/MeetOurTeam.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ const MeetOurAmazingTeam = () => {
7474
<section id="technical" ref={technicalRef} className="h-screen p-12 bg-[#bcfbe4]">
7575
<TechnicalTeam />
7676
</section>
77-
<section id="alumni" ref={alumniRef} className='h-screen'>
77+
<section id="alumni" ref={alumniRef} className='min-h-screen'>
7878
<AlumniSection />
7979
</section>
8080
</div>

tailwind.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
const defaultTheme = require('tailwindcss/defaultTheme');
33

44
module.exports = {
5-
content: ['./pages/**/*.{js,ts,jsx,tsx}', './components/**/*.{js,ts,jsx,tsx}', "./src/**/*.{js,ts,jsx,tsx}",],
5+
content: ['./pages/**/*.{js,ts,jsx,tsx}', './components/**/*.{js,ts,jsx,tsx}',],
66
theme: {
77
extend: {
88
fontFamily: {

0 commit comments

Comments
 (0)