Skip to content

Commit d3cb8c3

Browse files
committed
Added links to partners
1 parent d41609f commit d3cb8c3

1 file changed

Lines changed: 13 additions & 5 deletions

File tree

src/components/HomePage.jsx

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,15 +26,21 @@ import {
2626
import { builtApps, ideas } from 'Layout/data/Examples.jsx'
2727

2828
// Constants
29-
let sponsors = [
29+
let partners = [
3030
{
3131
image: aisoc,
32+
name: `UCL Artificial Intelligence Society`,
33+
link: `http://studentsunionucl.org/clubs-societies/artificial-intelligence-society`,
3234
},
3335
{
3436
image: techsoc,
37+
name: `UCL Technology Society`,
38+
link: `https://ucltechsoc.com/`,
3539
},
3640
{
3741
image: simplepoll,
42+
name: `Simple Poll`,
43+
link: `https://simplepoll.rocks/`,
3844
},
3945
]
4046
let categories = [
@@ -351,11 +357,13 @@ export default class HomePage extends React.Component {
351357
<Column width='1-1' horizontalAlignment="center">
352358
<TextView text="Partners" heading="1" style={ { paddingBottom : `0`} }/>
353359
{
354-
sponsors.map((sponsor, i) =>
360+
partners.map((partner, i) =>
355361

356-
<CardView width={"1-3"} minWidth="100px" maxWidth="100px" key={i} height="380px" style={{ padding: `20px 0`}} snapAlign noShadow>
357-
<Row height={`100px`} noPadding >
358-
<ImageView width={"100px"} height={"100px"} src={sponsor.image} />
362+
<CardView width={"1-3"} minWidth="300px" key={i} height="fit-content"
363+
style={{ padding: `20px 0`}} snapAlign link={partner.link}>
364+
<Row noPadding>
365+
<ImageView width={"100px"} height={"100px"} src={partner.image} />
366+
<TextView text={partner.name} heading={3} align={'center'} />
359367
</Row>
360368
</CardView>
361369

0 commit comments

Comments
 (0)