Tell donors they can request features, and what extra money would fund.

Missing or slow parts can be requested on GitHub, and surplus donations would pay for posting, liking, and reposting.

Co-authored-by: Cursor <[email protected]>
This commit is contained in:
4cuckandCursor committed 2026-10-13 17:55:53 +00:00
1 parent 9c1dd0f29a
commit 1528e967e8
3 files changed
+20 -2

No files matched your search

+3 -1
View File
@@ -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; }
+16
View File
@@ -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." }
}
+1 -1
View File
@@ -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.