-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add sponsors section to homepage (#284)
* Update stats * Add sponsors section * Run prettier * Reset linter changes to pass tslint
- Loading branch information
Showing
109 changed files
with
733 additions
and
801 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,29 @@ | ||
import { Construct } from "constructs"; | ||
import { App, Stack, Workflow } from "cdkactions"; | ||
import { DeployJob, ReactProject } from "@pennlabs/kraken"; | ||
import { Construct } from 'constructs' | ||
import { App, Stack, Workflow } from 'cdkactions' | ||
import { DeployJob, ReactProject } from '@pennlabs/kraken' | ||
|
||
export class WebsiteStack extends Stack { | ||
constructor(scope: Construct, name: string) { | ||
super(scope, name); | ||
super(scope, name) | ||
const workflow = new Workflow(this, 'build-and-deploy', { | ||
name: 'Build and Deploy', | ||
on: 'push', | ||
}); | ||
}) | ||
|
||
const websiteJob = new ReactProject(workflow, { | ||
imageName: 'website', | ||
}); | ||
}) | ||
|
||
new DeployJob(workflow, {}, { | ||
needs: [websiteJob.publishJobId] | ||
}); | ||
new DeployJob( | ||
workflow, | ||
{}, | ||
{ | ||
needs: [websiteJob.publishJobId], | ||
}, | ||
) | ||
} | ||
} | ||
|
||
const app = new App(); | ||
new WebsiteStack(app, 'website'); | ||
app.synth(); | ||
const app = new App() | ||
new WebsiteStack(app, 'website') | ||
app.synth() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -73,4 +73,4 @@ To solve these issues more quickly in the future, we should have better alerting | |
|
||
## Reach Out | ||
|
||
If any of this looks like it's up your alley or you wanna learn more about our mission, be sure to email us at [[email protected]](mailto:[email protected]) or [apply to be a part of Labs](https://pennlabs.org/apply)! We've got some fantastic teams working on interesting problems with a direct impact on campus. | ||
If any of this looks like it's up your alley or you wanna learn more about our mission, be sure to email us at [[email protected]](mailto:[email protected]) or [apply to be a part of Labs](https://pennlabs.org/apply)! We've got some fantastic teams working on interesting problems with a direct impact on campus. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,73 @@ | ||
import React from 'react' | ||
import { useStaticQuery, graphql } from 'gatsby' | ||
import Img from 'gatsby-image' | ||
|
||
import { | ||
H1, | ||
P, | ||
Container, | ||
Section, | ||
Row, | ||
Col, | ||
ParallaxWrapper, | ||
Fade, | ||
Blob2, | ||
} from '../../shared' | ||
import { M2 } from '../../constants/measurements' | ||
|
||
export const Sponsors = (): React.ReactElement => { | ||
const data = useStaticQuery(graphql` | ||
query { | ||
jane_street: file(relativePath: { eq: "sponsors/jane_street.png" }) { | ||
childImageSharp { | ||
fluid(maxWidth: 500, quality: 100) { | ||
...GatsbyImageSharpFluid | ||
} | ||
} | ||
} | ||
} | ||
`) | ||
|
||
const logos = [ | ||
{ | ||
fluid: data.jane_street.childImageSharp.fluid, | ||
alt: 'Jane Street', | ||
}, | ||
] | ||
|
||
return ( | ||
<Section> | ||
<Blob2 /> | ||
<Container> | ||
<ParallaxWrapper> | ||
<Fade delay={400}> | ||
<div> | ||
<H1>Sponsors</H1> | ||
<P> | ||
Sponsors help us keep our tools online and support our mission | ||
to improve the Penn community with open-source, student-built | ||
products. Reach out to us at [email protected] for more | ||
information on our sponsorship packages and prospectus. | ||
</P> | ||
</div> | ||
</Fade> | ||
<Fade delay={800}> | ||
<Row margin={M2}> | ||
{logos.map(({ fluid, alt }) => ( | ||
<Col sm={12} md={4} key={alt}> | ||
<div style={{ padding: '1rem', textAlign: 'center' }}> | ||
<Img | ||
fluid={fluid} | ||
alt={alt} | ||
style={{ maxWidth: '60%', height: 'auto' }} | ||
/> | ||
</div> | ||
</Col> | ||
))} | ||
</Row> | ||
</Fade> | ||
</ParallaxWrapper> | ||
</Container> | ||
</Section> | ||
) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,4 +16,3 @@ | |
"graduation_year": 2025, | ||
"job": null | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,4 +16,3 @@ | |
"graduation_year": 2025, | ||
"job": null | ||
} | ||
|
Oops, something went wrong.