Skip to content

Commit

Permalink
Merge pull request #20 from blackinai/neurips23
Browse files Browse the repository at this point in the history
Update sponsors list
  • Loading branch information
mirianfsilva committed Oct 27, 2023
2 parents a502625 + fe69ba7 commit b1bafa8
Show file tree
Hide file tree
Showing 12 changed files with 116 additions and 155 deletions.
Binary file added src/assets/img/sponsors-partners/duolingo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
18 changes: 1 addition & 17 deletions src/components/AdvertisingBar/index.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
import { Button, Container, Link } from "@material-ui/core/";
import { Container, Link } from "@material-ui/core/";
import Grid from "@material-ui/core/Grid";
import { withStyles } from "@material-ui/core/styles";
import React from "react";
Expand Down Expand Up @@ -48,22 +48,6 @@ const styles = (theme) => ({
},
});

const ColorButton = withStyles((theme) => ({
root: {
color: theme.palette.getContrastText(theme.palette.primary.dark),
backgroundColor: theme.palette.primary.dark,
"&:hover": {
backgroundColor: theme.palette.primary.dark,
},
},
secundary: {
color: theme.palette.getContrastText(theme.palette.primary.light),
backgroundColor: theme.palette.primary.dark,
"&:hover": {
backgroundColor: theme.palette.primary.dark,
},
},
}))(Button);

function AdvertisingBar(props) {
const { classes } = props;
Expand Down
17 changes: 0 additions & 17 deletions src/components/JoinUs/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,23 +40,6 @@ const styles = (theme) => ({
}
});

const ColorButton = withStyles((theme) => ({
root: {
color: theme.palette.getContrastText(theme.palette.primary.dark),
backgroundColor: theme.palette.primary.dark,
'&:hover': {
backgroundColor: theme.palette.primary.dark,
},
},
secundary: {
color: theme.palette.getContrastText(theme.palette.primary.light),
backgroundColor: theme.palette.primary.light,
'&:hover': {
backgroundColor: theme.palette.primary.light,
},
},
}))(Button);

