Skip to content

Commit

Permalink
Merge pull request #56 from UTDNebula/leadership-update
Browse files Browse the repository at this point in the history
Leadership update
  • Loading branch information
TyHil authored Jul 10, 2024
2 parents 021f084 + 1933836 commit 2b36e31
Show file tree
Hide file tree
Showing 13 changed files with 113 additions and 26 deletions.
Binary file added public/governance/axt220137.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/governance/ejb230002.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified public/governance/flh220002.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/governance/hxn200016.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/governance/jaz220003.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/governance/ksi230000.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/governance/tgh210002.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/governance/txr220020.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
29 changes: 15 additions & 14 deletions public/sitemap.xml
Original file line number Diff line number Diff line change
@@ -1,17 +1,18 @@
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:news="http://www.google.com/schemas/sitemap-news/0.9" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:mobile="http://www.google.com/schemas/sitemap-mobile/1.0" xmlns:image="http://www.google.com/schemas/sitemap-image/1.1" xmlns:video="http://www.google.com/schemas/sitemap-video/1.1">
<url><loc>https://www.utdnebula.com</loc><lastmod>2024-05-16T23:10:45.383Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://www.utdnebula.com/about/governance</loc><lastmod>2024-05-16T23:10:45.384Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://www.utdnebula.com/about/mission</loc><lastmod>2024-05-16T23:10:45.384Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://www.utdnebula.com/contact</loc><lastmod>2024-05-16T23:10:45.384Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://www.utdnebula.com/membership</loc><lastmod>2024-05-16T23:10:45.384Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://www.utdnebula.com/projects/api</loc><lastmod>2024-05-16T23:10:45.384Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://www.utdnebula.com/projects/jupiter</loc><lastmod>2024-05-16T23:10:45.384Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://www.utdnebula.com/projects/planner</loc><lastmod>2024-05-16T23:10:45.384Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://www.utdnebula.com/projects/skedge</loc><lastmod>2024-05-16T23:10:45.384Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://www.utdnebula.com/projects/trends</loc><lastmod>2024-05-16T23:10:45.384Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://www.utdnebula.com/resources/calendar</loc><lastmod>2024-05-16T23:10:45.384Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://www.utdnebula.com/resources/design-guide</loc><lastmod>2024-05-16T23:10:45.384Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://www.utdnebula.com/resources/meetings</loc><lastmod>2024-05-16T23:10:45.384Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://www.utdnebula.com/about/governance/2022-2023</loc><lastmod>2024-05-16T23:10:45.384Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://www.utdnebula.com</loc><lastmod>2024-07-10T13:43:06.223Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://www.utdnebula.com/about/governance</loc><lastmod>2024-07-10T13:43:06.223Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://www.utdnebula.com/about/mission</loc><lastmod>2024-07-10T13:43:06.223Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://www.utdnebula.com/contact</loc><lastmod>2024-07-10T13:43:06.223Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://www.utdnebula.com/membership</loc><lastmod>2024-07-10T13:43:06.223Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://www.utdnebula.com/projects/api</loc><lastmod>2024-07-10T13:43:06.223Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://www.utdnebula.com/projects/jupiter</loc><lastmod>2024-07-10T13:43:06.223Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://www.utdnebula.com/projects/planner</loc><lastmod>2024-07-10T13:43:06.223Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://www.utdnebula.com/projects/skedge</loc><lastmod>2024-07-10T13:43:06.223Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://www.utdnebula.com/projects/trends</loc><lastmod>2024-07-10T13:43:06.224Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://www.utdnebula.com/resources/calendar</loc><lastmod>2024-07-10T13:43:06.224Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://www.utdnebula.com/resources/design-guide</loc><lastmod>2024-07-10T13:43:06.224Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://www.utdnebula.com/resources/meetings</loc><lastmod>2024-07-10T13:43:06.224Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://www.utdnebula.com/about/governance/2022-2023</loc><lastmod>2024-07-10T13:43:06.224Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://www.utdnebula.com/about/governance/2023-2024</loc><lastmod>2024-07-10T13:43:06.224Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
</urlset>
24 changes: 14 additions & 10 deletions src/components/Governance.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,16 +35,20 @@ const LeadershipCard = (props: Person) => {
<h3 className="text-3xl font-bold text-center">{props.name}</h3>
<p className="text-2xl text-center">{props.role}</p>
<div className="flex gap-4">
<a href={`mailto:${props.netId}@utdallas.edu`} key={'email'} className="w-8 h-8 relative">
<Image src={Email} alt="Social link" fill />
</a>
<a
href={`https://www.linkedin.com/in/${props.linkedIn}/`}
key={'linkedIn'}
className="w-8 h-8 relative"
>
<Image src={LinkedIn} alt="Social link" fill />
</a>
{typeof props.netId !== 'undefined' && props.netId !== '' && (
<a href={`mailto:${props.netId}@utdallas.edu`} key={'email'} className="w-8 h-8 relative">
<Image src={Email} alt="Social link" fill />
</a>
)}
{typeof props.linkedIn !== 'undefined' && props.linkedIn !== '' && (
<a
href={`https://www.linkedin.com/in/${props.linkedIn}/`}
key={'linkedIn'}
className="w-8 h-8 relative"
>
<Image src={LinkedIn} alt="Social link" fill />
</a>
)}
</div>
</div>
);
Expand Down
27 changes: 27 additions & 0 deletions src/data/period-dictionary.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,33 @@ export type GoverancePeriod = {
};

