Skip to content

Commit d7a7ef8

Browse files
committed
Added sponsors page
1 parent eb9b81e commit d7a7ef8

File tree

12 files changed

+179
-6
lines changed

12 files changed

+179
-6
lines changed
Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
1+
import SponsorsPage from '@components/sponsors/SponsorsPage'
12
import React from 'react'
23

3-
export default function Robotics (): React.ReactElement {
4-
return (
5-
<div>
6-
Sponsors page
7-
</div>
8-
)
4+
export default function Sponsors (): React.ReactElement {
5+
return (<SponsorsPage/>)
96
}
Lines changed: 1 addition & 0 deletions
Loading
Lines changed: 1 addition & 0 deletions
Loading
10.5 KB
Loading
Lines changed: 54 additions & 0 deletions
Loading
Lines changed: 27 additions & 0 deletions
Loading
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
.container {
2+
height: 100%;
3+
position: relative;
4+
}
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
import Image, { StaticImageData } from 'next/image'
2+
import styles from './SponsorLogoSection.module.css'
3+
4+
import React from 'react'
5+
6+
const SponsorLogoSection = ({ image }: { image: StaticImageData }): React.ReactElement => {
7+
return (
8+
<div className={`flex-horizontal ${styles.container}`}>
9+
<Image src={image} alt='Sponsor logo'/>
10+
</div>
11+
)
12+
}
13+
14+
export default SponsorLogoSection
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
.container {
2+
height: 100%;
3+
gap: 8rem;
4+
}
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
import { Button } from '@mui/material'
2+
import styles from './SponsorsButtons.module.css'
3+
4+
import React from 'react'
5+
6+
const SponsorsButtons = (): React.ReactElement => {
7+
return (
8+
<div className={`flex-horizontal ${styles.container}`}>
9+
<Button
10+
href='https://forms.gle/pAfv3VBYJJXooiU38'
11+
target='_blank'
12+
rel='noreferrer'
13+
size='large'
14+
variant='outlined'>
15+
Become a sponsor
16+
</Button>
17+
<Button
18+
href='https://1drv.ms/b/s!Amh3vGkfvOw1c48kx0hFRCY6Hf4?e=OK65qr'
19+
target='_blank'
20+
rel='noreferrer'
21+
size='large'
22+
variant='outlined'>
23+
Sponsorship opportunities
24+
</Button>
25+
</div>
26+
)
27+
}
28+
29+
export default SponsorsButtons

0 commit comments

Comments
 (0)