Lint
This commit is contained in:
@@ -3,10 +3,8 @@
|
||||
import Icon from "@lib/components/Icon.svelte"
|
||||
import Button from "@lib/components/Button.svelte"
|
||||
|
||||
const hash = import.meta.env.VITE_BUILD_HASH
|
||||
const nprofile =
|
||||
"nprofile1qqsf03c2gsmx5ef4c9zmxvlew04gdh7u94afnknp33qvv3c94kvwxgspz4mhxue69uhhyetvv9ujuerpd46hxtnfduhsz9rhwden5te0wfjkcctev93xcefwdaexwtcpzdmhxue69uhhqatjwpkx2urpvuhx2ue0vamm57"
|
||||
const hodlbodPubkey = "97c70a44366a6535c145b333f973ea86dfdc2d7a99da618c40c64705ad98e322"
|
||||
</script>
|
||||
|
||||
<div class="hero min-h-screen bg-base-200">
|
||||
@@ -15,14 +13,12 @@
|
||||
<p class="text-center text-2xl">Thanks for using</p>
|
||||
<h1 class="mb-4 text-center text-5xl font-bold uppercase">Flotilla</h1>
|
||||
<div class="grid grid-cols-1 gap-8 lg:grid-cols-2">
|
||||
<div class="card2 shadow-2xl flex flex-col gap-2 text-center">
|
||||
<div class="card2 flex flex-col gap-2 text-center shadow-2xl">
|
||||
<h3 class="text-2xl sm:h-12">Support development</h3>
|
||||
<p class="sm:h-16">Funds will be used to support development.</p>
|
||||
<Button class="btn btn-primary">
|
||||
Zap the Developer
|
||||
</Button>
|
||||
<Button class="btn btn-primary">Zap the Developer</Button>
|
||||
</div>
|
||||
<div class="card2 shadow-2xl flex flex-col gap-2 text-center">
|
||||
<div class="card2 flex flex-col gap-2 text-center shadow-2xl">
|
||||
<h3 class="text-2xl sm:h-12">Get in touch</h3>
|
||||
<p class="sm:h-16">Having problems? Let us know by filing an issue.</p>
|
||||
<Link
|
||||
|
||||
@@ -1,12 +1,10 @@
|
||||
<script lang="ts">
|
||||
import {onMount} from 'svelte'
|
||||
import {readable} from 'svelte/store'
|
||||
import {displayRelayUrl, isShareableRelayUrl} from '@welshman/util'
|
||||
import type {SignedEvent} from '@welshman/util'
|
||||
import {onMount} from "svelte"
|
||||
import {readable} from "svelte/store"
|
||||
import {displayRelayUrl, isShareableRelayUrl} from "@welshman/util"
|
||||
import type {SignedEvent} from "@welshman/util"
|
||||
import Button from "@lib/components/Button.svelte"
|
||||
import Link from "@lib/components/Link.svelte"
|
||||
import Icon from "@lib/components/Icon.svelte"
|
||||
import {clip} from "@app/toast"
|
||||
import {DEFAULT_RELAYS, INDEXER_RELAYS} from "@app/base"
|
||||
import {searchRelays, subscribe, loadRelay} from "@app/state"
|
||||
|
||||
@@ -20,12 +18,12 @@
|
||||
|
||||
onMount(() => {
|
||||
const sub = subscribe({
|
||||
filters: [{kinds: [30166], '#N': ['29']}],
|
||||
filters: [{kinds: [30166], "#N": ["29"]}],
|
||||
relays: [...INDEXER_RELAYS, ...DEFAULT_RELAYS],
|
||||
})
|
||||
|
||||
sub.emitter.on('event', (url: string, event: SignedEvent) => {
|
||||
const d = event.tags.find(t => t[0] === 'd')?.[1] || ""
|
||||
sub.emitter.on("event", (url: string, event: SignedEvent) => {
|
||||
const d = event.tags.find(t => t[0] === "d")?.[1] || ""
|
||||
|
||||
if (isShareableRelayUrl(d)) {
|
||||
loadRelay(d)
|
||||
|
||||
Reference in New Issue
Block a user