Skip to content

Commit 973f151

Browse files
committed
2 parents 4d243ef + 36e92ff commit 973f151

7 files changed

Lines changed: 467 additions & 273 deletions

File tree

package-lock.json

Lines changed: 319 additions & 255 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

public/data/sponsors.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[
22
{
33
"name": "Altium",
4-
"logo": "altium.png",
4+
"logo": "altium.svg",
55
"website": "https://www.altium.com/",
66
"description": "Altium Discover enables engineers to discover and explore solutions that align with real project needs and requirements—from design fit to downstream impact.",
77
"tier": "gold",
@@ -11,13 +11,13 @@
1111
"name": "UBC Electrical and Computer Engineering",
1212
"logo": "ece.png",
1313
"website": "https://ece.ubc.ca/",
14-
"description": "UBC Electrical and Computer Engineering focuses on the development of computer systems. This encapsulates the ability to design complete systems that include hardware and software elements, focusing not just on how computers work, but how to integrate them into larger systems.",
14+
"description": "UBC ECE provides facilities, mentorship, and academic support that empower our electrical and software subteams to design and test cutting-edge autonomous systems.",
1515
"tier": "gold",
1616
"theme": "cyan"
1717
},
1818
{
1919
"name": "MatLab",
20-
"logo": "matlab.png",
20+
"logo": "matlab.svg",
2121
"website": "https://www.mathworks.com/products/matlab.html",
2222
"description": "MATLAB is a high-level data analysis and visualization environment that is specifically designed for engineering workflows. Its extended ecosystem allows engineers to design and develop workflows, turning ideas into innovative, advanced engineered systems.",
2323
"tier": "gold",
@@ -27,15 +27,15 @@
2727
"name": "UBC Applied Science",
2828
"logo": "ubc_apsc.jpg",
2929
"website": "https://apsc.ubc.ca/",
30-
"description": "UBC Applied Science comprises a unique constellation of disciplines. Our core purpose is to discover, design, innovate, provide unwavering top-tier education and champion a community of responsible professionals.",
30+
"description": "UBC Applied Science supports student engineering teams across disciplines, providing resources and a community for hands-on technical work.",
3131
"tier": "gold",
3232
"theme": "cyan"
3333
},
3434
{
3535
"name": "UBC Mechanical Engineering",
3636
"logo": "ubc_mech_eng.png",
3737
"website": "https://mech.ubc.ca/",
38-
"description": "UBC's official Mechanical Engineering department. Mechanical Engineers use the science of movement to continuously innovate and advance solutions to the problems we face in our daily lives.",
38+
"description": "UBC Mechanical Engineering gives our team access to fabrication facilities and expertise to bring physical designs to life.",
3939
"tier": "gold",
4040
"theme": "cyan"
4141
},
@@ -51,7 +51,7 @@
5151
"name": "UBC Integrated Engineering",
5252
"logo": "ubc_igen.png",
5353
"website": "https://www.integratedengineers.ca/",
54-
"description": "UBC Integrated Engineering (IGEN) is a program that provides a multidisciplinary education by developing a core competency in all aspects of engineering fundamentals.",
54+
"description": "UBC Integrated Engineering (IGEN) connects students across engineering domains, reflecting the same cross-disciplinary approach that defines Subbots.",
5555
"tier": "gold",
5656
"theme": "cyan"
5757
},

public/images/logos/altium.svg

Lines changed: 107 additions & 0 deletions
Loading

public/images/logos/matlab.svg

Lines changed: 1 addition & 0 deletions
Loading

src/components/SponsorCatalog/SponsorCatalog.css

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,12 @@
5050

5151

5252
img {
53-
width: 60%;
54-
height: min-content;
55-
object-fit: cover;
53+
width: 65%;
54+
height: 140px;
55+
object-fit: contain;
56+
padding: 12px;
57+
/* height: min-content;
58+
object-fit: cover; */
5659
}
5760

5861
.underline {

src/pages/Sponsors/Sponsors.css

Lines changed: 18 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -57,10 +57,11 @@
5757
aspect-ratio: 1 / 1;
5858
z-index: -1;
5959
color: var(--dark-green);
60-
opacity: 0.15;
60+
opacity: 0.12;
6161
transform-origin: center;
6262
left: -20%;
6363
top: -80%;
64+
6465
}
6566

6667
.divider {
@@ -70,15 +71,28 @@
7071
}
7172

7273
.content {
73-
display: grid;
74-
grid-template-columns: repeat(2, 1fr);
74+
/* display: grid;
75+
grid-template-columns: repeat(2, 1fr); */
7576

77+
display: grid;
78+
grid-template-columns: 1fr auto;
79+
align-items: center;
80+
gap: 48px;
7681

77-
button {
82+
a.button-primary {
7883
align-self: start;
7984
justify-self: start;
85+
width: fit-content !important;
86+
height: auto !important;
87+
padding: 14px 44px;
88+
font-size: 1.2rem;
89+
display: inline-flex;
90+
align-items: center;
91+
gap: 8px;
92+
aspect-ratio: unset !important;
8093
}
8194

95+
8296
> h4 {
8397
font-weight: 400;
8498
}

src/pages/Sponsors/Sponsors.tsx

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import SponsorCatalog from '../../components/SponsorCatalog/SponsorCatalog.tsx';
22

33
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
4-
import { faEnvelope } from '@fortawesome/free-solid-svg-icons';
4+
import { faArrowUpRightFromSquare } from '@fortawesome/free-solid-svg-icons';
55
import SubbotsLogo from '../../assets/icons/subbots.svg?react';
66

77
import './Sponsors.css';
@@ -41,10 +41,15 @@ function Sponsors() {
4141
<div className="divider" />
4242

4343
<div className="content">
44-
<button className="button-primary">
45-
Email Us
46-
<FontAwesomeIcon icon={faEnvelope} />
47-
</button>
44+
{/* <button className="button-primary">
45+
Make A Donation
46+
<FontAwesomeIcon icon={faArrowUpRightFromSquare} />
47+
</button> */}
48+
49+
<a href = "https://donate.give.ubc.ca/page/80953/donate/1?transaction.dirgift=UBC%20Subbots%20Design%20team%20G2561" target="_blank" rel="noopener noreferror" className="button-primary">
50+
Donate
51+
<FontAwesomeIcon icon={faArrowUpRightFromSquare} />
52+
</a>
4853

4954
<p className="content-text-large">
5055
Your contributions directly support design teams in BC.

0 commit comments

Comments
 (0)