From: Jeremy Thomas Date: Sat, 5 Oct 2019 16:53:41 +0000 (+0100) Subject: Add GitHub sponsor button X-Git-Tag: 0.8.0~28 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=90d5925dffb8d24bbbce201267c565ead59441f4;p=thirdparty%2Fbulma.git Add GitHub sponsor button --- diff --git a/docs/_data/expo.json b/docs/_data/expo.json index e201e7fe8..8ab72b3fc 100644 --- a/docs/_data/expo.json +++ b/docs/_data/expo.json @@ -1,5 +1,10 @@ { "by_id": { + "sinuous": { + "name": "Sinuous", + "url": "https://sinuous.netlify.com/", + "date": "21 Sep 2019" + }, "divjoy": { "name": "Divjoy", "url": "https://divjoy.com/", @@ -50,7 +55,6 @@ }, "mynameismirko2018": { "name": "mynameismirko", - "highlighted": true, "url": "http://2018.mynameismirko.it/", "date": "26 Jan 2019" }, @@ -347,6 +351,7 @@ "bulmaplay", "filegator", "counternetwork", + "sinuous", "agilox", "pingstack", "mynameismirko2018", diff --git a/docs/_data/links.json b/docs/_data/links.json index 2644914cd..1042f2c53 100644 --- a/docs/_data/links.json +++ b/docs/_data/links.json @@ -482,14 +482,22 @@ }, "videos": { "name": "Videos", + "color": "success", + "icon": "play-circle", + "title": "Videos", "path": "/videos" }, "blog": { "name": "Blog", + "title": "Blog", + "subtitle": "Stay updated with new features", + "color": "orange", + "icon": "rss", "path": "/blog" }, "expo": { "name": "Expo", + "title": "Expo", "subtitle": "Official Bulma showcase", "icon": "star", "color": "star", @@ -497,11 +505,23 @@ }, "love": { "name": "Love", + "title": "Love", "subtitle": "Fans of Bulma around the world", "color": "danger", "icon": "heart", "path": "/love" }, + "backers": { + "id": "backers", + "name": "Patreon Backers", + "title": "Backers", + "color": "patreon", + "icon": "patreon", + "path": "/backers", + "icon_brand": true, + "subtitle": "Everyone who is supporting Bulma", + "description": "Everyone who is supporting Bulma" + }, "more": { "name": "More", "path": "/more" @@ -543,8 +563,15 @@ "path": "/extensions" } }, + "navbar": [ + "videos", + "expo", + "love", + "backers" + ], "more": [ - "patreon-backers", + "backers", + "blog", "made-with-bulma", "bootstrap", "extensions", diff --git a/docs/_includes/components/categories.html b/docs/_includes/components/categories.html index 1508a40fa..0de0abe61 100644 --- a/docs/_includes/components/categories.html +++ b/docs/_includes/components/categories.html @@ -14,7 +14,7 @@ {{ category_link.name }} {% if category_link.name == 'Customize' %} - + New! {% endif %} diff --git a/docs/_includes/elements/github.html b/docs/_includes/elements/github.html new file mode 100644 index 000000000..712961988 --- /dev/null +++ b/docs/_includes/elements/github.html @@ -0,0 +1,7 @@ + + + + + Sponsor + New! + diff --git a/docs/_includes/footer/support.html b/docs/_includes/footer/support.html index 1aaf1fc70..f7de9b7f1 100644 --- a/docs/_includes/footer/support.html +++ b/docs/_includes/footer/support.html @@ -38,6 +38,7 @@ Monthly donation

diff --git a/docs/_includes/global/navbar.html b/docs/_includes/global/navbar.html index a08d783cd..c9413de6e 100644 --- a/docs/_includes/global/navbar.html +++ b/docs/_includes/global/navbar.html @@ -33,18 +33,19 @@ Docs - + Documentation - {% for item in site.data.global.navbar_items %} - - - + {% for link_id in site.data.links.navbar %} + {% assign link = site.data.links.by_id[link_id] %} + + + - {{ item.title }} + {{ link.title }} {% endfor %} @@ -57,7 +58,7 @@