const JoinUsButton = withStyles((theme) => ({
root: {
color: theme.palette.getContrastText(theme.palette.primary.light),
Expand Down
115 changes: 49 additions & 66 deletions src/components/Sponsors/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,73 +40,51 @@ const styles = (theme) => ({
avatarSize: {
height: theme.spacing(8),
},
duolingoAvatarSize: {
height: theme.spacing(10),
},
});

// Ruby -> Diamond -> Platinum -> Gold -> Silver -> Bronze -> Thank You
const sponsorslist = {
Ruby: [
{
title: 'Microsoft',
image: require('./../../assets/img/sponsors-partners/microsoft.png'),
link: 'https://www.microsoft.com/',
alt: 'Microsoft Ruby Sponsor',
},
Ruby: [],
Diamond: [],
Platinum: [
{
title: 'Meta',
image: require('./../../assets/img/sponsors-partners/meta.png'),
link: 'https://www.meta.com/',
alt: 'Meta Ruby Sponsor',
},
title: 'Deepmind',
image: require('./../../assets/img/sponsors-partners/deepmind.png'),
link: 'https://www.upstart.com/',
alt: 'Deepmind Platinum Sponsor & Corporate Sponsor for Equity',
}
],
Diamond: [
Gold: [
{
title: 'Apple',
image: require('./../../assets/img/sponsors-partners/apple.png'),
link: 'https://www.apple.com/',
alt: 'Apple Diamond Sponsor',
},
{
title: 'NVIDIA',
image: require('./../../assets/img/sponsors-partners/nvidia.png'),
link: 'https://www.nvidia.com/en-us/',
alt: 'NVIDIA Diamond Sponsor',
},
{
title: 'Accenture',
image: require('./../../assets/img/sponsors-partners/accenture.png'),
link: 'https://www.accenture.com/us-en',
alt: 'Accenture Diamond Sponsor',
alt: 'Apple Gold Sponsor',
},
],
Platinum: [
{
title: 'IBM',
image: require('./../../assets/img/sponsors-partners/ibm.png'),
link: 'https://www.ibm.com/',
alt: 'IBM Platinum Sponsor'
alt: 'IBM Gold Sponsor'
},
{
title: 'D. E. Shaw Research',
image: require('./../../assets/img/sponsors-partners/deshaw.jpg'),
link: 'https://www.deshaw.com/',
alt: 'D. E. Shaw Research Platinum Sponsor',
}
],
Gold: [
],
Silver: [
{
title: 'Oracle',
image: require('./../../assets/img/sponsors-partners/oracle.png'),
link: 'https://www.oracle.com/corporate/',
alt: 'Oracle logo',
title: "Vector Institute",
image: require('./../../assets/img/sponsors-partners/vectorInstitute.png'),
link: "https://vectorinstitute.ai/",
alt: "Vector Institute Silver Sponsor"
}],
Bronze: [
{
title: 'Upstart',
image: require('./../../assets/img/sponsors-partners/upstart.png'),
link: 'https://www.upstart.com/',
alt: 'Upstart Bronze Sponsor',
}],
title: "Duolingo",
image: require('./../../assets/img/sponsors-partners/duolingo.png'),
link: "https://www.duolingo.com/",
alt: "Duolingo Bronze Sponsor"
},
],
};


Expand All @@ -119,29 +97,29 @@ function Sponsors(props) {
<Grid container spacing={12}>
<Grid item xs={12}>
<Typography variant="h3" marked="center" align="center" component="h2" className={classes.title}>
Current Sponsors
2023 Sponsors
</Typography>
</Grid>
<Grid item xs={12}>
<Typography variant="h4" marked="center" align="center" component="h2" className={classes.title}>
{/* <Grid item xs={12}>
<Typography variant="h4" align="center" component="h2" className={classes.title}>
Ruby
</Typography>
</Grid>
{sponsorslist.Ruby.map(key => (
</Grid> */}
{/* {sponsorslist.Ruby.map(key => (
<Grid item xs align="center">
<div className={classes.item}>
<Link href={key.link}>
<img alt={key.title} src={key.image} className={classes.avatarSize} />
</Link>
</div>
</Grid>
))}
<Grid item xs={12}>
<Typography variant="h4" marked="center" align="center" component="h2" className={classes.title}>
))} */}
{/* <Grid item xs={12}>
<Typography variant="h4" align="center" component="h2" className={classes.title}>
Diamond
</Typography>
</Grid>
{sponsorslist.Diamond.map(key => (
</Grid> */}
{/* {sponsorslist.Diamond.map(key => (
<Grid item xs align="center">
<div className={classes.item}>
<Link href={key.link}>
Expand All @@ -150,9 +128,9 @@ function Sponsors(props) {
<br></br>
</div>
</Grid>
))}
))} */}
<Grid item xs={12}>
<Typography variant="h4" marked="center" align="center" component="h2" className={classes.title}>
<Typography variant="h4" align="center" component="h2" className={classes.title}>
Platinum
</Typography>
</Grid>
Expand All @@ -166,19 +144,24 @@ function Sponsors(props) {
</Grid>
))}
<Grid item xs={12}>
<Typography variant="h4" marked="center" align="center" component="h2" className={classes.title}>
Silver
<Typography variant="h4" align="center" component="h2" className={classes.title}>
Gold
</Typography>
</Grid>
{/* {sponsorslist.Gold.map(key => (
<Grid item xs={12} md={3}>
{sponsorslist.Gold.map(key => (
<Grid item md align="center">
<div className={classes.item}>
<Link href={key.link}>
<img alt={key.title} src={key.image} className={classes.avatarSize} />
</Link>
</div>
</Grid>
))} */}
))}
<Grid item xs={12}>
<Typography variant="h4" align="center" component="h2" className={classes.title}>
Silver
</Typography>
</Grid>
{sponsorslist.Silver.map(key => (
<Grid item xs align="center">
<div className={classes.item}>
Expand All @@ -189,15 +172,15 @@ function Sponsors(props) {
</Grid>
))}
<Grid item xs={12}>
<Typography variant="h4" marked="center" align="center" component="h2" className={classes.title}>
<Typography variant="h4" align="center" component="h2" className={classes.title}>
Bronze
</Typography>
</Grid>
{sponsorslist.Bronze.map(key => (
<Grid item xs align="center">
<div className={classes.item}>
<Link href={key.link}>
<img alt={key.title} src={key.image} className={classes.avatarSize} />
<img alt={key.title} src={key.image} className={classes.duolingoAvatarSize} />
</Link>
</div>
</Grid>
Expand Down
96 changes: 55 additions & 41 deletions src/components/SponsorsHome/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,64 +41,44 @@ const styles = (theme) => ({
height: theme.spacing(8),
},
});
// Ruby -> Diamond -> Platinum -> Gold -> Silver -> Bronze -> Thank You

const sponsorslist = [
{
title: 'Microsoft',
image: require('./../../assets/img/sponsors-partners/microsoft.png'),
link: 'https://www.microsoft.com/',
alt: 'Microsoft Ruby Sponsor',
},
{
title: 'Meta',
image: require('./../../assets/img/sponsors-partners/meta.png'),
link: 'https://www.meta.com/',
alt: 'Meta Ruby Sponsor',
},
{
title: 'Apple',
image: require('./../../assets/img/sponsors-partners/apple.png'),
link: 'https://www.apple.com/',
alt: 'Apple Diamond Sponsor',
},
{
title: 'NVIDIA',
image: require('./../../assets/img/sponsors-partners/nvidia.png'),
link: 'https://www.nvidia.com/en-us/',
alt: 'NVIDIA Diamond Sponsor',
},
{
title: 'Accenture',
image: require('./../../assets/img/sponsors-partners/accenture.png'),
link: 'https://www.accenture.com/us-en',
alt: 'Accenture Diamond Sponsor',
alt: 'Apple Gold Sponsor',
},
{
title: 'IBM',
image: require('./../../assets/img/sponsors-partners/ibm.png'),
link: 'https://www.ibm.com/',
alt: 'IBM Platinum Sponsor'
alt: 'IBM Gold Sponsor'
},
{
title: 'D. E. Shaw Research',
image: require('./../../assets/img/sponsors-partners/deshaw.jpg'),
link: 'https://www.deshaw.com/',
alt: 'D. E. Shaw Research Platinum Sponsor',
title: "Duolingo",
image: require('./../../assets/img/sponsors-partners/duolingo.png'),
link: "https://www.duolingo.com/",
alt: "Duolingo Bronze Sponsor"
},
{
title: 'Oracle',
image: require('./../../assets/img/sponsors-partners/oracle.png'),
link: 'https://www.oracle.com/corporate/',
alt: 'Oracle logo',
},
{
title: 'Upstart',
image: require('./../../assets/img/sponsors-partners/upstart.png'),
link: 'https://www.upstart.com/',
alt: 'Upstart Bronze Sponsor',
title: "Vector Institute",
image: require('./../../assets/img/sponsors-partners/vectorInstitute.png'),
link: "https://vectorinstitute.ai/",
alt: "Vector Institute Silver Sponsor"
}
]

const CorporateSponsorsforEquity = [
{
title: 'Deepmind',
image: require('./../../assets/img/sponsors-partners/deepmind.png'),
link: 'https://www.upstart.com/',
alt: 'Deepmind Platinum Sponsor & Corporate Sponsor for Equity',
}
]


function SponsorsHome(props) {
const { classes } = props;
Expand All @@ -109,7 +89,7 @@ function SponsorsHome(props) {
<Grid container spacing={12}>
<Grid item xs={12}>
<Typography variant="h3" marked="center" align="center" component="h2" className={classes.title}>
Current Sponsors
2023 Current Sponsors
</Typography>
</Grid>
{sponsorslist.map(key => (
Expand All @@ -121,8 +101,42 @@ function SponsorsHome(props) {
</div>
</Grid>
))}
<Grid item xs={12}>
<Typography variant="h4" align="center" component="h3" className={classes.title}>
Corporate Sponsors for Equity
</Typography>
{CorporateSponsorsforEquity.map(key => (
<Grid item xs align="center">
<div className={classes.item}>
<Link href={key.link}>
<img alt={key.title} src={key.image} className={classes.avatarSize} />
</Link>
<br></br>
</div>
</Grid>
))}
</Grid>
</Grid>
</Container>

{/* <Container>
<Grid container spacing={12}>
<Grid item xs={12}>
<Typography variant="h3" marked="center" align="center" component="h2" className={classes.title}>
Corporate Sponsors for Equity
</Typography>
</Grid>
{CorporateSponsorsforEquity.map(key => (
<Grid item xs align="center">
<div className={classes.item}>
<Link href={key.link}>
<img alt={key.title} src={key.image} className={classes.avatarSize} />
</Link>
</div>
</Grid>
))}
</Grid>
</Container> */}
</section>
);
}
Expand Down
Loading

0 comments on commit b1bafa8

Please sign in to comment.