Add terminal link

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

View file

@ -17,11 +17,15 @@ const posts = await getCollection("posts");
const NetweakPing = await fetch('https://status.sudovanilla.org/json'); const NetweakPing = await fetch('https://status.sudovanilla.org/json');
const NetweakStatus = await NetweakPing.json(); const NetweakStatus = await NetweakPing.json();
var StatusForCinny = NetweakStatus.services['25'].status
var StatusForCinny = NetweakStatus.services['25'].status var StatusForCinny = NetweakStatus.services['25'].status
var StatusForPhanpy = NetweakStatus.services['26'].status var StatusForPhanpy = NetweakStatus.services['26'].status
var StatusForAsciinema = NetweakStatus.services['27'].status
var StatusForOpengist = NetweakStatus.services['24'].status var StatusForOpengist = NetweakStatus.services['24'].status
var StatusForPingvin = NetweakStatus.services['22'].status var StatusForPingvin = NetweakStatus.services['22'].status
var StatusFor4Get = NetweakStatus.services['10'].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 StatusForTeddit = NetweakStatus.services['21'].status
var StatusForSafetwitch = NetweakStatus.services['20'].status var StatusForSafetwitch = NetweakStatus.services['20'].status
var StatusForHyperpipe = NetweakStatus.services['27'].status var StatusForHyperpipe = NetweakStatus.services['27'].status
@ -29,11 +33,6 @@ var StatusForRimgo = NetweakStatus.services['16'].status
var StatusForAnonymousoverflow = NetweakStatus.services['17'].status var StatusForAnonymousoverflow = NetweakStatus.services['17'].status
var StatusForQuetre = NetweakStatus.services['19'].status var StatusForQuetre = NetweakStatus.services['19'].status
var StatusForLibmedium = NetweakStatus.services['23'].status var StatusForLibmedium = NetweakStatus.services['23'].status
console.log(StatusForPingvin)
// Icons
import { BookmarkBook, ReportColumns } from "iconoir-react";
--- ---
<Default MobileTitle="Instances"> <Default MobileTitle="Instances">
@ -66,6 +65,14 @@ import { BookmarkBook, ReportColumns } from "iconoir-react";
</div> </div>
<Heading Title="Services"/> <Heading Title="Services"/>
<div style="display: grid; grid-template-columns: repeat(auto-fit,minmax(400px,1fr));"> <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 <Service
Icon="https://md.sudovanilla.org/images/icons/OpenGist.svg" Icon="https://md.sudovanilla.org/images/icons/OpenGist.svg"
Title="OpenGist" Title="OpenGist"
@ -90,6 +97,22 @@ import { BookmarkBook, ReportColumns } from "iconoir-react";
Source="https://git.lolcat.ca/lolcat/4get" Source="https://git.lolcat.ca/lolcat/4get"
Status={StatusFor4Get} 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> </div>
<Heading Title="Frontends"/> <Heading Title="Frontends"/>
<div style="display: grid; grid-template-columns: repeat(auto-fit,minmax(400px,1fr));"> <div style="display: grid; grid-template-columns: repeat(auto-fit,minmax(400px,1fr));">