export const periodToLeadershipMap = new Map<string, GoverancePeriod>([
[
'2024-2025',
{
Officers: {
President: 'flh220002',
'Vice President': 'tgh210002',
'Executive Director': '',
Secretary: 'hxn200016',
Treasurer: 'txr220020',
},
'Division Heads': {
'Head of Design': '',
'Head of Engineering': 'ksi230000',
'Head of Product': '',
'Head of Marketing': 'jaz220003',
},
'Project Leads': {
'Jupiter Lead': 'ejb230002',
'Trends & Skedge Lead': 'axt220137',
'API & Platform Lead': 'jjp210000',
'Planner Lead': '',
},
'Our Club Sponsor': {
'Professor and Club Sponsor': 'jxc064000',
},
},
],
[
'2023-2024',
{
Expand Down
57 changes: 56 additions & 1 deletion src/data/person-dictionary.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,65 @@ export interface Person {
netId?: string;
role?: string;
name: string;
linkedIn: string;
linkedIn?: string;
}

export const netIdToPersonMap = new Map<string, Person>([
[
'',
{
name: 'Vacant',
},
],
[
'tgh210002',
{
name: 'Tyler Hill',
linkedIn: 'tylergordonhill',
},
],
[
'hxn200016',
{
name: 'Halimah Nadzaku',
linkedIn: 'halimah-nadzaku-31aa281a9',
},
],
[
'txr220020',
{
name: 'Tejas Ramanujam',
linkedIn: 'tejas-ramanujam',
},
],
[
'ksi230000',
{
name: 'Kenneth Imphean',
linkedIn: 'kenneth-imphean',
},
],
[
'jaz220003',
{
name: 'Joel Zuniga',
linkedIn: 'joelzunigatx',
},
],
[
'ejb230002',
{
name: 'Ethan Bickel',
linkedIn: 'ethanjbickel',
},
],
[
'axt220137',
{
name: 'Abriham Tadepalli',
linkedIn: 'abhiram-tadepalli',
},
],
[
'cnl210000',
{
Expand Down
2 changes: 1 addition & 1 deletion src/lib/period-populator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export function getPopulatedPeriod(period: string) {

const populatedPeople = Object.keys(people).map((role) => {
const netId = people[role];
const personData: Person = netIdToPersonMap.get(netId)!;
const personData: Person = Object.assign({}, netIdToPersonMap.get(netId));
personData['netId'] = netId;
personData['role'] = role;

Expand Down

0 comments on commit 2b36e31

Please sign in to comment.