mirror of
https://github.com/vinliao/nashboard-old.git
synced 2025-12-17 04:35:15 +01:00
add built
This commit is contained in:
8
src/lib/Built.svelte
Normal file
8
src/lib/Built.svelte
Normal file
@@ -0,0 +1,8 @@
|
||||
<div class="rounded-md shadow p-3 bg-white">
|
||||
<span class="block text-center text-neutral-500"
|
||||
>Built by <a
|
||||
href="https://twitter.com/Liaoesque"
|
||||
class="font-bold hover:underline">@Liaoesque</a
|
||||
></span
|
||||
>
|
||||
</div>
|
||||
@@ -1,20 +0,0 @@
|
||||
export const unixTime = Math.floor(Date.now() / 1000);
|
||||
export const unixTimeMinus24h = unixTime - 60 * 60 * 24;
|
||||
export const unixTimeMinus1h = unixTime - 60 * 60;
|
||||
|
||||
// taken from github.com/fiatjaf/nostr-relay-registry
|
||||
export const relays = [
|
||||
"wss://nostr-pub.wellorder.net",
|
||||
"wss://relayer.fiatjaf.com",
|
||||
"wss://nostr.rocks",
|
||||
"wss://rsslay.fiatjaf.com",
|
||||
"wss://freedom-relay.herokuapp.com/ws",
|
||||
"wss://nostr-relay.freeberty.net",
|
||||
"wss://nostr.bitcoiner.social",
|
||||
"wss://nostr-relay.wlvs.space",
|
||||
"wss://nostr.onsats.org",
|
||||
"wss://nostr-relay.untethr.me",
|
||||
"wss://nostr-verified.wellorder.net",
|
||||
"wss://nostr.drss.io",
|
||||
"wss://nostr.unknown.place",
|
||||
];
|
||||
@@ -15,6 +15,7 @@
|
||||
<script>
|
||||
export let data = {};
|
||||
import Activity from "$lib/Activity.svelte";
|
||||
import Built from "$lib/Built.svelte";
|
||||
import Count from "$lib/Count.svelte";
|
||||
import Pie from "$lib/Pie.svelte";
|
||||
import Relay from "$lib/Relay.svelte";
|
||||
@@ -36,6 +37,8 @@
|
||||
|
||||
<Activity networkActivity={data.utc} />
|
||||
<Relay relayData={data.relays} />
|
||||
|
||||
<Built/>
|
||||
</div>
|
||||
|
||||
<div class="rounded-md shadow p-3 bg-white sm:w-1/2">
|
||||
|
||||
Reference in New Issue
Block a user