Skip to content

Commit 64c9de3

Browse files
authored
Merge pull request #69 from UMLCloudComputing/feat/Add-members-list-on-landing-page
Feat: add members list on landing page
2 parents 5a0d41e + c4da8b8 commit 64c9de3

File tree

7 files changed

+79
-12
lines changed

7 files changed

+79
-12
lines changed

docs/resources/welcome.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
sidebar_position: 1
33
---
44

5-
# Tutorials
6-
Welcome to our various tutorials!
5+
# Resources
6+
Welcome to our various Resources!
77

88
*These pages will be continually updated*

docs/schedule/2023Fall.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ slug: /schedule/fall-2023
55
---
66

77
:::danger
8-
This schedule is outdated and refers to a past semester. Please check the [latest schedule](./current-schedule) for current information.
8+
This schedule is outdated and refers to a past semester. Please check the [latest schedule](../current-schedule) for current information.
99
:::
1010

1111
<center>

docs/schedule/2023Spring.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ slug: /schedule/spring-2023
55
---
66

77
:::danger
8-
This schedule is outdated and refers to a past semester. Please check the [latest schedule](./current-schedule) for current information.
8+
This schedule is outdated and refers to a past semester. Please check the [latest schedule](../current-schedule) for current information.
99
:::
1010

1111
<center>

docs/schedule/2024Fall.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
sidebar_position: 1
3-
slug: /schedule/current-schedule
3+
slug: /current-schedule
44
title: Fall 2024
55
description: Explore the Fall 2024 meeting schedule for the UMass Lowell Cloud Computing Club. Join us for virtual and hybrid sessions every week, featuring expert presentations, hands-on activities, and collaborative projects like UniPath.io. Stay engaged, learn from industry leaders, and contribute to exciting cloud computing initiatives.
66
ogTitle: Meeting Schedule for Fall 2024

src/members_meta/members.json

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
[
2+
{
3+
"image": "https://avatars.githubusercontent.com/u/44274319?v=4",
4+
"name": "Martin Marwad",
5+
"subtitle": "Founder, Alumni Advisor, UniPath.io Founder"
6+
},
7+
{
8+
"image": "https://avatars.githubusercontent.com/u/136134023?v=4",
9+
"name": "Alvin Yu",
10+
"subtitle": "President, UniBot Founder, UniPath.io Dev"
11+
},
12+
{
13+
"image": "https://avatars.githubusercontent.com/u/81245965?v=4",
14+
"name": "Nick Bottari",
15+
"subtitle": "Vice President, UniPath.io General Lead"
16+
},
17+
{
18+
"image": "https://avatars.githubusercontent.com/u/60888380?v=4",
19+
"name": "Christopher Coco",
20+
"subtitle": "Secretary, Attendance Bot Lead, UniPath.io Dev"
21+
},
22+
{
23+
"image": "https://media.licdn.com/dms/image/v2/D4E03AQEnHtWDIh-mBg/profile-displayphoto-shrink_200_200/profile-displayphoto-shrink_200_200/0/1700494525950?e=1729728000&v=beta&t=SsM6J2qHqALo4otJYYdKUKOAMrcliF-dMXpmEUzC2pw",
24+
"name": "Gurpreet Singh",
25+
"subtitle": "Treasurer, Club Website Lead, UniPath.io Dev"
26+
},
27+
{
28+
"image": "https://avatars.githubusercontent.com/u/109564679?v=4",
29+
"name": "Rahul Rajesh",
30+
"subtitle": "Former VP, UniPath.io Dev, UML-Now-CLI Dev"
31+
},
32+
{
33+
"image": "https://media.licdn.com/dms/image/v2/D4E03AQGZblBKFmKCmg/profile-displayphoto-shrink_200_200/profile-displayphoto-shrink_200_200/0/1703034903861?e=1729728000&v=beta&t=lcd6aBE3hfJ7sx4_y_sGEcAcyLTnxZ6JXsHzN8Sn9DA",
34+
"name": "Noah Shayne",
35+
"subtitle": "UniPath.io Dev, UniBot Dev, Hawkerscrape Dev"
36+
}
37+
]

src/pages/index.js

Lines changed: 35 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ import useDocusaurusContext from '@docusaurus/useDocusaurusContext';
66
import Link from '@docusaurus/Link';
77
import { useColorMode } from '@docusaurus/theme-common';
88
import 'animate.css';
9+
import InfiniteScroll from 'react-infinite-scroll-component';
910

