From f616c94bd6aa6508fd715f999883c8f4d55fb929 Mon Sep 17 00:00:00 2001 From: Jonah Aragon Date: Sat, 13 Sep 2025 20:03:47 -0500 Subject: [PATCH] feat: Add newsletter subscription buttons (#3124) --- .vscode/settings.json | 3 ++- docs/about.md | 2 +- docs/about/donate.md | 7 +++++-- docs/index.md | 2 +- mkdocs.blog.yml | 2 +- mkdocs.yml | 1 + 6 files changed, 11 insertions(+), 6 deletions(-) diff --git a/.vscode/settings.json b/.vscode/settings.json index 3aa44cac..9a388048 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -115,5 +115,6 @@ "editor.formatOnSave": true, "[github-actions-workflow]": { "editor.defaultFormatter": "esbenp.prettier-vscode" - } + }, + "python-envs.pythonProjects": [] } diff --git a/docs/about.md b/docs/about.md index 1497b2d9..8024d5c1 100644 --- a/docs/about.md +++ b/docs/about.md @@ -19,7 +19,7 @@ schema: **Privacy Guides** is a socially motivated website that provides information for protecting your data security and privacy. We are a non-profit project with a mission to inform the public about the value of digital privacy, and about global government initiatives which aim to monitor your online activity. Our website is free of advertisements and not affiliated with any of the listed providers. -[:material-heart:{.pg-red} Make a Donation](https://donate.magicgrants.org/privacyguides){ .md-button .md-button--primary } +[:material-heart:{.pg-red} Become a Member](https://donate.magicgrants.org/privacyguides){ .md-button .md-button--primary data-portal="signup" } [:octicons-home-16:](https://www.privacyguides.org){ .card-link title=Homepage } [:octicons-code-16:](https://github.com/privacyguides/privacyguides.org){ .card-link title="Source Code" } diff --git a/docs/about/donate.md b/docs/about/donate.md index 4bbf099a..26495781 100644 --- a/docs/about/donate.md +++ b/docs/about/donate.md @@ -5,8 +5,11 @@ description: The charitable mission of Privacy Guides relies on contributions fr Support our mission to defend digital rights and spread the word about mass surveillance programs and other daily privacy invasions. You can help Privacy Guides researchers, activists, and maintainers create informative content, host private digital services, and protect privacy rights at a time when the world needs it most. -[:material-heart:{ .pg-red } Become a Member](https://donate.magicgrants.org/privacyguides/membership){ class="md-button md-button--primary" } -[:material-hand-coin: Make a Donation](https://donate.magicgrants.org/privacyguides/donate/privacyguides){ class="md-button md-button--primary" } + +[:material-heart:{ .pg-red } Become a Member](https://donate.magicgrants.org/privacyguides/membership){ class="md-button md-button--primary" data-portal="signup" } + +[Become a Member (Cryptocurrency)](https://donate.magicgrants.org/privacyguides/membership){ class="md-button" } +[One-Time Donation](https://donate.magicgrants.org/privacyguides/donate/privacyguides){ class="md-button" } diff --git a/docs/index.md b/docs/index.md index e7464db4..c867c21b 100644 --- a/docs/index.md +++ b/docs/index.md @@ -70,7 +70,7 @@ Trying to protect all your data from everyone all the time is impractical, expen
**Privacy Guides** has a dedicated [community](https://discuss.privacyguides.net) independently reviewing various *privacy tools* and services. Each of our recommendations comply with a strict set of criteria to ensure they provide the most value to most people, and provide the best balance of privacy, security, and convenience. As part of a non-profit **public charity**, Privacy Guides has strict **journalistic standards** and policies to ensure our recommendations are free of conflict of interest, and we do not partner with providers or affiliate programs that could sway our reviews and recommendations. -[:material-heart:{.pg-red} Support Our Work](about/donate.md){ class="md-button md-button--primary" } +[:material-heart:{.pg-red} Support Our Work](about/donate.md){ class="md-button md-button--primary" data-portal="signup" }
diff --git a/mkdocs.blog.yml b/mkdocs.blog.yml index 573eb775..f25e3e98 100644 --- a/mkdocs.blog.yml +++ b/mkdocs.blog.yml @@ -48,7 +48,7 @@ extra: - fontawesome/brands/creative-commons - fontawesome/brands/creative-commons-by - fontawesome/brands/creative-commons-sa - homepage: !ENV [MAIN_SITE_BASE_URL, "https://www.privacyguides.org/en/"] + homepage: / generator: false context: !ENV [BUILD_CONTEXT, "production"] offline: !ENV [BUILD_OFFLINE, false] diff --git a/mkdocs.yml b/mkdocs.yml index 435b2ca4..c44aaf0d 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -33,6 +33,7 @@ edit_uri_template: extra: scope: / + homepage: / generator: false context: !ENV [BUILD_CONTEXT, "production"] offline: !ENV [BUILD_OFFLINE, false]