Skip to content

Commit

Permalink
fix: remove contact page
Browse files Browse the repository at this point in the history
getting mostly spam by email or messages meant for other TFP projects
  • Loading branch information
sterlingwes committed Jun 12, 2024
1 parent 8dcb451 commit 732e30d
Show file tree
Hide file tree
Showing 7 changed files with 2 additions and 54 deletions.
11 changes: 0 additions & 11 deletions site/docs/contact.mdx

This file was deleted.

2 changes: 1 addition & 1 deletion site/docs/examples.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ displayed_sidebar: docs

We're providing this data in the hopes it will help you tell a story about what Palestinians are going through. We hope you'll share your example as inspiration for others.

If you've used our data and are willing to share or link to your usage, please [contact us](/docs/contact).
If you've used our data and are willing to share or link to your usage, please [contact us through a Github issue](https://github.com/TechForPalestine/palestine-datasets/issues), or open a pull request.

## Daily Casualties / Summary Dataset

Expand Down
2 changes: 0 additions & 2 deletions site/docs/guides/contributing.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@ We welcome anyone to contribute to any part of this repository on Github. We've
- [Github Issues](https://github.com/TechForPalestine/palestine-datasets/issues)
- [Tech For Palestine Discord in #tfp-oss-palestine-dataset](https://discord.com/channels/1186702814341234740/1194895627298025473).

If you have a small change or question and do not have a Github account or access to our Discord, you can go straight to [contacting us by email](/docs/contact).

## Important Reading

We expect collaborators to adhere to TFP's [Code of Conduct](https://github.com/techforpalestine/code-of-conduct).
Expand Down
4 changes: 0 additions & 4 deletions site/docusaurus.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,10 +81,6 @@ const config: Config = {
to: "updates/",
label: "Updates",
},
{
to: "docs/contact",
label: "Contact",
},
{
href: repoUrl,
label: "GitHub",
Expand Down
7 changes: 1 addition & 6 deletions site/sidebars.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ const sidebars: SidebarsConfig = {
"summary",
"casualties-daily",
"casualties-daily-west-bank",
"infrastructure-damaged"
"infrastructure-damaged",
],
},

Expand All @@ -45,11 +45,6 @@ const sidebars: SidebarsConfig = {
link: { type: "doc", id: "guides/contributing" },
items: ["guides/architecture", "guides/versioning"],
},
{
type: "link",
label: "Contact us",
href: "/docs/contact",
},
],
};

Expand Down
24 changes: 0 additions & 24 deletions site/src/pages/index.module.css
Original file line number Diff line number Diff line change
@@ -1,13 +1,3 @@
:root {
--tfp-contact-bg: #f8f8f8;
--tfp-contact-fg: #555;
}

[data-theme="dark"] {
--tfp-contact-bg: #222;
--tfp-contact-fg: #aaa;
}

/**
* CSS files with the .module.css suffix will be treated as CSS modules
* and scoped locally.
Expand Down Expand Up @@ -51,17 +41,3 @@
align-items: center;
justify-content: center;
}

.contactBlock {
background-color: var(--tfp-contact-bg);
text-align: center;
padding: 80px 20px;
font-size: 1.7em;
line-height: 1.2em;
color: var(--tfp-contact-fg);
}

.contactBlock > a {
font-size: 0.7em;
margin-top: 25px;
}
6 changes: 0 additions & 6 deletions site/src/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,12 +48,6 @@ export default function Home(): JSX.Element {
<HomeDailyChart />
<KilledName />
<div style={{ height: 40 }} />
<div className={styles.contactBlock}>
<div>Need help or want to collaborate?</div>
<Button type="primary" to="/docs/contact" inline>
Get in touch
</Button>
</div>
</main>
</Layout>
);
Expand Down

0 comments on commit 732e30d

Please sign in to comment.