Skip to content

Commit 57293b0

Browse files
committed
design updates for sleek look
1 parent 661c142 commit 57293b0

File tree

7 files changed

+59
-70
lines changed

7 files changed

+59
-70
lines changed

src/components/MLPurdueAbout.astro

Lines changed: 13 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@ import TeamMember from "./team/member.astro";
66

77
<br />
88

9-
<div class="px-5">
9+
<div>
1010
<ContentSection id="mlpurdue" title="ABOUT">
1111
<div
12-
class="flex w-screen items-center justify-center border-y-2 border-purple-500 py-10"
12+
class="flex w-screen border-y-[1px] border-purple-500 -mt-6 py-6"
1313
>
14-
<p class="max-w-[75%] text-center text-sm md:text-base">
14+
<p class="max-w-[75%] pl-8 text-sm">
1515
ML@Purdue is the central club for AI/ML career growth for Purdue
1616
students. We support careers in industry, research, and entrepreneurial
1717
ventures through projects and various events. The club also connects
@@ -21,63 +21,61 @@ import TeamMember from "./team/member.astro";
2121
</ContentSection>
2222
</div>
2323

24-
<Spacer y={100} />
24+
<Spacer y={150} />
2525
<ContentSection id="Executive" title="EXECUTIVE BRANCH">
2626
<div
27-
class="grid w-screen gap-y-16 gap-x-14 border-y-2 border-purple-500 px-10 py-20 md:grid-cols-2"
27+
class="grid w-screen gap-y-10 gap-x-6 border-y-[1px] -mt-6 border-purple-500 pl-4 pr-10 py-10 sm:grid-cols-2 lg:grid-cols-3"
2828
>
2929
<TeamMember
3030
title="Co-President"
3131
url="https://www.linkedin.com/in/arnav-gr0ver/"
32-
fullname="Arnav Grover"
32+
fullname="arnav grover"
3333
major="CS"
3434
year="Junior"
3535
/>
3636
<TeamMember
3737
title="Co-President"
3838
url="https://www.linkedin.com/in/lavangiyadava/"
39-
fullname="Lavangi Yadava"
39+
fullname="lavangi yadava"
4040
major="CS"
4141
year="Junior"
4242
/>
4343
<TeamMember
4444
title="Vice Co-President of Marketing"
4545
url="https://www.linkedin.com/in/bisti-potdar-0a0aa8244/"
46-
fullname="Bisti Potdar"
46+
fullname="bisti potdar"
4747
major="CS"
4848
year="Sophomore"
4949
/>
5050
<TeamMember
5151
title="Vice Co-President of Marketing"
5252
url="https://www.linkedin.com/in/nshriya/"
53-
fullname="Shriya Nichenametla"
53+
fullname="shriya nichenametla"
5454
major="CS & Web-Design"
5555
year="Sophomore"
5656
/>
5757
<TeamMember
5858
title="Head Project Advisor"
5959
url="https://www.linkedin.com/in/alexandre-sauquet/"
60-
fullname="Alexandre Sauquet"
60+
fullname="alexandre sauquet"
6161
major="CS & AI"
6262
year="Junior"
6363
/>
6464
<TeamMember
6565
title="Vice President of Operations"
6666
url="https://www.linkedin.com/in/shrung-patel/"
67-
fullname="Shrung Patel"
67+
fullname="shrung patel"
6868
major="CS & AI"
6969
year="Junior"
7070
/>
7171
<TeamMember
7272
title="Vice President of Finance"
7373
url="https://www.linkedin.com/in/aadipatel5/"
74-
fullname="Aadi Patel"
74+
fullname="aadi patel"
7575
major="Finance"
7676
year="Senior"
7777
/>
7878
</div>
7979
</ContentSection>
8080

81-
<Spacer y={96} />
82-
83-
<Spacer y={50} />
81+
<Spacer y={60} />

