-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathabout.js
More file actions
105 lines (100 loc) · 3.55 KB
/
Copy pathabout.js
File metadata and controls
105 lines (100 loc) · 3.55 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
import * as React from 'react'
import { useStaticQuery, graphql } from 'gatsby'
import Footer from '../components/Footer'
import OrganizerCard from '../components/OrganizerCard'
import Navbar from '../components/Navbar'
import '../styles/about.css'
import landingImage from '../images/landing-image.png'
import timelineImage from '../images/timeline.png'
import mobileTimelineImage from '../images/mobile-timeline.png'
import organizers from '../organizers.json'
export function Head() {
return (
<>
<title>PennApps - The world's first college hackathon</title>
<link rel="stylesheet" href="https://use.typekit.net/tri7gwo.css" />
</>
)
}
export default function About() {
const imageData = useStaticQuery(graphql`
query {
allFile(filter: { relativeDirectory: { eq: "organizers" } }) {
nodes {
name
childImageSharp {
gatsbyImageData(
width: 200
height: 200
)
}
}
}
}
`)
const organizerImages = Object.fromEntries(
imageData.allFile.nodes.map(node => [node.name, node.childImageSharp.gatsbyImageData]),
)
return (
<div className="landing">
<Navbar />
{/* <div className="landing-info">
<div className="landing-info-text">Applications for PennAppsXXIV are open!</div>
<div className="landing-info-btn-container">
<a href="http://2023f.pennapps.com/">
<button className="landing-info-btn" type="button">GO TO SITE</button>
</a>
</div>
</div> */}
<div className="landing">
<img className="landing-img" src={landingImage} alt="Landing Header" />
</div>
<div className="landing-page-container">
<div className="about-pennapps">
<h3>About PennApps</h3>
<div>
Founded in the fall of 2009, PennApps was the nation’s first student-run college
hackathon. Since then, it has spurred a revolution in the way engineering students
develop and showcase their skills, spawning an entire “league” of hackathons across the
nation. In past years, over a thousand students from the U.S. and other countries like
Switzerland, Canada, England, and Singapore have converged in Philadelphia for the
spring and fall editions of the event for a weekend of creation and discovery. Both
beginners and experts alike will work together, learn and compete to become better
engineers and work on awesome projects.
</div>
</div>
{/* <div className="timeline">
<h3>Event Timeline</h3>
<div className="timeline-img-wrapper">
<picture>
<source
media="(min-width: 680px)"
srcSet={timelineImage}
/>
<img
src={mobileTimelineImage}
alt="Timeline Image"
className="timeline-img"
/>
</picture>
</div>
<p>Reach out to contact@pennapps.com if you have any questions!</p>
</div> */}
<div className="organizers">
<h3>Organizers</h3>
<div className="organizers-grid">
{organizers.map(organizer => (
<OrganizerCard
key={organizer.image}
name={organizer.name}
title={organizer.title}
image={organizerImages[organizer.image]}
/>
))}
</div>
</div>
</div>
<Footer />
</div>
)
}