diff --git a/.statusrc.yml b/.statusrc.yml index cd47479e..a932aeb3 100644 --- a/.statusrc.yml +++ b/.statusrc.yml @@ -17,5 +17,5 @@ status-website: cname: up.js.org logoUrl: https://avatars3.githubusercontent.com/u/65495851?s=88&v=4 name: Koj Status - introTitle: Up.js is the open-source uptime monitor and status page, powered entirely by GitHub. - introMessage: This is a sample status page which uses **real-time** data from our [Github repository](https://github.com/koj-co/up.js). + introTitle: "**Up.js** is the open-source uptime monitor and status page, powered entirely by GitHub." + introMessage: This is a sample status page which uses **real-time** data from our [Github repository](https://github.com/koj-co/up.js). Literally, no server required, it's just GitHub Actions, Issues, and Pages. diff --git a/site/src/routes/index.svelte b/site/src/routes/index.svelte index 23405678..92830ae4 100644 --- a/site/src/routes/index.svelte +++ b/site/src/routes/index.svelte @@ -2,11 +2,32 @@ import ActiveIncidents from "../components/ActiveIncidents.svelte"; import Incidents from "../components/Incidents.svelte"; import config from "../data/config.json"; + import snarkdown from "snarkdown"; + + Koj Status -{JSON.stringify(config)} + +
+ {#if config['status-website']} +

+ {@html snarkdown(config['status-website'].introTitle)} +

+

+ {@html snarkdown(config['status-website'].introMessage)} +

+ {/if} +
+