Skip to content

Commit 0242cd7

Browse files
committed
Create better 'contact us' and 'privacy policy' pages.
1 parent 79ae1ac commit 0242cd7

File tree

5 files changed

+275
-28
lines changed

5 files changed

+275
-28
lines changed

src/css/custom.css

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,3 +32,9 @@
3232
.hidden {
3333
display: none !important;
3434
}
35+
36+
.isolated nav,
37+
.isolated footer,
38+
.isolated .col--2 {
39+
display: none;
40+
}

src/pages/contact-us.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
---
2+
title: Contact Us
3+
---
4+
5+
<head>
6+
<body className="isolated" />
7+
</head>
8+
9+
# Overreact – Contact Us
10+
11+
If you have any questions or concerns about the Overreact app, you can reach us at: [email protected]

src/pages/index.tsx

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -9,25 +9,7 @@ import styles from './index.module.css';
99
import { Redirect } from '@docusaurus/router';
1010

1111
function HomepageHeader() {
12-
// const {siteConfig} = useDocusaurusContext();
1312
return <Redirect to="/docs/intro" />;
14-
// return (
15-
// <header className={clsx('hero hero--primary', styles.heroBanner)}>
16-
// <div className="container">
17-
// <Heading as="h1" className="hero__title">
18-
// {siteConfig.title}
19-
// </Heading>
20-
// <p className="hero__subtitle">{siteConfig.tagline}</p>
21-
// {/* <div className={styles.buttons}>
22-
// <Link
23-
// className="button button--secondary button--lg"
24-
// to="/docs/intro">
25-
// Docusaurus Tutorial - 5min ⏱️
26-
// </Link>
27-
// </div> */}
28-
// </div>
29-
// </header>
30-
// );
3113
}
3214

3315
export default function Home(): JSX.Element {
@@ -37,9 +19,6 @@ export default function Home(): JSX.Element {
3719
title={`Hello from ${siteConfig.title}`}
3820
description="Description will go into a meta tag in <head />">
3921
<HomepageHeader />
40-
{/* <main>
41-
<HomepageFeatures />
42-
</main> */}
4322
</Layout>
4423
);
4524
}

src/pages/markdown-page.md

Lines changed: 0 additions & 7 deletions
This file was deleted.

0 commit comments

Comments
 (0)