From e09e0df3a9e36374610e99b4d9e633578c2481b8 Mon Sep 17 00:00:00 2001 From: Jeremy Thomas Date: Thu, 21 Mar 2024 17:19:44 +0000 Subject: [PATCH] Add backers --- BACKERS.md | 234 +++------------------------------ bower.json | 22 +++- bulma.scss | 2 +- docs/_data/links.json | 2 +- docs/assets/javascript/main.js | 42 ++++++ docs/backers.html | 33 +++-- 6 files changed, 100 insertions(+), 235 deletions(-) diff --git a/BACKERS.md b/BACKERS.md index c99d1d11..a7dd742a 100644 --- a/BACKERS.md +++ b/BACKERS.md @@ -1,219 +1,27 @@ -

Generous backers ($30+)

+## Prime backers ($30+) - +* Jason Seminara +* Jordan Nemrow +* Ian Ebden +* xvxx +* Tobias E. +* Robert Wetzlmayr +* tsunghanliu +* chazelton331 +* linkdd +* bekwam +* Gomah -

Website sponsors ($300+)

+## Website backers - - -

Homepage sponsors ($100+)

- - - -

Bulma backers ($10+)

- - +And also: Lord, Giovanni Panozzo, Tanel Jõeäär, Eric Doversberger, James Dernie, Felipe Lujan-Bear, Steve T., Mikey, Bleak Bot, Jason Dubaniewicz, Jork, Brümmer GbR produktivbüro, Nicholas Conde, Leng M., Pierre BONNEFOI, adamghill, coyled, biximilien, heartz66, bastien09, KirillOsenkov diff --git a/bower.json b/bower.json index 60d51c7b..ba27af96 100644 --- a/bower.json +++ b/bower.json @@ -1,19 +1,27 @@ { "name": "bulma", - "version": "0.9.4", + "version": "1.0.0", "homepage": "https://bulma.io", "authors": ["jgthms "], "description": "Modern CSS framework based on Flexbox", - "main": "bulma.sass", - "keywords": ["css", "sass", "flexbox", "responsive", "framework"], + "main": "bulma.scss", + "keywords": [ + "css", + "sass", + "scss", + "flexbox", + "grid", + "responsive", + "framework" + ], "license": "MIT", "ignore": [ "**/.*", - "node_modules", "bower_components", - "test", - "tests", "docs", - "images" + "images", + "node_modules", + "test", + "tests" ] } diff --git a/bulma.scss b/bulma.scss index 8d4e36b6..83b4c0e5 100644 --- a/bulma.scss +++ b/bulma.scss @@ -1,4 +1,4 @@ @charset "utf-8"; -/*! bulma.io v1.0.0-beta | MIT License | github.com/jgthms/bulma */ +/*! bulma.io v1.0.0 | MIT License | github.com/jgthms/bulma */ @use "sass"; diff --git a/docs/_data/links.json b/docs/_data/links.json index 35715d63..7637ca8d 100644 --- a/docs/_data/links.json +++ b/docs/_data/links.json @@ -745,7 +745,7 @@ }, "navbar": ["docs", "expo", "love", "sponsor"], "navbar_icons": ["github", "twitter"], - "navbar_more": ["made-with-bulma", "brand", "extensions"], + "navbar_more": ["made-with-bulma", "backers", "brand", "extensions"], "category_ids": [ "start", "features", diff --git a/docs/assets/javascript/main.js b/docs/assets/javascript/main.js index b2c94901..cc891f8c 100644 --- a/docs/assets/javascript/main.js +++ b/docs/assets/javascript/main.js @@ -6,6 +6,48 @@ document.addEventListener("DOMContentLoaded", () => { const $animateds = document.querySelectorAll(".js-animated"); $animateds.forEach((el) => el.classList.add("is-animated")); + // Backers + + const $backers = document.getElementById("js-backers"); + + if ($backers) { + fetch("https://jgthms.com/amis/backers.json") + .then((response) => { + if (!response.ok) { + throw new Error(`HTTP error! Status: ${response.status}`); + } + + return response.json(); + }) + .then((response) => { + const values = response.values; + + values.forEach((value) => { + const el = document.createElement("div"); + el.className = "bd-tier"; + + const amount = document.createElement("div"); + amount.className = "bd-tier-amount"; + amount.textContent = `$${value}`; + + const frequency = document.createElement("div"); + frequency.className = "bd-tier-frequency"; + frequency.textContent = "a month"; + + const list = response.tiers[value]; + const message = document.createElement("div"); + message.className = "bd-tier-message"; + message.textContent = list.join(", "); + + el.appendChild(amount); + el.appendChild(frequency); + el.appendChild(message); + + $backers.appendChild(el); + }); + }); + } + // Amis const $amis = document.getElementById("amis"); diff --git a/docs/backers.html b/docs/backers.html index 0dbb83f9..36a04d07 100644 --- a/docs/backers.html +++ b/docs/backers.html @@ -1,35 +1,42 @@ --- -fulltitle: 'Backers via Patreon and GitHub' +fulltitle: "Backers via Patreon and GitHub" title: 'Backers via Patreon and GitHub' layout: default route: backers theme: sponsor breadcrumb: -- home -- patreon-backers + - home + - patreon-backers --- -{% include global/header.html %} -{% - include docs/hero.html - title=page.title - subtitle="Everyone who is supporting Bulma and Open Source." -%} +{% include global/header.html %} {% include docs/hero.html title=page.title +subtitle="Everyone who is supporting Bulma and Open Source." %}
- {% include docs/elements/backers-group.html tier="30" title="Generous backers ($30+)" %} - {% include docs/elements/backers-group.html tier="10" title="Bulma backers ($10+)" %} +
+
+
+
+