@@ -3,7 +3,7 @@ import styled from "@emotion/styled";
3
3
import { Flex , Grid , Image } from "@chakra-ui/core" ;
4
4
import { LocationHashEnum } from "@/src/enums" ;
5
5
import { WidthWrapper } from "@/components/core/Layout" ;
6
- import { BodyPrimary , Headline , HeadlinePrimary } from "@/components/core/Text" ;
6
+ import { BodyPrimary , HeadlinePrimary } from "@/components/core/Text" ;
7
7
8
8
const imgPath = "/images" ;
9
9
@@ -16,7 +16,8 @@ const SponsorImage = styled(Image)`
16
16
const wideGrid = [
17
17
`. rbc rbc rbc rbc .` ,
18
18
`. kinaxis kinaxis morgan morgan .` ,
19
- `. amazon amazon ssense ssense .` ,
19
+ `. genetec genetec unity unity .` ,
20
+ `amazon amazon ssense ssense nokia nokia` ,
20
21
`. fellow fellow balsamiq balsamiq .` ,
21
22
`. voiceflow one-pass one-pass egghead .` ,
22
23
]
@@ -27,14 +28,29 @@ const thinGrid = [
27
28
`rbc rbc rbc` ,
28
29
`kinaxis kinaxis kinaxis` ,
29
30
`morgan morgan morgan` ,
31
+ `genetec genetec genetec` ,
32
+ `unity unity unity` ,
30
33
`amazon . ssense` ,
34
+ `. nokia .` ,
31
35
`fellow . balsamiq` ,
32
36
`voiceflow . one-pass` ,
33
37
`. egghead .` ,
34
38
]
35
39
. map ( ( row ) => `"${ row } "` )
36
40
. join ( " " ) ;
37
41
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
+
38
54
export default function Sponsors ( ) : ReactElement {
39
55
return (
40
56
< div id = { LocationHashEnum . Sponsors } >
@@ -76,6 +92,16 @@ export default function Sponsors(): ReactElement {
76
92
gridArea = "morgan"
77
93
width = { [ "50%" , "50%" , "80%" ] }
78
94
/>
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
+ />
79
105
< SponsorImage
80
106
src = { `${ imgPath } /Amazon_logo.svg` }
81
107
gridArea = "amazon"
@@ -88,6 +114,12 @@ export default function Sponsors(): ReactElement {
88
114
width = { [ "80%" , "80%" , "45%" ] }
89
115
minWidth = "100px"
90
116
/>
117
+ < SponsorImage
118
+ src = { `${ imgPath } /nokia.svg` }
119
+ gridArea = "nokia"
120
+ width = { [ "80%" , "80%" , "45%" ] }
121
+ minWidth = "100px"
122
+ />
91
123
< SponsorImage
92
124
src = { `${ imgPath } /fellow-wordmark.svg` }
93
125
gridArea = "fellow"
@@ -119,9 +151,49 @@ export default function Sponsors(): ReactElement {
119
151
minWidth = "72px"
120
152
/>
121
153
</ 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 >
125
197
</ Flex >
126
198
</ WidthWrapper >
127
199
</ div >
0 commit comments