Skip to content

Commit 1d21599

Browse files
authored
Merge pull request #90 from cusec/feat/university-sponsors
feat: University, Nokia, Genetec, Unity sponsor logos
2 parents 3a71da9 + 6d3c36b commit 1d21599

File tree

11 files changed

+20726
-24
lines changed

11 files changed

+20726
-24
lines changed

components/sections/Sponsors.tsx

+77-5
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import styled from "@emotion/styled";
33
import { Flex, Grid, Image } from "@chakra-ui/core";
44
import { LocationHashEnum } from "@/src/enums";
55
import { WidthWrapper } from "@/components/core/Layout";
6-
import { BodyPrimary, Headline, HeadlinePrimary } from "@/components/core/Text";
6+
import { BodyPrimary, HeadlinePrimary } from "@/components/core/Text";
77

88
const imgPath = "/images";
99

@@ -16,7 +16,8 @@ const SponsorImage = styled(Image)`
1616
const wideGrid = [
1717
`. rbc rbc rbc rbc .`,
1818
`. kinaxis kinaxis morgan morgan .`,
19-
`. amazon amazon ssense ssense .`,
19+
`. genetec genetec unity unity .`,
20+
`amazon amazon ssense ssense nokia nokia`,
2021
`. fellow fellow balsamiq balsamiq .`,
2122
`. voiceflow one-pass one-pass egghead .`,
2223
]
@@ -27,14 +28,29 @@ const thinGrid = [
2728
`rbc rbc rbc`,
2829
`kinaxis kinaxis kinaxis`,
2930
`morgan morgan morgan`,
31+
`genetec genetec genetec`,
32+
`unity unity unity`,
3033
`amazon . ssense`,
34+
`. nokia .`,
3135
`fellow . balsamiq`,
3236
`voiceflow . one-pass`,
3337
`. egghead .`,
3438
]
3539
.map((row) => `"${row}"`)
3640
.join(" ");
3741

42+
const wideSchoolGrid = [`calgary carleton toronto uottawa waterloo`]
43+
.map((row) => `"${row}"`)
44+
.join(" ");
45+
46+
const thinSchoolGrid = [
47+
`calgary . carleton`,
48+
`toronto . uottawa`,
49+
`. waterloo.`,
50+
]
51+
.map((row) => `"${row}"`)
52+
.join(" ");
53+
3854
export default function Sponsors(): ReactElement {
3955
return (
4056
<div id={LocationHashEnum.Sponsors}>
@@ -76,6 +92,16 @@ export default function Sponsors(): ReactElement {
7692
gridArea="morgan"
7793
width={["50%", "50%", "80%"]}
7894
/>
95+
<SponsorImage
96+
src={`${imgPath}/genetec.svg`}
97+
gridArea="genetec"
98+
width={["50%", "50%", "80%"]}
99+
/>
100+
<SponsorImage
101+
src={`${imgPath}/unity.svg`}
102+
gridArea="unity"
103+
width={["50%", "50%", "80%"]}
104+
/>
79105
<SponsorImage
80106
src={`${imgPath}/Amazon_logo.svg`}
81107
gridArea="amazon"
@@ -88,6 +114,12 @@ export default function Sponsors(): ReactElement {
88114
width={["80%", "80%", "45%"]}
89115
minWidth="100px"
90116
/>
117+
<SponsorImage
118+
src={`${imgPath}/nokia.svg`}
119+
gridArea="nokia"
120+
width={["80%", "80%", "45%"]}
121+
minWidth="100px"
122+
/>
91123
<SponsorImage
92124
src={`${imgPath}/fellow-wordmark.svg`}
93125
gridArea="fellow"
@@ -119,9 +151,49 @@ export default function Sponsors(): ReactElement {
119151
minWidth="72px"
120152
/>
121153
</Grid>
122-
<Headline marginTop="0.6in" marginBottom="1in">
123-
Stay tuned for more!
124-
</Headline>
154+
<Grid
155+
width="100%"
156+
gridTemplateColumns={[
157+
"repeat(3, 1fr)",
158+
"repeat(3, 1fr)",
159+
"repeat(5, 1fr)",
160+
]}
161+
gridTemplateAreas={[thinSchoolGrid, thinSchoolGrid, wideSchoolGrid]}
162+
justifyItems="center"
163+
alignItems="center"
164+
marginBottom="1in"
165+
>
166+
<SponsorImage
167+
src={`${imgPath}/universities/calgary.svg`}
168+
gridArea="calgary"
169+
width={["60%", "60%", "25%"]}
170+
minWidth="72px"
171+
/>
172+
<SponsorImage
173+
src={`${imgPath}/universities/carleton.svg`}
174+
gridArea="carleton"
175+
width={["60%", "60%", "25%"]}
176+
minWidth="72px"
177+
/>
178+
<SponsorImage
179+
src={`${imgPath}/universities/toronto.svg`}
180+
gridArea="toronto"
181+
width={["60%", "60%", "25%"]}
182+
minWidth="72px"
183+
/>
184+
<SponsorImage
185+
src={`${imgPath}/universities/uottawa.svg`}
186+
gridArea="uottawa"
187+
width={["60%", "60%", "25%"]}
188+
minWidth="72px"
189+
/>
190+
<SponsorImage
191+
src={`${imgPath}/universities/waterloo.svg`}
192+
gridArea="waterloo"
193+
width={["60%", "60%", "25%"]}
194+
minWidth="72px"
195+
/>
196+
</Grid>
125197
</Flex>
126198
</WidthWrapper>
127199
</div>

0 commit comments

Comments
 (0)