diff --git a/public/css/clean.css b/public/css/clean.css index 9a4e7ec..9887e4a 100644 --- a/public/css/clean.css +++ b/public/css/clean.css @@ -1109,7 +1109,9 @@ input[type="text"], input[type="date"], input[type="number"], select { line-height: 1.45; } .donate-drive strong { display: block; margin-bottom: 4px; } -.donate-drive p { margin: 0; } +.donate-drive p { margin: 0 0 6px; } +.donate-drive p:last-child { margin-bottom: 0; } +.donate-drive a, .donate-note a { color: var(--accent); } .donate-page { max-width: 640px; margin: 28px auto; padding: 0 16px 48px; } .donate-page h1 { margin: 0 0 8px; font-size: 28px; } .donate-form { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; margin-top: 16px; } diff --git a/src/views/donate.rs b/src/views/donate.rs index ab1ee14..f4d4a63 100644 --- a/src/views/donate.rs +++ b/src/views/donate.rs @@ -14,6 +14,14 @@ pub fn donate_drive_banner(raised_cents: i64, goal_cents: i64) -> Markup { a href="/donate" { "Donate any amount" } " up to $10,000." } + p { + "If you are not satisfied with this site and do not want to donate because a feature is missing or it is too slow, " + a href="https://github.com/4cuck/teapot/issues" target="_blank" rel="noopener noreferrer" { "request it on GitHub" } + ". I will add it as quickly as I can." + } + p { + "If we raise more than it costs to keep the site running, I will add posting, liking, and reposting on nitter.cf, so you can post what you want through our residential proxies, consequence free." + } } } } @@ -66,6 +74,14 @@ pub fn render_donate_page( "LZT Market uses a balance on that site. " "The minimum is $1 and the maximum is $10,000." } + p class="donate-note" { + "If you are not satisfied with this site and do not want to donate because a feature is missing or it is too slow, " + a href="https://github.com/4cuck/teapot/issues" target="_blank" rel="noopener noreferrer" { "request it on GitHub" } + ". I will add it as quickly as I can." + } + p class="donate-note" { + "If we raise more than it costs to keep the site running, I will add posting, liking, and reposting on nitter.cf, so you can post what you want through our residential proxies, consequence free." + } } @else { p class="donate-status" { "Donations are not set up on this instance yet." } } diff --git a/src/views/layout.rs b/src/views/layout.rs index 3138696..1982417 100644 --- a/src/views/layout.rs +++ b/src/views/layout.rs @@ -6,7 +6,7 @@ use regex::Regex; use crate::{config::Config, types::Prefs}; pub const STYLE_CSS: &str = "/css/style.css?teapawt8"; -pub const CLEAN_CSS: &str = "/css/clean.css?teapawt22"; +pub const CLEAN_CSS: &str = "/css/clean.css?teapawt23"; pub const FONTELLO_CSS: &str = "/css/fontello.css"; /// Builder for rendering a full page layout.