From 72d2ca3a27a571c88eec87f5a67005bd66fc462f Mon Sep 17 00:00:00 2001 From: "Chris K.Y. FUNG" <8746768+chriskyfung@users.noreply.github.com> Date: Thu, 1 Feb 2024 23:27:34 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=9D=20docs:=20replace=20SVG=20badges?= =?UTF-8?q?=20with=20dynamic=20JSON=20badges?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This commit resolves the broken links of the status badges on the project landing page, which resulted from the issue mentioned in the Google Sites support thread at . The solution involves using Shields.io dynamic JSON badges instead of SVG badges. The new badges: - Are hosted on Shields.io and do not depend on Google Drive - Use a custom Google Apps Script web app to fetch the project status - Have updated URLs and labels in the `README.md` and `docs/index.md` files The changes ensure that the badges show the correct status and work as expected. For more information on how to create and customize dynamic badges, see . Fixs #95 --- README.md | 4 ++-- docs/index.md | 5 +++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 1e9717f..3ea66a7 100644 --- a/README.md +++ b/README.md @@ -3,8 +3,8 @@ [![built with clasp]](https://github.com/google/clasp) [![code style: prettier]](https://github.com/prettier/prettier) ![license: AGPL-3.0](https://img.shields.io/github/license/chriskyfung/AutoFetcher-IG-Stories-to-GDrive) -![Health Status](https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Fscript.google.com%2Fmacros%2Fs%2FAKfycbyLpLviO5VJY-AQGKWv5Mqy7jbJqGY3UfQqI56tWLbGIV9k0eI2mos0FgdOU9u2o164%2Fexec&query=%24.health&label=health%20check&color=%24.color) -![Last Tested Date](https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Fscript.google.com%2Fmacros%2Fs%2FAKfycbyLpLviO5VJY-AQGKWv5Mqy7jbJqGY3UfQqI56tWLbGIV9k0eI2mos0FgdOU9u2o164%2Fexec&query=%24.date&label=last%20tested&color=9146ff) +![Health Status](https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Fscript.google.com%2Fmacros%2Fs%2FAKfycby9kCiEQTX6KgUoblgurVM2Fy31e3zk2nuKMMNuAdUCYYp3uPGdE_KCwWY_j68oMwpH%2Fexec&query=%24.health&label=health%20check&color=%24.color) +![Last Tested Date](https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Fscript.google.com%2Fmacros%2Fs%2FAKfycby9kCiEQTX6KgUoblgurVM2Fy31e3zk2nuKMMNuAdUCYYp3uPGdE_KCwWY_j68oMwpH%2Fexec&query=%24.date&label=last%20tested&color=9146ff) [built with clasp]: https://img.shields.io/badge/built%20with-clasp-4285f4.svg [code style: prettier]: https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square diff --git a/docs/index.md b/docs/index.md index d265c94..503efb5 100644 --- a/docs/index.md +++ b/docs/index.md @@ -21,8 +21,9 @@ description: Download any user’s IG Stories to GDrive for free. Just need Goog {% include picture.html img="/images/instagram-to-drive_730x365_o55.jpg" width="730" height="365" alt="Instagram to Google Drive Automation" source="raw" %}
- - + + +
{:style="font-size:1.25rem;margin-top:2rem"}