From fd81a5082f3f36d24e9279df6064694056d6db61 Mon Sep 17 00:00:00 2001 From: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> Date: Tue, 5 May 2026 23:25:19 +0000 Subject: [PATCH] Add sponsorship page with Sankey cost breakdown diagram Co-Authored-By: jeslyn --- content/sponsor.md | 53 +++++++++++ templates/sponsor.html | 208 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 261 insertions(+) create mode 100644 content/sponsor.md create mode 100644 templates/sponsor.html diff --git a/content/sponsor.md b/content/sponsor.md new file mode 100644 index 0000000..0d27254 --- /dev/null +++ b/content/sponsor.md @@ -0,0 +1,53 @@ ++++ +title = "Support BMT" +description = "Learn how your contribution helps keep the Berkeley Math Tournament running and accessible for thousands of students worldwide." +template = "sponsor.html" +aliases = ["/sponsor", "/support"] + +[extra] +total_label = "Annual Operating Cost" +total_amount = "$68,000+" +total_note = "to keep BMT running each year" + +[[extra.cost_items]] +label = "Venue & classroom reservations" +amount = "$50,000+" +per = "/yr" +value = 50000 +color = "teal" +description = "Reserving 50+ lecture halls and classrooms on UC Berkeley's campus for contest day" + +[[extra.cost_items]] +label = "Day-of supplies, awards & food" +amount = "$10,000+" +per = "/event" +value = 10000 +color = "emerald" +description = "Printing, supplies, trophies, medals, certificates, and meals for 200+ volunteers" + +[[extra.cost_items]] +label = "Contest materials & printing" +amount = "$5,000+" +per = "/yr" +value = 5000 +color = "amber" +description = "Problem booklets, answer sheets, and scratch paper for 4,000+ participants" + +[[extra.cost_items]] +label = "Digital infrastructure & platform" +amount = "$3,000+" +per = "/yr" +value = 3000 +color = "slate" +description = "Hosting, domains, scoring platform, and registration system maintenance" ++++ + +Every dollar goes directly toward keeping BMT running and accessible for all: + +- Cover the supplies, food, and awards that make contest day happen +- Keep ticket prices low for all participants +- Fund fee waivers for students facing financial hardship +- Create an inclusive environment for organizers and volunteers +- Invest in tournament infrastructure and technology + +**BMT is a registered 501(c)(3) nonprofit.** All donations may be tax-deductible to the extent permitted by law. diff --git a/templates/sponsor.html b/templates/sponsor.html new file mode 100644 index 0000000..9d7152b --- /dev/null +++ b/templates/sponsor.html @@ -0,0 +1,208 @@ +{% extends "base.html" %} + +{% block extra_head %} + +{% endblock %} + +{% block content %} + +{# ── Section header ── #} +
+

+ + How You Can Help +

+

Where Your Contribution Goes

+
+ +{# ── Main two-column layout ── #} +
+ + {# ── Left column: description ── #} +
+

+ Every dollar goes directly toward keeping BMT running and accessible for all: +

+ +
    + {% set bullets = [ + "Cover the supplies, food, and awards that make contest day happen", + "Keep ticket prices low for all participants", + "Fund fee waivers for students facing financial hardship", + "Create an inclusive environment for organizers and volunteers", + "Invest in tournament infrastructure and technology" + ] %} + {% for bullet in bullets %} +
  • + + {{ bullet }} +
  • + {% endfor %} +
+ +
+

+ BMT is a registered 501(c)(3) nonprofit. + All donations may be tax-deductible to the extent permitted by law. +

+
+
+ + {# ── Right column: Sankey diagram ── #} +
+
+ + {# ── Total cost header ── #} +
+

Annual Operating Cost

+

{{ page.extra.total_amount }}

+

{{ page.extra.total_note }}

+
+ + {# ── SVG Sankey diagram ── #} + {# Heights use visual weighting: proportional but with min sizes for readability #} + {# Venue 50k→170px, Supplies 10k→70px, Materials 5k→50px, Infra 3k→40px = 330px + gaps #} + + + + + + + + + + + + + + + + + + + + + {# Source node (left bar): y=10, height=370 #} + + TOTAL BUDGET + + {# ── Venue: $50,000+/yr ── y=10, h=170 #} + + + Venue & classroom + reservations + $50,000+ + per year + 50+ lecture halls & classrooms + on UC Berkeley's campus + + {# ── Supplies: $10,000+/event ── y=190, h=70 #} + + + Day-of supplies, awards & food + $10,000+ /event + + {# ── Materials: $5,000+/yr ── y=270, h=50 #} + + + Contest materials & printing + $5,000+/yr + + {# ── Infrastructure: $3,000+/yr ── y=330, h=50 #} + + + Digital infrastructure & platform + $3,000+/yr + + + {# ── Legend / additional context ── #} +
+
+ + Venue (73%) +
+
+ + Supplies (15%) +
+
+ + Materials (7%) +
+
+ + Technology (5%) +
+
+ +
+
+ +
+ +{# ── CTA ── #} +
+

Help Us Keep BMT Running

+

+ Your sponsorship directly funds the largest student-run math competition in the world, + reaching 4,000+ students annually. +

+ +
+ +{% endblock %}