Skip to content

Commit da7c766

Browse files
committed
luma calendar, mail btn, projects page update
1 parent 47646e0 commit da7c766

File tree

12 files changed

+53
-111
lines changed

12 files changed

+53
-111
lines changed

src/components/footer.astro

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,11 @@ const links: Array<FooterLink> = [
99
description: "ML-Purdue Homepage",
1010
icon: "mdi:home",
1111
},
12+
{
13+
url: "mailto:[email protected]",
14+
description: "Contact ML@Purdue",
15+
icon: "heroicons-outline:mail",
16+
},
1217
{
1318
url: "https://discord.gg/KphYQFSVsu",
1419
description: "ML-Purdue Discord",
@@ -39,13 +44,13 @@ const { ignoreHome = false } = Astro.props;
3944

4045
<footer class="relative flex h-64 items-center justify-center">
4146
<ul
42-
class=`relative grid grid-cols-5 gap-3 -ml-5 sm:ml-0 sm:gap-3 sm:grid-cols-${ignoreHome ? 4 : 5}`
47+
class=`relative grid grid-cols-4 -ml-${ignoreHome ? 5 : 0} sm:ml-0 gap-2 sm:gap-3 sm:grid-cols-${ignoreHome ? 5 : 6}`
4348
>
4449
{
45-
links.slice(ignoreHome ? 1 : 0).map((link) => (
50+
links.slice(ignoreHome ? 2 : 0).map((link) => (
4651
<li>
4752
<a
48-
class="flex h-16 w-16 items-center justify-center rounded-full border-2 border-current p-4"
53+
class="flex h-14 w-14 items-center justify-center rounded-full border-2 border-current p-3"
4954
href={link.url}
5055
>
5156
<span class="sr-only">{link.description}</span>

src/components/header.astro

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ const { fixed } = Astro.props;
5555
width="16"
5656
fill="none"
5757
viewBox="0 0 24 24"
58-
stroke="white"
58+
stroke="light"
5959
height="8rem"
6060
width="8rem"
6161
>
@@ -78,7 +78,7 @@ const { fixed } = Astro.props;
7878
</ul>
7979
</>
8080
) : (
81-
<a class="font-semibold text-sm" href={url}>
81+
<a class={`font-semibold text-sm`} href={url}>
8282
{title}
8383
</a>
8484
)}
@@ -234,8 +234,8 @@ const { fixed } = Astro.props;
234234
[data-hover-link-container] {
235235
position: absolute;
236236
left: 0;
237-
z-index: 10;
238-
top: 100%; /* fallback in case JS hasn’t run yet */
237+
z-index: 100;
238+
top: 100%;
239239
}
240240

241241
ul:hover,

src/components/intro.astro

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,12 @@ import ContentSection from "~/components/content-section.astro";
66
<h1 class="text-center orbitron text-5xl sm:text-7xl mb-6">EVENTS CALENDAR</h1>
77
<div class="flex justify-center items-center w-full">
88
<iframe
9-
id="events"
10-
class="w-[75vw] h-[65vh]"
11-
style="filter: invert(0.9) saturate(2) hue-rotate(232deg);"
12-
src="https://lu.ma/calendar/cal-HX9Is6QZH62nopX?period=past"
9+
src="https://lu.ma/embed/calendar/cal-aOhcnJ1PuLTOK9G/events"
10+
style="border: 1px solid #bfcbda88; border-radius: 4px;"
11+
class="w-[70vw] sm:w-[80vw] h-[60vh] sm:h-[75vh]"
12+
allowfullscreen=""
13+
aria-hidden="false"
14+
tabindex="0"
1315
></iframe>
1416
</div>
1517
</div>

src/components/splash.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ const sizes = "(min-width: 640px) 42vw, 67vw";
2424
PURDUE
2525
</h1>
2626
</div>
27-
<div class="-mt-24 ml-20 place-items-end md:ml-0">
27+
<div class="-mt-24 ml-5 md:ml-20 place-items-center sm:place-items-end">
2828
<Footer ignoreHome={true} />
2929
</div>
3030
</h2>

src/data-entries.ts

Lines changed: 9 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -6,28 +6,29 @@ export const projectItems: Array<ProjectItem> = [
66
{
77
link: "https://github.com/PranayN23/NFLResourceAnalysis",
88
name: "NFL Predicitve Resource Allocation",
9-
desc: "Predicting Team Success in the NFL",
9+
desc: "Scraped 10 more years of relevant nfl salary cap, performance, draft, and advanced analytical data and stored them into MongoDB. Created basic UIs for searching based on relevant player data.",
1010
pm: "Pranay Nandkeolyar",
1111
status: "closed",
12-
commitment: "3",
1312
proficiency: "Beginner",
1413
domain: ["Time Series Modelling"],
1514
duration: "Fall 2024",
1615
memberInfo: "https://docs.google.com/spreadsheets/d/1BrO2emnEI6psEeNaZrsmL0Wwp-SL5hwEdpTG34ErwlM/edit?usp=sharing",
1716
},
1817
{
1918
name: "Kaggle",
20-
desc: "Learning through Participation in Kaggle Competitions",
19+
desc: "Learning through Participation in Kaggle Competitions.",
2120
pm: "Neil Sahai",
2221
status: "closed",
2322
proficiency: "Beginner",
2423
domain: ["General"],
2524
duration: "Fall 2024 + Spring 2025",
2625
memberInfo: "https://docs.google.com/spreadsheets/d/1iXUDsyLzoB7aPhIs960i16HsB-XWROdO_fJlzmVkhUA/edit?usp=sharing",
26+
accomplishments: ["Competed in 5+ Kaggle competitions with accuracy rates of upwards of 90%."],
2727
},
2828
{
29+
link: "https://www.theinboxpilot.com/",
2930
name: "InboxPilot",
30-
desc: "LLM-powered inbox automation application",
31+
desc: "Over the year, the team was able to successfully develop a fully functional email assistant which allows users to create natural language rules, draft replies using personal context, semantically search an inbox, and handle email using voice. InboxPilot onboarded 15 beta users, processed over 4000 emails, and made over a 100 automatic drafts.",
3132
pm: "Rishi Mantri",
3233
status: "closed",
3334
proficiency: "Beginner",
@@ -40,12 +41,10 @@ export const projectItems: Array<ProjectItem> = [
4041
desc: "Pollutant concentration analysis from Satellite Data",
4142
pm: "Michael J. Wang",
4243
status: "closed",
43-
commitment: "10 - 15",
4444
proficiency: "Intermediate",
4545
domain: ["Time Series Modelling", "Computer Vision"],
4646
duration: "Fall 2024 + Spring 2025",
4747
advisor: "Prof. Guang Lin, Dr. Gary Doran, Dr. Sina Hasheminassab",
48-
assess: "https://drive.google.com/drive/folders/1jHcP_nIdbgJPpEaulooN0E420E3uqODm?usp=drive_link",
4948
memberInfo: "https://docs.google.com/spreadsheets/d/16FAs44aVyDcLF_S8B9ZqsyMmEJP98LL1RL5mK3Rgqak/edit?usp=drive_link",
5049
},
5150
{
@@ -54,10 +53,10 @@ export const projectItems: Array<ProjectItem> = [
5453
desc: "Creating an unmanned autonomous boat that can complete complex tasks",
5554
pm: "Nicholas Wade",
5655
status: "closed",
57-
commitment: "10",
5856
proficiency: "Intermediate",
5957
domain: ["Process Control", "Computer Vision"],
6058
memberInfo: "https://docs.google.com/spreadsheets/d/1DwIMw7RrkFmX49ZkZCin6s6-WuL4-Qbt1CeX-CzUKes/edit?usp=sharing",
59+
accomplishments: ["2nd Place Trine AIMM ICC competition"],
6160
},
6261
{
6362
name: "PokeRI",
@@ -67,50 +66,44 @@ export const projectItems: Array<ProjectItem> = [
6766
proficiency: "Intermediate",
6867
domain: ["Reinforcement Learning"],
6968
duration: "Fall 2024",
70-
assess: "https://drive.google.com/file/d/1NzBIi6WvnyadC2JMxD-yJHN7P12ETrJ_/view?usp=sharing",
7169
memberInfo: "https://docs.google.com/spreadsheets/d/1Y8ne9Sd2sSYp3ZUnvT8z1kZBL4PpwDj4ojAjCNmkwiw/edit?usp=sharing",
7270
},
7371
{
7472
name: "SWAT: Students Winning at Algo Trading",
7573
desc: "Algorithmic Trading Competitive Team",
7674
pm: "Yohaan Chokhany",
7775
status: "closed",
78-
commitment: "5 - 10",
7976
proficiency: "Intermediate",
8077
domain: ["Finance"],
81-
assess: "https://github.com/YohaanChokhany/swat-onboarding",
8278
memberInfo: "https://docs.google.com/spreadsheets/d/1ancxMFSFhrRXvLnslGnoTBjTdfD3rlVcdPBTEmG3vj0/edit?usp=sharing",
8379
},
8480
{
8581
name: "Drone Vision",
86-
desc: "Computer vision algorithms for autonomous urban navigation",
82+
desc: "The team successfully generated a synthetic dataset of images taken from in the middle of urban scenes. They used Meta Segment Anything (SAM) model to generate masks, out of which they selected relevant classes, and used the MMSegmentation library to train a new semantic segmentation model.",
8783
pm: "Manav Gagani",
8884
status: "closed",
89-
commitment: "5 - 10",
9085
proficiency: "Intermediate",
9186
domain: ["Computer Vision", "Segmentation", "Object Detection"],
9287
duration: "Fall 2024 + Spring 2025",
93-
assess: "https://github.com/mgagvani/dronevision-onboarding",
9488
memberInfo: "https://docs.google.com/spreadsheets/d/1ebeAdjMo2XRojZZ19xloosyoWY1_6ggUHwn-tXB_ilY/edit?usp=sharing",
9589
},
9690
{
9791
name: "TE AI Cup 2024-2025",
98-
desc: "Scholarship project with TE Connectivity",
92+
desc: "Developed a novel industrial solution backed by a state-of-the-art learning method in academic research.",
9993
pm: "Daniel Park",
10094
status: "closed",
101-
commitment: "10",
10295
proficiency: "Advanced",
10396
domain: ["Process Control", "Computer Vision"],
10497
duration: "Fall 2024 + Spring 2025",
10598
advisor: "Sonny Osunkwo",
10699
memberInfo: "https://docs.google.com/spreadsheets/d/1im0FjZLBWWyVQxM2imX2Ngd8s8qV9HTOeXQrJR1ZBmo/edit?usp=sharing",
100+
accomplishments: ["Nationally 2nd", "Globally 3rd", "Patent", "Academic Paper"],
107101
},
108102
{
109103
name: "AI Student Advisor",
110104
desc: "LLM chatbot that acts as a student advisor",
111105
pm: "Andrew Qiang",
112106
status: "closed",
113-
commitment: "5 - 10",
114107
domain: ["NLP"],
115108
duration: "Fall 2024",
116109
memberInfo: "https://docs.google.com/spreadsheets/d/1sZ4v9iwCEvijWEUFRMNC82FE8sn0g_Z0KF2f6PMBdb4/edit?usp=drive_link",

src/pages/about.astro

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -33,16 +33,6 @@ const description = "ML@Purdue Website";
3333
<article class="mt-20 w-[90vw] max-w-[80ch]">
3434
<MLPurdueAbout />
3535
</article>
36-
<div
37-
class="flex flex-col items-center justify-center -mr-7 sm:mr-0 gap-[5px] md:flex-row md:items-start md:gap-12"
38-
>
39-
<div
40-
class="mt-20 -mb-20 flex flex-col items-center text-left md:mb-0 md:items-start"
41-
>
42-
<span class="pt-4 font-semibold text-2xl">Contact Us!</span>
43-
<span class="text-sm"><b>🖂</b> [email protected]</span>
44-
</div>
45-
<Footer />
46-
</div>
36+
<Footer />
4737
</body>
4838
</html>

src/pages/index.astro

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -36,16 +36,6 @@ const description = "ML@Purdue Website";
3636
<div class="space-y-10 px-8 pt-20">
3737
<Intro />
3838
</div>
39-
<div
40-
class="mx-10 flex flex-col items-center justify-center gap-[5px] md:flex-row md:items-start md:gap-12"
41-
>
42-
<div
43-
class="mt-20 -mb-20 flex flex-col items-center text-left md:mb-0 md:items-start"
44-
>
45-
<span class="pt-4 font-semibold text-2xl">Contact Us!</span>
46-
<span class="text-sm"><b>🖂</b> [email protected]</span>
47-
</div>
48-
<Footer />
49-
</div>
39+
<Footer />
5040
</body>
5141
</html>

src/pages/projects.astro

Lines changed: 17 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -67,23 +67,23 @@ const description = "ML@Purdue Website";
6767
</p>
6868
</div>
6969
{
70-
projectItems.map(({ link, name, desc, pm, status, commitment, proficiency, domain, duration, advisor, assess, memberInfo }) => (
71-
<section class="relative flex w-screen border-b-[1px] border-purple-500 -mt-4 h-[54vh] lg:h-[42vh]">
72-
<div class="flex flex-col justify-between items-end border-r-[1px] h-[54vh] lg:h-[42vh] w-[30vw] lg:w-[26vw] text-right border-purple-500 p-2 lg:p-4">
70+
projectItems.map(({ link, name, desc, pm, status, commitment, proficiency, domain, duration, advisor, memberInfo, accomplishments }) => (
71+
<section class="relative flex w-screen border-b-[1px] border-purple-500 -mt-4">
72+
<div class="flex flex-col justify-between items-end w-[30vw] lg:w-[26vw] text-right p-2 pb-3">
7373
<div class="flex flex-col items-end">
7474
<h2 class="text-xs lg:text-sm leading-snug">{duration}</h2>
7575
<span class="-mt-2">
7676
{proficiency && (<span class="text-xs lg:text-sm leading-snug font-semibold">{proficiency}</span>)}
7777
{commitment && (<span class="whitespace-nowrap text-xs lg:text-sm leading-snug">{commitment} hrs/week</span>)}
7878
</span>
7979
</div>
80-
<span class="bg-purple-900 ml-3 text-white rounded-md py-1 px-4 text-xs leading-snug">
80+
<span class={`bg-${(status == "closed") ? "gray-700" : "purple-900"} ml-3 text-white rounded-md py-1 px-4 text-xs leading-snug`}>
8181
{status}
8282
</span>
8383
</div>
8484

85-
<div class="flex flex-col lg:justify-center pt-2 lg:pt-0 h-full pl-2 lg:pl-4 max-w-[63vw]">
86-
<span class="orbitron text-xl lg:text-2xl lowercase leading-tight mb-1">
85+
<div class="flex border-l-[1px] border-purple-500 ml-2 flex-col p-5 lg:justify-center pt-2 lg:pt-0 h-full pl-2 lg:pl-4 max-w-[63vw]">
86+
<span class="orbitron text-xl lg:text-2xl leading-tight sm:mt-3 mb-1">
8787
{link ?
8888
<a href={link}>{name}</a>
8989
:
@@ -97,20 +97,22 @@ const description = "ML@Purdue Website";
9797
</span>
9898
))}
9999
</div>
100-
<p class="text-sm mt-3">{desc}</p>
101-
<h2 class="text-sm lg:text-base mt-2">
100+
<p class="text-xs mt-3">{desc}</p>
101+
<h2 class="text-xs lg:text-sm mt-2">
102+
<div class="flex flex-wrap mt-1 gap-2 mb-4">
103+
{accomplishments && accomplishments.map((a) => (
104+
<span class="text-xs -mt-2 mr-2 font-semibold text-purple-400">
105+
{a}
106+
</span>
107+
))}
108+
</div>
102109
<span>{pm} {advisor && (<span>, Advisor: {advisor}</span>)}</span>
103-
<div class="flex flex-wrap gap-2">
110+
<div class="flex flex-wrap mt-1 gap-2">
104111
{memberInfo && (
105112
<a href={memberInfo} class="whitespace-nowrap bg-purple-900 hover:bg-purple-100 text-white rounded-md py-1 px-4 text-xs leading-snug">
106113
member info
107114
</a>
108115
)}
109-
{assess && (
110-
<a href={assess} class="whitespace-nowrap bg-purple-900 hover:bg-purple-100 text-white rounded-md py-1 px-4 text-xs leading-snug">
111-
assessment link
112-
</a>
113-
)}
114116
</div>
115117
</h2>
116118
</div>
@@ -119,16 +121,6 @@ const description = "ML@Purdue Website";
119121
}
120122
</ContentSection>
121123
</article>
122-
<div
123-
class="flex flex-col items-center justify-center -mr-7 gap-[5px] md:flex-row md:items-start md:gap-12"
124-
>
125-
<div
126-
class="mt-20 -mb-20 flex flex-col items-center text-left md:mb-0 md:items-start"
127-
>
128-
<span class="pt-4 font-semibold text-2xl">Contact Us!</span>
129-
<span class="text-sm"><b>🖂</b> [email protected]</span>
130-
</div>
131-
<Footer />
132-
</div>
124+
<Footer />
133125
</body>
134126
</html>

src/pages/reading-group.astro

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ const description = "ML@Purdue Website";
7373
</div>
7474

7575
<div class="flex flex-col lg:justify-center pt-2 lg:pt-0 h-full pl-2 lg:pl-4">
76-
<span class="orbitron text-xl lg:text-2xl max-w-[63vw] lowercase leading-tight mb-1">{topic}</span>
76+
<span class="orbitron text-xl lg:text-2xl max-w-[63vw] leading-tight mb-1">{topic}</span>
7777
<div class="flex flex-wrap gap-2">
7878
{domain.map((a) => (
7979
<span class="whitespace-nowrap bg-gray-700 text-white rounded-md py-1 px-3 text-xs leading-snug">
@@ -95,16 +95,6 @@ const description = "ML@Purdue Website";
9595
}
9696
</ContentSection>
9797
</article>
98-
<div
99-
class="flex flex-col items-center justify-center -mr-7 sm:mr-0 gap-[5px] md:flex-row md:items-start md:gap-12"
100-
>
101-
<div
102-
class="mt-20 -mb-20 flex flex-col items-center text-left md:mb-0 md:items-start"
103-
>
104-
<span class="pt-4 font-semibold text-2xl">Contact Us!</span>
105-
<span class="text-sm"><b>🖂</b> [email protected]</span>
106-
</div>
107-
<Footer />
108-
</div>
98+
<Footer />
10999
</body>
110100
</html>

src/pages/sponsor.astro

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -122,16 +122,6 @@ const description = "ML@Purdue Sponsorship";
122122
</ContentSection>
123123
</article>
124124

125-
<div
126-
class="mx-10 flex flex-col items-center justify-center gap-[5px] md:flex-row md:items-start md:gap-12"
127-
>
128-
<div
129-
class="mt-20 -mb-20 flex flex-col items-center text-left md:mb-0 md:items-start"
130-
>
131-
<span class="pt-4 font-semibold text-2xl">Contact Us!</span>
132-
<span class="text-sm"><b>🖂</b> [email protected]</span>
133-
</div>
134-
<Footer />
135-
</div>
125+
<Footer />
136126
</body>
137127
</html>

0 commit comments

Comments
 (0)