-
-
Notifications
You must be signed in to change notification settings - Fork 229
/
Copy pathFeedbackPage.tsx
30 lines (29 loc) · 1.07 KB
/
FeedbackPage.tsx
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
import { Component } from "react"
import { Head } from "./Head.js"
import { SiteHeader } from "./SiteHeader.js"
import { SiteFooter } from "./SiteFooter.js"
import { FeedbackForm } from "../site/Feedback.js"
import { Html } from "./Html.js"
export class FeedbackPage extends Component<{ baseUrl: string }> {
render() {
const { baseUrl } = this.props
return (
<Html>
<Head
canonicalUrl={`${baseUrl}/feedback`}
pageTitle="Feedback"
pageDesc="Do you have feedback or suggestions for improving Our World in Data? Let us know!"
baseUrl={baseUrl}
/>
<body className="FeedbackPage">
<SiteHeader baseUrl={baseUrl} />
<main>
<FeedbackForm />
</main>
<SiteFooter hideDonate={true} baseUrl={baseUrl} />
</body>
<script type="module">{`window.runFeedbackPage()`}</script>
</Html>
)
}
}