commit f7ece5dfb744423ed064e539f4f0b2aa68f9b1c0
parent c07329814e9b446e5bcb7a022a3d0d41d4860667
Author: Andreas Gruhler <andreas.gruhler@adfinis.com>
Date: Mon, 27 Mar 2023 00:15:14 +0200
feat: add obs badges
Diffstat:
2 files changed, 36 insertions(+), 1 deletion(-)
diff --git a/assets/scss/_layout.scss b/assets/scss/_layout.scss
@@ -54,6 +54,15 @@ hr {
float: right;
}
+.download td {
+ border: none;
+}
+
+.download a {
+ color: rgba(51, 51, 51, 0.8) !important;
+ font-weight: bold;
+}
+
.link {
color: $blue-color;
padding-bottom: .05em;
diff --git a/index.html b/index.html
@@ -18,7 +18,33 @@ title: Home
</header>
<div class="page-content">
<ol class="default-ol">
- <li>Download and install the diary from <a href="https://software.opensuse.org/download.html?project=home%3Ain0rdr&package=diary">here</a>.</li>
+ <li>
+ <p>
+ Download and install the diary from the Open Build Service:
+ </p>
+ <table class="download">
+ <tr>
+ <td>
+ <a href="https://software.opensuse.org/download.html?project=home%3Ain0rdr&package=diary">📦 stable</a>
+ </td>
+ <td>
+ <a href="https://build.opensuse.org/package/show/home:in0rdr/diary">
+ <img alt="diary build result" src="https://build.opensuse.org/projects/home:in0rdr/packages/diary/badge.svg?type=percent">
+ </a>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <a href="https://software.opensuse.org/download.html?project=home%3Ain0rdr&package=diary-nightly">🌜 nightly</a>
+ </td>
+ <td>
+ <a href="https://build.opensuse.org/package/show/home:in0rdr/diary-nightly">
+ <img alt="diary-nightly build result" src="https://build.opensuse.org/projects/home:in0rdr/packages/diary-nightly/badge.svg?type=percent">
+ </a>
+ </td>
+ </tr>
+ </table>
+ </li>
<li>
<p>Set the EDITOR environment variable to your favourite text editor:</p>
<p><code>export EDITOR=vim</code></p>