From 732e30dedcb9d8f79d4c28a8918f2f9451f61f95 Mon Sep 17 00:00:00 2001 From: Wes Johnson Date: Tue, 11 Jun 2024 21:50:48 -0400 Subject: [PATCH] fix: remove contact page getting mostly spam by email or messages meant for other TFP projects --- site/docs/contact.mdx | 11 ----------- site/docs/examples.mdx | 2 +- site/docs/guides/contributing.md | 2 -- site/docusaurus.config.ts | 4 ---- site/sidebars.ts | 7 +------ site/src/pages/index.module.css | 24 ------------------------ site/src/pages/index.tsx | 6 ------ 7 files changed, 2 insertions(+), 54 deletions(-) delete mode 100644 site/docs/contact.mdx diff --git a/site/docs/contact.mdx b/site/docs/contact.mdx deleted file mode 100644 index 069c6b5d..00000000 --- a/site/docs/contact.mdx +++ /dev/null @@ -1,11 +0,0 @@ ---- -displayed_sidebar: docs ---- - -# Contact Us - -You can contact the maintainers by emailing [hpuoaug5s@mozmail.com](mailto:hpuoaug5s@mozmail.com?subject=TFP%20Datasets). - -## Are you a developer? - -If you're a developer with access to Github and have an idea, question, issue or other feedback, you can open an issue on Github. Please also see our [contributing guide](/docs/guides/contributing) for other ways to get involved. diff --git a/site/docs/examples.mdx b/site/docs/examples.mdx index 3563ff19..bffd3b75 100644 --- a/site/docs/examples.mdx +++ b/site/docs/examples.mdx @@ -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 diff --git a/site/docs/guides/contributing.md b/site/docs/guides/contributing.md index 467519ec..daaaeb45 100644 --- a/site/docs/guides/contributing.md +++ b/site/docs/guides/contributing.md @@ -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). diff --git a/site/docusaurus.config.ts b/site/docusaurus.config.ts index db8dd0db..3e662440 100644 --- a/site/docusaurus.config.ts +++ b/site/docusaurus.config.ts @@ -81,10 +81,6 @@ const config: Config = { to: "updates/", label: "Updates", }, - { - to: "docs/contact", - label: "Contact", - }, { href: repoUrl, label: "GitHub", diff --git a/site/sidebars.ts b/site/sidebars.ts index 09281f34..44eea754 100644 --- a/site/sidebars.ts +++ b/site/sidebars.ts @@ -25,7 +25,7 @@ const sidebars: SidebarsConfig = { "summary", "casualties-daily", "casualties-daily-west-bank", - "infrastructure-damaged" + "infrastructure-damaged", ], }, @@ -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", - }, ], }; diff --git a/site/src/pages/index.module.css b/site/src/pages/index.module.css index f17a93d6..2e869093 100644 --- a/site/src/pages/index.module.css +++ b/site/src/pages/index.module.css @@ -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. @@ -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; -} diff --git a/site/src/pages/index.tsx b/site/src/pages/index.tsx index f1a6ec3b..7030aca9 100644 --- a/site/src/pages/index.tsx +++ b/site/src/pages/index.tsx @@ -48,12 +48,6 @@ export default function Home(): JSX.Element {
-
-
Need help or want to collaborate?
- -
);