From 5fbcef3564ef504dbe89a26069c0e633a8df6f20 Mon Sep 17 00:00:00 2001 From: squidfunk Date: Sat, 13 Mar 2021 15:53:37 +0100 Subject: [PATCH] Refactored sponsorship overview into component --- docs/insiders.md | 24 ++-- ...9b55be7b.min.js => bundle.1a39fc1d.min.js} | 2 +- ....min.js.map => bundle.1a39fc1d.min.js.map} | 4 +- material/base.html | 2 +- .../assets/javascripts/bundle.55e80bbe.min.js | 19 +++ ....min.js.map => bundle.55e80bbe.min.js.map} | 6 +- .../assets/javascripts/bundle.cf78cd63.min.js | 19 --- .../assets/stylesheets/main.0220c4ec.min.css | 2 + .../stylesheets/main.0220c4ec.min.css.map | 1 + .../assets/stylesheets/main.6c7993e4.min.css | 2 - .../stylesheets/main.6c7993e4.min.css.map | 1 - material/overrides/main.html | 4 +- src/base.html | 6 +- src/overrides/assets/javascripts/bundle.ts | 9 +- .../assets/javascripts/components/_/index.ts | 6 + .../assets/javascripts/components/index.ts | 1 + .../components/sponsorship/index.ts | 134 ++++++++++++++++++ .../assets/javascripts/templates/index.ts | 1 + .../templates/sponsorship/index.tsx | 67 +++++++++ src/overrides/assets/stylesheets/main.scss | 1 + .../assets/stylesheets/main/_typeset.scss | 61 -------- .../stylesheets/main/layout/_sponsorship.scss | 95 +++++++++++++ 22 files changed, 358 insertions(+), 109 deletions(-) rename material/assets/javascripts/{bundle.9b55be7b.min.js => bundle.1a39fc1d.min.js} (99%) rename material/assets/javascripts/{bundle.9b55be7b.min.js.map => bundle.1a39fc1d.min.js.map} (95%) create mode 100644 material/overrides/assets/javascripts/bundle.55e80bbe.min.js rename material/overrides/assets/javascripts/{bundle.cf78cd63.min.js.map => bundle.55e80bbe.min.js.map} (88%) delete mode 100644 material/overrides/assets/javascripts/bundle.cf78cd63.min.js create mode 100644 material/overrides/assets/stylesheets/main.0220c4ec.min.css create mode 100644 material/overrides/assets/stylesheets/main.0220c4ec.min.css.map delete mode 100644 material/overrides/assets/stylesheets/main.6c7993e4.min.css delete mode 100644 material/overrides/assets/stylesheets/main.6c7993e4.min.css.map create mode 100644 src/overrides/assets/javascripts/components/sponsorship/index.ts create mode 100644 src/overrides/assets/javascripts/templates/sponsorship/index.tsx create mode 100644 src/overrides/assets/stylesheets/main/layout/_sponsorship.scss diff --git a/docs/insiders.md b/docs/insiders.md index 95f0f8773..7333ee0c7 100644 --- a/docs/insiders.md +++ b/docs/insiders.md @@ -89,21 +89,19 @@ You can cancel your sponsorship anytime.[^3] through Stripe. As we don't receive any information regarding your payment, and GitHub doesn't offer refunds, sponsorships are non-refundable. -[:octicons-heart-fill-24:{ .mdx-heart }   Join our awesome sponsors][5]{ .md-button .md-button--primary .mdx-insiders-button } +[:octicons-heart-fill-24:{ .mdx-heart }   Join our awesome sponsors][5]{ .md-button .md-button--primary .mdx-sponsorship-button } -