1011
// MUI
1112
import Stack from '@mui/material/Stack';
@@ -14,15 +15,15 @@ import Container from '@mui/material/Container';
1415
import Typography from '@mui/material/Typography';
1516
import Button from '@mui/material/Button';
1617
import Grid from '@mui/material/Unstable_Grid2';
17-
import Paper from '@mui/material/Paper';
1818
import SchoolIcon from '@mui/icons-material/School';
1919
import AutoStoriesIcon from '@mui/icons-material/AutoStories';
2020
import Groups2RoundedIcon from '@mui/icons-material/Groups2Rounded';
21-
import { BottomNavigation, BottomNavigationAction, createTheme, CssBaseline, responsiveFontSizes } from '@mui/material';
21+
import { createTheme,responsiveFontSizes } from '@mui/material';
2222

2323
// Local
2424
import Layout from '@theme/Layout';
2525
import { ThemeProvider } from '@emotion/react';
26+
import members from "../members_meta/members.json";
2627

2728

2829
let theme = createTheme();
@@ -134,7 +135,7 @@ function ClubDetails() {
134135
};
135136

136137
return (
137-
<Container sx={{ py: 4 }}>
138+
<Container sx={{ pb: 4 }}>
138139
<Grid container spacing={4}>
139140
<Grid item xs={12} sm={4} >
140141
<PaperCard Header={"About Us"}
@@ -159,7 +160,7 @@ function ClubDetails() {
159160
function HomepageFeatures() {
160161
const Buttons = {
161162
'resources': <Link class="button button--secondary button--block" to="/docs/resources/welcome">Resources</Link>,
162-
'meetings': <Link class="button button--secondary button--block" to="/docs/schedule/current-schedule" >Meetings</Link>,
163+
'meetings': <Link class="button button--secondary button--block" to="/docs/current-schedule" >Meetings</Link>,
163164
'collaborative projects': <Link class="button button--secondary button--block" to="https://github.com/UMLCloudComputing">Github</Link>,
164165
};
165166

@@ -186,8 +187,36 @@ function HomepageFeatures() {
186187
);
187188
}
188189

190+
const AvatarLarge = ({ Image, Name, Subtitle}) =>(
191+
<div class="avatar">
192+
<img
193+
class="avatar__photo avatar__photo--lg"
194+
src={Image} />
195+
<div class="avatar_intro">
196+
<div class="avatar__name"> {Name} </div>
197+
<small class="avatar__subtitle"> {Subtitle} </small>
198+
</div>
199+
</div>
200+
);
201+
189202
function Members() {
190-
203+
return (
204+
<Box wrap="nowrap" sx={{ display: 'block', overflowX: 'auto', py:4, pl: 4,
205+
'&::-webkit-scrollbar': {
206+
display: 'none',
207+
},
208+
'-ms-overflow-style': 'none', // IE and Edge
209+
'scrollbar-width': 'none', // Firefox
210+
}}>
211+
<Grid container wrap="nowrap">
212+
{members.map(member => {
213+
return (
214+
<Grid item sx={{ minWidth: '430px' }}><AvatarLarge Image={member.image} Name={member.name} Subtitle={member.subtitle} /></Grid>
215+
);
216+
})}
217+
</Grid>
218+
</Box>
219+
);
191220
}
192221

193222
export default function Home() {
@@ -198,6 +227,7 @@ export default function Home() {
198227
>
199228
<HomepageHeader />
200229
<main>
230+
<Members />
201231
<ClubDetails />
202232
<HomepageFeatures />
203233
</main>

src/theme/Navbar/MobileSidebar/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ function MobileBottomNav() {
4242
value={value}
4343
onChange={handleChange}
4444
sx = {{
45-
bgcolor: isDarkMode ? 'grey.800' : 'white',
45+
bgcolor: isDarkMode ? 'black' : 'white',
4646
'& .MuiSvgIcon-root, & .MuiBottomNavigationAction-label': {
4747
color: isDarkMode ? 'grey.300' : 'grey.700'
4848
},
@@ -52,7 +52,7 @@ function MobileBottomNav() {
5252
}}
5353
>
5454
<Redirect to={value} />
55-
<BottomNavigationAction value={"/docs/Meeting Schedule"} label="Schedule" icon={<CalendarMonthOutlinedIcon/>} />
55+
<BottomNavigationAction value={"/docs/current-schedule"} label="Schedule" icon={<CalendarMonthOutlinedIcon/>} />
5656
<BottomNavigationAction value={""} label="Home" icon={<HomeOutlinedIcon/>}/>
5757
<BottomNavigationAction value={location} onClick={() => {mobileSidebar.toggle();}} label="More" icon={<MoreHorizOutlinedIcon/>}/>
5858
</BottomNavigation>

0 commit comments

Comments
 (0)