From 44f8e37f874f0f2254e87811d3f4e151b46ba5ce Mon Sep 17 00:00:00 2001 From: Emi <2206700+coppolaemilio@users.noreply.github.com> Date: Fri, 3 Jan 2025 19:56:43 +0100 Subject: [PATCH] Update donation popup and update links going to /donate/ --- _includes/articles/download_card.html | 4 +- _includes/thankyou.html | 177 ++++++++++++++++++ _layouts/download-3.html | 86 +-------- _layouts/download.html | 86 +-------- assets/css/download.css | 109 ----------- collections/_article/godot-4-0-sets-sail.md | 2 +- collections/_article/godot-4-1-is-here.md | 4 +- .../_article/godot-4-2-arrives-in-style.md | 2 +- pages/privacy-policy.html | 2 +- 9 files changed, 187 insertions(+), 285 deletions(-) create mode 100644 _includes/thankyou.html diff --git a/_includes/articles/download_card.html b/_includes/articles/download_card.html index 64b6c6c855..58f4a081e4 100644 --- a/_includes/articles/download_card.html +++ b/_includes/articles/download_card.html @@ -57,9 +57,11 @@ Export templates and other downloads - + Make a Donation + +{% include thankyou.html %} \ No newline at end of file diff --git a/_includes/thankyou.html b/_includes/thankyou.html new file mode 100644 index 0000000000..ac1fc848b7 --- /dev/null +++ b/_includes/thankyou.html @@ -0,0 +1,177 @@ + + + + + + \ No newline at end of file diff --git a/_layouts/download-3.html b/_layouts/download-3.html index 54a5baa82b..4968483a18 100644 --- a/_layouts/download-3.html +++ b/_layouts/download-3.html @@ -306,90 +306,6 @@ layout: default - - - +{% include thankyou.html %} {% include footer.html %} diff --git a/_layouts/download.html b/_layouts/download.html index 76249889ce..46ac2acba1 100644 --- a/_layouts/download.html +++ b/_layouts/download.html @@ -293,90 +293,6 @@ layout: default - - - +{% include thankyou.html %} {% include footer.html %} diff --git a/assets/css/download.css b/assets/css/download.css index 6adbe9de4d..417cb0dd1a 100644 --- a/assets/css/download.css +++ b/assets/css/download.css @@ -299,112 +299,3 @@ gap: 8px; } } - -.thankyou-wrapper { - position: fixed; - top: 0; - left: 0; - right: 0; - bottom: 0; - background: rgba(0, 0, 0, 0.45); - display: flex; - flex-direction: column; - justify-content: center; - align-items: center; - z-index: 10; -} - -.thankyou { - background: var(--base-color); - box-shadow: var(--more-shadow); - padding: 40px 60px 26px 60px; - display: flex; - flex-direction: column; - align-items: center; - position: relative; -} - -.thankyou-reading { - font-size: 16px; -} - -.thankyou-reading-list { - font-size: 16px; - margin: 0; - margin-left: 48px; - padding-left: 0; -} - -.thankyou-donate { - margin-bottom: 24px; - text-align: center; -} - -.btn.btn-donate { - background-color: var(--primary-color); - color: hsla(0, 0%, 100%, 0.9); - font-size: 22px; - font-weight: 600; - margin-bottom: 26px; -} - -.btn-back-to-downloads { - cursor: pointer; - position: absolute; - top: 12px; - right: 12px; -} - -@media (prefers-color-scheme: light) { - .btn-back-to-downloads img { - filter: invert(1); - opacity: 0.75; - } -} - -.thankyou h2 { - text-shadow: var(--base-shadow); - font-size: 36px; - font-weight: 600; - margin-bottom: 12px; -} -.thankyou h3 { - font-size: 24px; - margin-bottom: 0; -} - -.thankyou p { - max-width: 620px; -} - -.thankyou hr { - margin: 28px 0 8px 0; -} - -@media (max-width: 768px) { - .thankyou-wrapper { - display: block; - } - - .thankyou { - position: absolute; - top: 0; - left: 0; - right: 0; - bottom: 0; - overflow: scroll; - padding: 30px 40px 18px 40px; - } - - .thankyou-reading-list { - margin-left: 24px; - } - - .btn-back-to-downloads { - width: 48px; - height: 48px; - display: flex; - justify-content: center; - align-items: center; - } -} diff --git a/collections/_article/godot-4-0-sets-sail.md b/collections/_article/godot-4-0-sets-sail.md index df6dcec4ad..999c5e82ed 100644 --- a/collections/_article/godot-4-0-sets-sail.md +++ b/collections/_article/godot-4-0-sets-sail.md @@ -29,7 +29,7 @@ For more details, grab a cup of something strong and enjoy browsing through the ## Giving back -As a community effort, Godot relies on individual contributors to improve. In recent years, [user and company donations](/donate/) enabled us to also hire a number of core contributors to work more hours on the engine, and allow us to finalize the Godot 4.0 release faster. As a result, our monthly expenses are higher than our monthly income and we have relied on large one-time donations to fund development. Currently, we need a lot more [monthly donations](/donate/) to be able to sustain the pace we've had for the 4.0 development cycle, not to mention the need to hire more contributors to focus on key areas which are currently missing a maintainer. +As a community effort, Godot relies on individual contributors to improve. In recent years, [user and company donations](https://fund.godotengine.org/) enabled us to also hire a number of core contributors to work more hours on the engine, and allow us to finalize the Godot 4.0 release faster. As a result, our monthly expenses are higher than our monthly income and we have relied on large one-time donations to fund development. Currently, we need a lot more [monthly donations](https://fund.godotengine.org/) to be able to sustain the pace we've had for the 4.0 development cycle, not to mention the need to hire more contributors to focus on key areas which are currently missing a maintainer. Besides financial support, you can also give back by: writing high-quality bug reports, contributing to the code base, writing documentation, writing tutorials (for the docs or on your own space), and supporting others on the various [community platforms](https://docs.godotengine.org/en/latest/community/channels.html) by answering questions and providing helpful tips. diff --git a/collections/_article/godot-4-1-is-here.md b/collections/_article/godot-4-1-is-here.md index 3b761a5c56..1839f32c4c 100644 --- a/collections/_article/godot-4-1-is-here.md +++ b/collections/_article/godot-4-1-is-here.md @@ -23,9 +23,9 @@ For most games and apps made with 4.0 it should be relatively safe to migrate to ## Giving back -As a community effort, Godot relies on individual contributors to improve. In recent years, [user and company donations](https://godotengine.org/donate/) allowed us to also hire a number of core contributors to work full-time on the engine and bring you these fast-paced releases. +As a community effort, Godot relies on individual contributors to improve. In recent years, [user and company donations](https://fund.godotengine.org/) allowed us to also hire a number of core contributors to work full-time on the engine and bring you these fast-paced releases. -Our monthly expenses remain higher than monthly donations, and we still depend on large one-time company donations to fund development. Currently, we need a lot more [monthly donations](https://godotengine.org/donate/) to keep up the pace with Godot 4 updates, not to mention the need to hire more maintainers to review every contribution. +Our monthly expenses remain higher than monthly donations, and we still depend on large one-time company donations to fund development. Currently, we need a lot more [monthly donations](https://fund.godotengine.org/) to keep up the pace with Godot 4 updates, not to mention the need to hire more maintainers to review every contribution. Besides financial support, you can also give back by: writing detailed bug reports, contributing to the code base, writing documentation, writing guides (for the docs or on your own website), and supporting others on the various [community platforms](https://docs.godotengine.org/en/latest/community/channels.html) by answering questions and providing helpful tips. diff --git a/collections/_article/godot-4-2-arrives-in-style.md b/collections/_article/godot-4-2-arrives-in-style.md index 2515155e8c..f2e89a8639 100644 --- a/collections/_article/godot-4-2-arrives-in-style.md +++ b/collections/_article/godot-4-2-arrives-in-style.md @@ -19,7 +19,7 @@ Please read on to learn about the most exciting additions in Godot 4.2, or click ## Giving back -As a community project, Godot is maintained by the efforts of volunteers. Thanks to [user and company donations](https://godotengine.org/donate/) we are able to hire and sponsor a number of core contributors to work full-time and dedicate their undivided attention to the needs of the project. +As a community project, Godot is maintained by the efforts of volunteers. Thanks to [user and company donations](https://fund.godotengine.org/) we are able to hire and sponsor a number of core contributors to work full-time and dedicate their undivided attention to the needs of the project. Please consider supporting the project financially with a [recurring monthly donation](https://fund.godotengine.org/), if you are able. Godot continues to grow with each passing month, and we are committed to bringing you reliable and feature-rich releases as often as we can, to facilitate creative work of game developers of all levels. Recurring donations make sure the project is sustainable and its development can be planned for years ahead. diff --git a/pages/privacy-policy.html b/pages/privacy-policy.html index db322ea61d..5894b989a6 100644 --- a/pages/privacy-policy.html +++ b/pages/privacy-policy.html @@ -36,7 +36,7 @@ current_tab: "privacy-policy"
  • you visit the Godot web site (godotengine.org);
  • you access the Asset Library in the Godot editor application to browse or download assets;
  • you sign up as a Godot Patreon (https://patreon.com/godotengine) - or otherwise donate to Godot (https://godotengine.org/donate);
  • + or otherwise donate to Godot (https://fund.godotengine.org/);
  • you sign up and log in to an account on the Godot Chat platform (https://chat.godotengine.org), and use it to participate in private and public discussions;