Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
702 changes: 408 additions & 294 deletions package-lock.json

Large diffs are not rendered by default.

1,129 changes: 1,126 additions & 3 deletions src/Pages/Sponsors.jsx

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Write DRY code. This code is very repetitive and not scalable. I would suggest creating a helper function in a separate folder modules/ to read from a JSON file and generate the react component for all the sponsors. Such that in the future, if we want to create a page for 2026 sponsors, all we have to do is modify the JSON file. The JSON file would most likely be in it's own folder under Pages/ like configs/.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I just pushed a new set of commits to lay the groundwork for these changes. I incorporated .json files to store the source data for sponsors, electrical team members, and electrical team projects. The .jsx files now just read from these .json files using a simple mapping loop, resulting in cleaner files and more scalable code

Large diffs are not rendered by default.

Binary file added src/assets/sponsor-images/TI.png
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 src/assets/sponsor-images/advancedcircuits.png
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 src/assets/sponsor-images/altera.png
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 src/assets/sponsor-images/anodize.png
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 src/assets/sponsor-images/apple.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 src/assets/sponsor-images/cisco.png
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 src/assets/sponsor-images/cpi.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 src/assets/sponsor-images/dassault.png
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 src/assets/sponsor-images/deepsea.png
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 src/assets/sponsor-images/digikey.png
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 src/assets/sponsor-images/ece.png
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 src/assets/sponsor-images/gatoreng.png
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 src/assets/sponsor-images/harris.png
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 src/assets/sponsor-images/ids.png
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 src/assets/sponsor-images/ieee.png
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 src/assets/sponsor-images/jd.png
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 src/assets/sponsor-images/keysight.png
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 src/assets/sponsor-images/l3harris.png
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 src/assets/sponsor-images/lockheed.png
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 src/assets/sponsor-images/mae.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 src/assets/sponsor-images/nvidia.png
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 src/assets/sponsor-images/qualcomm.png
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 src/assets/sponsor-images/rockwell.png
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 src/assets/sponsor-images/seabotix.png
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 src/assets/sponsor-images/seacon.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 src/assets/sponsor-images/sensonor.png
Binary file added src/assets/sponsor-images/solidcam.jpg
Binary file added src/assets/sponsor-images/solidworks.png
Binary file added src/assets/sponsor-images/sylphase.png
Binary file added src/assets/sponsor-images/theia.png
Binary file added src/assets/sponsor-images/ufcoe.jpg
Binary file added src/assets/sponsor-images/urpro.jpg
Binary file added src/assets/sponsor-images/videoray.png
157 changes: 157 additions & 0 deletions src/styles/Sponsors.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,157 @@
#sponsors-section {

margin-top: 10%;

}

#sponsors-section select{

margin-left: 10px;

}

#sponsors-section img {

padding: 1rem;
width: 30%;
height: 150px;
background-color: white;
object-fit: contain;
border-radius: 10px;
overflow: hidden;
box-shadow: 0 4px 20px rgba(255,255,255,0.3);
transition: transform 0.2s ease, box-shadow 0.2s ease;

}

#sponsors-section img:hover {
transform: scale(1.05);
box-shadow: 0 6px 25px rgba(0, 191, 255, 0.2);
}

#patron-sponsors p {

color: #26f5a5;
font-weight: 600;
margin: 2rem 0 1rem;

}

#patron-sponsors span {

display: flex;
justify-content: center;
align-items: center;
gap: 2rem;
flex-wrap: wrap;

}

#diamond-sponsors p {

color: #00B3FF;
font-weight: 600;
margin: 2rem 0 1rem;

}

#diamond-sponsors span {

display: flex;
justify-content: center;
align-items: center;
gap: 2rem;
flex-wrap: wrap;
margin-bottom: 2rem;

}

#platinum-sponsors p {

color: #E5E4E2;
font-weight: 600;
margin: 2rem 0 1rem;

}

#platinum-sponsors span {

display: flex;
justify-content: center;
align-items: center;
gap: 2rem;
flex-wrap: wrap;
margin-bottom: 2rem;

}

#gold-sponsors p {

color: #FFD700;
font-weight: 600;
margin: 2rem 0 1rem;

}

#gold-sponsors span {

display: flex;
justify-content: center;
align-items: center;
gap: 2rem;
flex-wrap: wrap;
margin-bottom: 2rem;

}

#silver-sponsors p {

color: #C0C0C0;
font-weight: 600;
margin: 2rem 0 1rem;

}

#silver-sponsors span {

display: flex;
justify-content: center;
align-items: center;
gap: 2rem;
flex-wrap: wrap;
margin-bottom: 2rem;

}

#bronze-sponsors p {

color: #CD7F32;
font-weight: 600;
margin: 2rem 0 1rem;

}

#bronze-sponsors span {

display: flex;
justify-content: center;
align-items: center;
gap: 2rem;
flex-wrap: wrap;
margin-bottom: 2rem;

}

p {

padding-top: 10px;


}

#donation-section {

padding-top: 100px;


}