diff --git a/config/currentProjects.json b/config/currentProjects.json index 2a5aa39..87cf784 100644 --- a/config/currentProjects.json +++ b/config/currentProjects.json @@ -1,107 +1,104 @@ [ - { - "label": "Spotify Data Analysis", - "image": "spotify.png", - "leads": [ - { "name": "Jenny Lee", "image": "jleeone.jpeg" } - ] - }, - { - "label": "Recidivism Analysis", - "image": "compas-analysis.avif", - "leads": [ - { "name": "Lucas Tam", "image": "lucastam.png" }, - { "name": "Angela Li", "image": "anqili.jfif" } - ] - }, - { - "label": "Economic Forecasting", - "image": "economic_forecasting.jpg", - "leads": [ - { "name": "Jordyn Ives", "image": "temp.jpeg" }, - { "name": "Amelia Weyhing", "image": "aweyhing.JPG" } - ] - }, - { - "label": "Research Grant Analysis", - "image": "research_grant_analysis.jpg", - "leads": [ - { "name": "Erin Alcott", "image": "ealcott.jpg" }, - { "name": "Linda Ru", "image": "clindaru.png" } - ] - }, - { - "label": "Car Brand Classification", - "image": "car_brand_classification.jpg", - "leads": [ - { "name": "Aditi Kashi", "image": "adikashi.jpg" }, - { "name": "Anish Kudupudi", "image": "temp.jpeg" } - ] - }, - { - "label": "SoccerNet", - "image": "soccernet.png", - "leads": [ - { "name": "Antonio Capdevielle", "image": "acapdevi.jpg" }, - { "name": "Shiva Chandran", "image": "shivac.jpg" } - ] - }, - { - "label": "LLM Augmentation", - "image": "llm_augmentation.jpg", - "leads": [ - { "name": "Aditya Murali", "image": "adityamu.jpeg" }, - { "name": "Jordan Jones", "image": "jordanrj.jpeg" } - ] - }, - { - "label": "Facial Recognition", - "image": "facial_recognition.jpg", - "leads": [ - { "name": "Andrew Black", "image": "andbl.jpeg" }, - { "name": "Judith Wu", "image": "temp.jpeg" } - ] - }, - { - "label": "RL Neuroevolution", - "image": "reinforcement_learning.jpg", - "leads": [ - { "name": "Luke Yang", "image": "lukeyang.jpeg" }, - { "name": "Nathan Kawamoto", "image": "temp.jpeg" } - ] - }, - { - "label": "Mining & Analyzing Reddit", - "image": "reddit.avif", - "leads": [ - { "name": "Nidhil Nayudu", "image": "temp.jpeg" }, - { "name": "Tiernan Jesrani", "image": "tiernanj.jpg" } - ] - }, - { - "label": "ViT From Scratch", - "image": "vit_from_scratch.jpg", - "leads": [ - { "name": "Anthony Chen", "image": "anthoc.jpeg" }, - { "name": "Matthew Drutis", "image": "madrutis.jpg" } - ] - }, - { - "label": "Mini Copilot", - "image": "mini-copilot.png", - "leads": [ - { "name": "Amirali Danai", "image": "amiralid.png" }, - { "name": "Nishant Dash", "image": "ndash.JPG" } - ] - }, - { - "label": "Poker Bot", - "image": "poker_bot.jpg", - "leads": [ - { "name": "Jason Yen", "image": "temp.jpeg" }, - { "name": "Onat Ozer", "image": "temp.jpeg" }, - { "name": "Aditya Sinha", "image": "temp.jpeg" } - ] - } - ] - + { + "label": "Spotify Data Analysis", + "image": "spotify_analysis.jpg", + "leads": [{ "name": "Jenny Lee", "image": "jleeone.jpeg" }] + }, + { + "label": "Recidivism Analysis", + "image": "compas-analysis.avif", + "leads": [ + { "name": "Lucas Tam", "image": "lucastam.png" }, + { "name": "Angela Li", "image": "anqili.jfif" } + ] + }, + { + "label": "Economic Forecasting", + "image": "economic_forecasting.jpg", + "leads": [ + { "name": "Jordyn Ives", "image": "temp.jpeg" }, + { "name": "Amelia Weyhing", "image": "aweyhing.JPG" } + ] + }, + { + "label": "Research Grant Analysis", + "image": "research_grant_analysis.jpg", + "leads": [ + { "name": "Erin Alcott", "image": "ealcott.jpg" }, + { "name": "Linda Ru", "image": "clindaru.png" } + ] + }, + { + "label": "Car Brand Classification", + "image": "car_brand_classification.jpg", + "leads": [ + { "name": "Aditi Kashi", "image": "adikashi.jpg" }, + { "name": "Anish Kudupudi", "image": "temp.jpeg" } + ] + }, + { + "label": "SoccerNet", + "image": "soccernet.png", + "leads": [ + { "name": "Antonio Capdevielle", "image": "acapdevi.jpg" }, + { "name": "Shiva Chandran", "image": "shivac.jpg" } + ] + }, + { + "label": "LLM Augmentation", + "image": "llm_augmentation.jpg", + "leads": [ + { "name": "Aditya Murali", "image": "adityamu.jpeg" }, + { "name": "Jordan Jones", "image": "jordanrj.jpeg" } + ] + }, + { + "label": "Facial Recognition", + "image": "facial_recognition.jpg", + "leads": [ + { "name": "Andrew Black", "image": "andbl.jpeg" }, + { "name": "Judith Wu", "image": "temp.jpeg" } + ] + }, + { + "label": "RL Neuroevolution", + "image": "reinforcement_learning.jpg", + "leads": [ + { "name": "Luke Yang", "image": "lukeyang.jpeg" }, + { "name": "Nathan Kawamoto", "image": "temp.jpeg" } + ] + }, + { + "label": "Mining & Analyzing Reddit", + "image": "reddit.avif", + "leads": [ + { "name": "Nidhil Nayudu", "image": "temp.jpeg" }, + { "name": "Tiernan Jesrani", "image": "tiernanj.jpg" } + ] + }, + { + "label": "ViT From Scratch", + "image": "vit_from_scratch.jpg", + "leads": [ + { "name": "Anthony Chen", "image": "anthoc.jpeg" }, + { "name": "Matthew Drutis", "image": "madrutis.jpg" } + ] + }, + { + "label": "Mini Copilot", + "image": "mini-copilot.png", + "leads": [ + { "name": "Amirali Danai", "image": "amiralid.png" }, + { "name": "Nishant Dash", "image": "ndash.JPG" } + ] + }, + { + "label": "Poker Bot", + "image": "poker_bot.jpg", + "leads": [ + { "name": "Jason Yen", "image": "temp.jpeg" }, + { "name": "Onat Ozer", "image": "temp.jpeg" }, + { "name": "Aditya Sinha", "image": "temp.jpeg" } + ] + } +] diff --git a/pages/projects/index.jsx b/pages/projects/index.jsx index 32e3b44..5f8eccd 100644 --- a/pages/projects/index.jsx +++ b/pages/projects/index.jsx @@ -13,36 +13,62 @@ export default function Projects({ groupedLinks, currentProjects }) { return ( - - +

Current Projects

+

+ Our Notion page have detailed project labeling and descriptions:{" "} + + here + +

{currentProjects.map((project, index) => ( - + ))}
- {Object.entries(groupedLinks).sort((a, b) => { - const [aSeason, aYear] = a[0].split(" "); - const [bSeason, bYear] = b[0].split(" "); - const seasonOrder = { Winter: 0, Fall: 1 }; + {Object.entries(groupedLinks) + .sort((a, b) => { + const [aSeason, aYear] = a[0].split(" "); + const [bSeason, bYear] = b[0].split(" "); + const seasonOrder = { Winter: 0, Fall: 1 }; - if (aYear === bYear) { - return seasonOrder[aSeason] - seasonOrder[bSeason]; - } else { - return parseInt(bYear) - parseInt(aYear); - } - }).map(([semester, projects]) => ( - - ))} + if (aYear === bYear) { + return seasonOrder[aSeason] - seasonOrder[bSeason]; + } else { + return parseInt(bYear) - parseInt(aYear); + } + }) + .map(([semester, projects]) => ( + + ))}
); } @@ -63,18 +89,31 @@ function GroupSection({ semester, projects, basePath }) { } export async function getStaticProps() { - const pastProjectsPath = path.join(process.cwd(), "config", "pastProjects.json"); + const pastProjectsPath = path.join( + process.cwd(), + "config", + "pastProjects.json" + ); const pastProjects = JSON.parse(fs.readFileSync(pastProjectsPath, "utf-8")); - const groupedLinks = Object.entries(pastProjects).reduce((acc, [semester, projects]) => { - acc[semester] = projects.map(project => ({ - ...project - })); - return acc; - }, {}); + const groupedLinks = Object.entries(pastProjects).reduce( + (acc, [semester, projects]) => { + acc[semester] = projects.map((project) => ({ + ...project, + })); + return acc; + }, + {} + ); - const currentProjectsPath = path.join(process.cwd(), "config", "currentProjects.json"); - const currentProjects = JSON.parse(fs.readFileSync(currentProjectsPath, "utf-8")); + const currentProjectsPath = path.join( + process.cwd(), + "config", + "currentProjects.json" + ); + const currentProjects = JSON.parse( + fs.readFileSync(currentProjectsPath, "utf-8") + ); return { props: { diff --git a/public/images/projects/spotify.png b/public/images/projects/spotify.png deleted file mode 100644 index c8e1948..0000000 Binary files a/public/images/projects/spotify.png and /dev/null differ diff --git a/public/images/projects/spotify_analysis.jpg b/public/images/projects/spotify_analysis.jpg index c41da16..1c7bf07 100644 Binary files a/public/images/projects/spotify_analysis.jpg and b/public/images/projects/spotify_analysis.jpg differ