Add terminal link

This commit is contained in:
Korbs 2024-06-06 20:08:31 -04:00
parent 16bec7e29e
commit ad9272cfec

View file

@ -17,23 +17,22 @@ const posts = await getCollection("posts");
const NetweakPing = await fetch('https://status.sudovanilla.org/json');
const NetweakStatus = await NetweakPing.json();
var StatusForCinny = NetweakStatus.services['25'].status
var StatusForCinny = NetweakStatus.services['25'].status
var StatusForPhanpy = NetweakStatus.services['26'].status
var StatusForAsciinema = NetweakStatus.services['27'].status
var StatusForOpengist = NetweakStatus.services['24'].status
var StatusForPingvin = NetweakStatus.services['22'].status
var StatusFor4Get = NetweakStatus.services['10'].status
var StatusForFreshRSS = NetweakStatus.services['28'].status
var StatusForMiniflux = NetweakStatus.services['29'].status
var StatusForTeddit = NetweakStatus.services['21'].status
var StatusForSafetwitch = NetweakStatus.services['20'].status
var StatusForHyperpipe = NetweakStatus.services['27'].status
var StatusForRimgo = NetweakStatus.services['16'].status
var StatusForAnonymousoverflow = NetweakStatus.services['17'].status
var StatusForQuetre = NetweakStatus.services['19'].status
var StatusForLibmedium = NetweakStatus.services['23'].status
console.log(StatusForPingvin)
// Icons
import { BookmarkBook, ReportColumns } from "iconoir-react";
var StatusForLibmedium = NetweakStatus.services['23'].status
---
<Default MobileTitle="Instances">
@ -66,6 +65,14 @@ import { BookmarkBook, ReportColumns } from "iconoir-react";
</div>
<Heading Title="Services"/>
<div style="display: grid; grid-template-columns: repeat(auto-fit,minmax(400px,1fr));">
<Service
Icon="https://md.sudovanilla.org/images/icons/asciinema.svg"
Title="Asciinema"
Description="Terminal Recordings"
Link="https://tr.sudovanilla.org/"
Source="https://github.com/asciinema/asciinema"
Status={StatusForAsciinema}
/>
<Service
Icon="https://md.sudovanilla.org/images/icons/OpenGist.svg"
Title="OpenGist"
@ -90,6 +97,22 @@ import { BookmarkBook, ReportColumns } from "iconoir-react";
Source="https://git.lolcat.ca/lolcat/4get"
Status={StatusFor4Get}
/>
<Service
Icon="https://md.sudovanilla.org/images/icons/FreshRSS.svg"
Title="FreshRSS"
Description="RSS Feed"
Link="https://fr.sudovanilla.org/"
Source="https://github.com/FreshRSS/FreshRSS"
Status={StatusForFreshRSS}
/>
<Service
Icon="https://md.sudovanilla.org/images/icons/minflux.png"
Title="Miniflux"
Description="RSS Feed"
Link="https://mf.sudovanilla.org/"
Source="https://github.com/miniflux/v2"
Status={StatusForMiniflux}
/>
</div>
<Heading Title="Frontends"/>
<div style="display: grid; grid-template-columns: repeat(auto-fit,minmax(400px,1fr));">