diff --git a/src/routes/+page.svelte b/src/routes/+page.svelte index 89c4ec3..276fbb6 100644 --- a/src/routes/+page.svelte +++ b/src/routes/+page.svelte @@ -2,31 +2,31 @@ import Container from '$lib/components/Container.svelte' import ReposSummaryList from '$lib/components/ReposSummaryList.svelte' import ProposalsList from '$lib/components/proposals/ProposalsList.svelte' - import { summary_defaults, type RepoEvent, type RepoSummary } from '$lib/components/repo/type' + import { + summary_defaults, + type RepoEvent, + type RepoSummary, + } from '$lib/components/repo/type' import { repo_kind } from '$lib/kinds' import { ensureProposalSummaries, proposal_summaries, } from '$lib/stores/Proposals' - import { - ensureRepo, - ensureRepoCollection, - repoCollectionToSummary, - repoEventToSummary, - returnRepo, - } from '$lib/stores/repos' -import { writable, type Writable } from 'svelte/store' + import { ensureRepo, repoEventToSummary } from '$lib/stores/repos' + import { writable, type Writable } from 'svelte/store' ensureProposalSummaries(undefined) - + let example_repos: Writable = writable([]) const updateRepos = (r: RepoEvent) => { - example_repos.update(repos => { + example_repos.update((repos) => { return [ - ...repos.filter((s) => s.identifier.length > 0 && s.identifier !== r.identifier), + ...repos.filter( + (s) => s.identifier.length > 0 && s.identifier !== r.identifier + ), repoEventToSummary(r) || { - ...summary_defaults, - }, + ...summary_defaults, + }, ].sort() }) } @@ -39,24 +39,6 @@ import { writable, type Writable } from 'svelte/store' ).subscribe(updateRepos) - -
@@ -75,104 +57,108 @@ import { writable, type Writable } from 'svelte/store' -
-
-
-
-

nostr

-
-
- An open protocol that is able to create a censorship resistant global - "social" network once and for all +
+
+
+
+
+

nostr

+
+
+ An open protocol that is able to create a censorship resistant + global "social" network once and for all +
-
-
-
-
-

- ngit -

-
-
- a NIP34 compatible command line tool to send and review git patches - via nostr. more... +
+
+
+

+ ngit +

+
+
+ a NIP34 compatible command line tool to send and review git patches + via nostr. more... +
-
-
-
-
-

- any git server -

-
-
- to host the authoritative code. eg. Gitea, Github, Gitlab, - BitBucket... +
+
+
+

+ any git server +

+
+
+ to host the authoritative code. eg. Gitea, Github, Gitlab, + BitBucket... +
-
-