From 9a8075b682c26577af1f1989397b42a27a7c3818 Mon Sep 17 00:00:00 2001 From: Nick Craig-Wood Date: Wed, 21 Jun 2023 12:46:07 +0100 Subject: [PATCH] docs: rename donate page to sponsor page and rework --- docs/content/sponsor.md | 57 +++++++++++++++++++ docs/layouts/chrome/menu.html | 2 +- docs/layouts/chrome/navbar.html | 7 ++- docs/layouts/shortcodes/bizbutton.html | 1 + .../layouts/shortcodes/monthly_donations.html | 6 +- docs/layouts/shortcodes/nick.html | 2 +- .../layouts/shortcodes/one_off_donations.html | 6 +- docs/static/css/custom.css | 11 ++++ 8 files changed, 83 insertions(+), 9 deletions(-) create mode 100644 docs/content/sponsor.md create mode 100644 docs/layouts/shortcodes/bizbutton.html diff --git a/docs/content/sponsor.md b/docs/content/sponsor.md new file mode 100644 index 000000000..91ad38541 --- /dev/null +++ b/docs/content/sponsor.md @@ -0,0 +1,57 @@ +--- +title: "Sponsor" +description: "Sponsor the rclone project." +type: page +aliases: +- donate +--- + +# {{< icon "fa fa-heart heart" >}} Sponsor the rclone project + +Rclone is a free open-source project with thousands of contributions +from volunteers all round the world and I would like to thank all of +you for donating your time to the project. + +However, maintaining rclone is a lot of work - it is **my full time +job**. Nothing stands still in the world of cloud storage. Rclone +needs constant attention adapting to changes by cloud providers, +adding new providers, adding new features, keeping the integration +tests working, fixing bugs and many more things! + +I love doing the work and I'd like to keep doing it - your support +helps make rclone possible. + +Thank you :-) + +{{< nick >}} + +## Business users + +If your business or your customers rely on rclone then it would make +sense to sponsor rclone to ensure that the open source project you +need stays healthy and well maintained. + +Sponsorship can include support contracts, advertising deals and +consultancy. + +Please see our business site [rclone.com](https://rclone.com) for +details. + +{{< bizbutton >}} + +## Personal users + +If you are a personal user and you would like to support the project +with sponsorship as a way of saying thank you that would be most +appreciated. {{< icon "fa fa-heart heart" >}} + +{{< monthly_donations >}} + +If you don't want to contribute monthly then of course we'd love a one +off donation. + +{{< one_off_donations >}} + +## Current sponsors + +...Will appear here... diff --git a/docs/layouts/chrome/menu.html b/docs/layouts/chrome/menu.html index 3f9ea6bf5..e242c3ce9 100644 --- a/docs/layouts/chrome/menu.html +++ b/docs/layouts/chrome/menu.html @@ -34,7 +34,7 @@ Rclone forum
GitHub project
Rclone Wiki
- Donate
+ Sponsor
@njcw

diff --git a/docs/layouts/chrome/navbar.html b/docs/layouts/chrome/navbar.html index ad9267c2d..d98a957b3 100644 --- a/docs/layouts/chrome/navbar.html +++ b/docs/layouts/chrome/navbar.html @@ -109,7 +109,12 @@ Contact + +
diff --git a/docs/layouts/shortcodes/bizbutton.html b/docs/layouts/shortcodes/bizbutton.html new file mode 100644 index 000000000..d9a12a5db --- /dev/null +++ b/docs/layouts/shortcodes/bizbutton.html @@ -0,0 +1 @@ + For Business diff --git a/docs/layouts/shortcodes/monthly_donations.html b/docs/layouts/shortcodes/monthly_donations.html index 4e5481f28..7b8518981 100644 --- a/docs/layouts/shortcodes/monthly_donations.html +++ b/docs/layouts/shortcodes/monthly_donations.html @@ -6,9 +6,9 @@ Patreon diff --git a/docs/layouts/shortcodes/nick.html b/docs/layouts/shortcodes/nick.html index 626db8dc9..0ff286944 100644 --- a/docs/layouts/shortcodes/nick.html +++ b/docs/layouts/shortcodes/nick.html @@ -1 +1 @@ -

Nick
Nick Craig-Wood

+

Nick
Nick Craig-Wood

diff --git a/docs/layouts/shortcodes/one_off_donations.html b/docs/layouts/shortcodes/one_off_donations.html index e1f980774..5f8997211 100644 --- a/docs/layouts/shortcodes/one_off_donations.html +++ b/docs/layouts/shortcodes/one_off_donations.html @@ -4,9 +4,9 @@ PayPal PayPal.Me diff --git a/docs/static/css/custom.css b/docs/static/css/custom.css index 2ac4eb16a..2f547fbf6 100644 --- a/docs/static/css/custom.css +++ b/docs/static/css/custom.css @@ -171,6 +171,17 @@ a.badge-primary.focus, a.badge-primary:focus { outline: 0; box-shadow: 0 0 0 0.2rem rgba(112,202,242,.5); } +.bizbutton { + background-color:#fb7a20; + border-radius: 15px; + padding: 5px; +} +.bizbutton:hover { + /* background-color:#f29870; */ + /* border-color:#f29870; */ + background-color: #70caf2; + border-color: #70caf2; +} nav#TableOfContents ul { list-style-type: none; padding: 0.0rem;