-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.js
36 lines (33 loc) · 1005 Bytes
/
index.js
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
import React, { useRef } from "react"
import Helmet from "react-helmet"
import "./styles.scss"
import {
Navbar,
Hero,
Timeline,
// Partners,
Footer
} from "../components"
import Prizes from "../components/Prizes"
const IndexPage = () => {
const sectionRef = useRef(null)
const scrollTo = () => sectionRef && sectionRef.current.scrollIntoView()
return (
<>
<Helmet defaultTitle="PCV Ideathon" titleTemplate="%s | PCV Ideathon">
<title defer={false}>Home</title>
<meta charSet="utf-8" />
<link rel="canonical" href="https://www.ideathon.pennclimateventures.org/home" />
<meta name="description" content="Collegiate climate startup pitch competition. Open to all students at Penn."/>
<meta name="date" content="MAR 12TH - APR 22ND"/>
</Helmet>
<Navbar />
<Hero scrollTo={scrollTo} />
<Timeline ref={sectionRef} />
<Prizes />
{/* <Partners /> */}
<Footer />
</>
)
}
export default IndexPage