src/components/content-section.astro

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@ export interface Props {
77
const { title, id } = Astro.props;
88
---
99

10-
<section id={id} class="flex scroll-mt-24 flex-col items-center gap-4">
11-
<div class="flex flex-col items-center gap-4">
10+
<section id={id} class="flex scroll-mt-24 flex-col items-start gap-4">
11+
<div class="flex flex-col gap-4">
1212
<slot name="eyebrow" />
1313
<h2
1414
style="line-height: normal"
15-
class="orbitron mb-0 text-center tracking-tight text-white text-6xl"
15+
class="orbitron mb-0 ml-7 tracking-tight leading-tight text-white text-7xl"
1616
>
1717
{title}
1818
</h2>

src/components/header.astro

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -109,26 +109,26 @@ const { fixed } = Astro.props;
109109
<Icon pack="mdi" name="close" class="h-8" />
110110
</button>
111111
</header>
112-
<div class="flex justify-center items-center w-screen border-b-2 border-purple-500 pb-5">
112+
<div class="flex items-center justify-center -ml-3 w-screen pb-2">
113113
<a class="hover:!text-default" href="/">
114-
<img src={mlPurdueLogo.src} alt="Logo" class="h-[7rem]" />
114+
<img src={mlPurdueLogo.src} alt="Logo" class="h-[5rem]" />
115115
</a>
116-
<div class="mb-2 flex items-center justify-center lg:mb-0">
117-
<h1 class="orbitron text-center font-bold text-white text-6xl">ML</h1>
116+
<div class="flex items-center justify-center lg:mb-0">
117+
<h1 class="orbitron text-center font-bold text-white text-8xl">ML</h1>
118118
<h2
119-
class="orbitron -ml-4 mb-4 text-center text-white text-xl md:-ml-10 md:text-5xl"
119+
class="orbitron -ml-6 mb-4 text-center text-white text-3xl md:-ml-10 md:text-5xl"
120120
>
121121
@
122122
</h2>
123123
<h1
124-
class="orbitron ml-3 text-center font-semibold text-white text-4xl sm:ml-5"
124+
class="orbitron ml-3 text-center font-semibold text-white text-6xl sm:ml-5"
125125
>
126126
PURDUE
127127
</h1>
128128
</div>
129129
</div>
130130
<nav>
131-
<ul class="flex flex-col">
131+
<ul class="flex flex-col -mt-2 sm:mt-0">
132132
{
133133
navItems.map(({ title, url, sublinks }) => (
134134
<li>
@@ -144,8 +144,8 @@ const { fixed } = Astro.props;
144144
</div>
145145
</div>
146146
) : (
147-
<a class="block font-semibold text-lg" href={url}>
148-
<div class="flex w-screen items-center justify-center pb-3 border-b-2 mb-3 border-purple-500">
147+
<a class="flex text-base items-center justify-center" href={url}>
148+
<div class="flex orbitron w-[90vw] hover:text-purple-500 lowercase glass py-4 mb-3">
149149
{title}
150150
</div>
151151
</a>

src/components/intro.astro

Lines changed: 9 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,16 @@
11
---
22
import ContentSection from "~/components/content-section.astro";
3-
import Logo from "./logo.astro";
43
---
54

6-
<div class="glass py-10 sm:py-20">
5+
<div class="glass py-10 sm:py-20 flex items-center justify-center">
76
<ContentSection id="eventscalendar" title="EVENTS CALENDAR">
8-
<iframe
9-
id="events"
10-
style="width:75vw; height:65vh;filter:invert(0.9) saturate(2) hue-rotate(232deg)"
11-
src="https://calendar.google.com/calendar/u/0/embed?src=3951dbb2399906412eb63e032ca35716de8ccd8a871bfbfb89008309123454e0@group.calendar.google.com&ctz=America/Indiana/Indianapolis"
12-
></iframe>
7+
<div class="flex justify-center items-center w-full">
8+
<iframe
9+
id="events"
10+
class="w-[75vw] h-[65vh]"
11+
style="filter: invert(0.9) saturate(2) hue-rotate(232deg);"
12+
src="https://calendar.google.com/calendar/u/0/embed?src=3951dbb2399906412eb63e032ca35716de8ccd8a871bfbfb89008309123454e0@group.calendar.google.com&ctz=America/Indiana/Indianapolis"
13+
></iframe>
14+
</div>
1315
</ContentSection>
1416
</div>
15-
16-
<style>
17-
div[data-achievements] section :not(h1) {
18-
@apply ml-2 sm:ml-0;
19-
}
20-
</style>

src/components/team/member.astro

Lines changed: 6 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ const sp = { [n]: title };
1414
---
1515

1616
<div {...sp}>
17-
<div class="flex w-full flex-col text-center">
18-
<h2 class="font-semibold tracking-tight text-white text-2xl">
17+
<div class="leading-tight flex glass flex-col w-full m:w-[45vw] lg:w-[29vw] px-5 xl:px-0 py-5 text-center">
18+
<h2 class="orbitron tracking-tight text-white text-xl">
1919
<span>{fullname}</span>
2020
</h2>
2121
<span class="capitalize text-lg">
@@ -24,7 +24,7 @@ const sp = { [n]: title };
2424
<a
2525
href={url}
2626
target="_blank"
27-
class="m-2 inline-block rounded-full bg-purple-900 py-2 px-5 font-semibold capitalize text-sm hover:bg-purple-200"
27+
class="m-2 inline-block rounded-md bg-purple-900 my-2 py-1 px-5 capitalize text-sm hover:bg-purple-100"
2828
>
2929
{title}
3030
</a>
@@ -35,14 +35,9 @@ const sp = { [n]: title };
3535
)
3636
}
3737
</span>
38-
<div class="flex items-center justify-center gap-2">
39-
<span class="text-md capitalize">
40-
Major: {major}
41-
</span>
42-
<div class="h-5 border-l-2 border-dotted border-purple-400"></div>
43-
<span class="text-md capitalize">
44-
Grade: {year}
45-
</span>
38+
<div class="flex flex-col w-full text-sm capitalize px-16">
39+
<span class="self-start">Major: {major}</span>
40+
<span class="self-end">Grade: {year}</span>
4641
</div>
4742
</div>
4843
<p class="max-w-xl text-center font-extrabold text-2xl">

src/pages/about.astro

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,11 @@ const description = "ML@Purdue Website";
3030
class="h-full overflow-x-hidden bg-default text-default text-base selection:bg-secondary selection:text-white"
3131
>
3232
<Header fixed />
33-
<article class="mx-auto mt-20 w-[90vw] max-w-[80ch]">
33+
<article class="mt-20 w-[90vw] max-w-[80ch]">
3434
<MLPurdueAbout />
3535
</article>
3636
<div
37-
class="mx-10 flex flex-col items-center justify-center gap-[5px] md:flex-row md:items-start md:gap-12"
37+
class="flex flex-col items-center justify-center gap-[5px] md:flex-row md:items-start md:gap-12"
3838
>
3939
<div
4040
class="mt-20 -mb-20 flex flex-col items-center text-left md:mb-0 md:items-start"

src/pages/sponsor.astro

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -38,12 +38,12 @@ const description = "ML@Purdue Sponsorship";
3838
>
3939
<Header fixed />
4040
<br />
41-
<article class="mx-auto py-10 px-5 mt-11 w-[90vw] max-w-[80ch]">
41+
<article class="pt-10 mt-11 w-[90vw] max-w-[80ch]">
4242
<ContentSection id="sponsors-title" title="SPONSORS">
4343
<div
44-
class="flex w-screen items-center justify-center border-y-2 border-purple-500 py-10"
44+
class="flex w-screen border-y-[1px] -mt-6 border-purple-500 pl-8 py-6"
4545
>
46-
<p class="max-w-[75%] text-center text-sm md:text-base">
46+
<p class="max-w-[75%] text-start text-sm">
4747
We thank all of our sponsors for supporting us and helping us achieve
4848
our mission! To learn more about who we are, our mission, and our
4949
sponsorship tiers, please view our <u
@@ -53,49 +53,49 @@ const description = "ML@Purdue Sponsorship";
5353
</p>
5454
</div>
5555

56-
<div class="flex w-screen border-b-2 border-purple-500 h-[32vh]">
57-
<div class="flex flex-col justify-between items-end border-r-2 h-[34vh] w-[26vw] -mt-4 text-right border-purple-500 p-4">
56+
<div class="flex w-screen border-b-[1px] border-purple-500 h-[32vh]">
57+
<div class="flex flex-col justify-between items-end border-r-[1px] h-[34vh] w-[26vw] -mt-4 text-right border-purple-500 p-4">
5858
<h1 class="sponsor-t4 orbitron text-xl">
5959
TIER <span class="font-bold text-4xl">4</span>
6060
</h1>
61-
<h2 class="sponsor-t4 font-semibold leading-tight mb-2">ML@P Maestro</h2>
61+
<h2 class="sponsor-t4 text-sm font-semibold leading-tight mb-2">ML@P Maestro</h2>
6262
</div>
6363
<img
6464
src={dagshub.src}
6565
alt="DagsHub"
66-
class="max-w-[35vw] pl-10 rounded-md object-contain"
66+
class="max-w-[35vw] pl-4 md:pl-10 rounded-md object-contain"
6767
/>
6868
<img
6969
src={uniformsierra.src}
7070
alt="Uniform Sierra"
71-
class="max-w-[35vw] -mr-13 rounded-md object-contain"
71+
class="max-w-[35vw] -mr-11 rounded-md object-contain"
7272
/>
7373
</div>
7474

75-
<div class="flex w-screen border-b-2 border-purple-500 h-[32vh]">
76-
<div class="flex flex-col justify-between items-end border-r-2 h-[34vh] w-[26vw] -mt-4 text-right border-purple-500 p-4">
75+
<div class="flex w-screen border-b-[1px] border-purple-500 h-[32vh]">
76+
<div class="flex flex-col justify-between items-end border-r-[1px] h-[34vh] w-[26vw] -mt-4 text-right border-purple-500 p-4">
7777
<h1 class="sponsor-t3 orbitron text-xl">
7878
TIER <span class="font-bold text-4xl">3</span>
7979
</h1>
80-
<h2 class="sponsor-t3 font-semibold leading-tight mb-2">Neural Network Ninja</h2>
80+
<h2 class="sponsor-t3 text-sm font-semibold leading-tight mb-2">Neural Network Ninja</h2>
8181
</div>
8282
</div>
8383

84-
<div class="flex w-screen border-b-2 border-purple-500 h-[32vh]">
85-
<div class="flex flex-col justify-between items-end border-r-2 h-[34vh] w-[26vw] -mt-4 text-right border-purple-500 p-4">
84+
<div class="flex w-screen border-b-[1px] border-purple-500 h-[32vh]">
85+
<div class="flex flex-col justify-between items-end border-r-[1px] h-[34vh] w-[26vw] -mt-4 text-right border-purple-500 p-4">
8686
<h1 class="sponsor-t2 orbitron text-xl">
8787
TIER <span class="font-bold text-4xl">2</span>
8888
</h1>
89-
<h2 class="sponsor-t2 font-semibold leading-tight mb-2">SVM Sorcerer</h2>
89+
<h2 class="sponsor-t2 text-sm font-semibold leading-tight mb-2">SVM Sorcerer</h2>
9090
</div>
9191
</div>
9292

93-
<div class="flex w-screen border-b-2 border-purple-500 h-[32vh]">
94-
<div class="flex flex-col justify-between items-end border-r-2 h-[34vh] w-[26vw] -mt-4 text-right border-purple-500 p-4">
93+
<div class="flex w-screen border-b-[1px] border-purple-500 h-[32vh]">
94+
<div class="flex flex-col justify-between items-end border-r-[1px] h-[34vh] w-[26vw] -mt-4 text-right border-purple-500 p-4">
9595
<h1 class="sponsor-t1 orbitron text-xl">
9696
TIER <span class="font-bold text-4xl">1</span>
9797
</h1>
98-
<h2 class="sponsor-t1 font-semibold leading-tight mb-2">Perceptron Pro</h2>
98+
<h2 class="sponsor-t1 text-sm font-semibold leading-tight mb-2">Perceptron Pro</h2>
9999
</div>
100100
<img
101101
src={janestreet.src}

0 commit comments

Comments
 (0)