diff --git a/src/lib/components/PublicationCard.svelte b/src/lib/components/PublicationCard.svelte
new file mode 100644
index 0000000..e4ccfd2
--- /dev/null
+++ b/src/lib/components/PublicationCard.svelte
@@ -0,0 +1,44 @@
+
+
+{#if countQuery.isFetching}
+
Fetching...
+{:else if countQuery.isSuccess}
+ {#if countQuery.data.documents > 0 || showEmpty}
+
+ {publication.value.name}
+ Go to Record
+
+
{countQuery.data.documents} Documents
+
{countQuery.data.subscribers} Subscribers
+
+
+ {/if}
+{/if}
diff --git a/src/lib/utils.ts b/src/lib/utils.ts
index af287a3..5b8767d 100644
--- a/src/lib/utils.ts
+++ b/src/lib/utils.ts
@@ -27,6 +27,11 @@ export type PublicationNode = Node & { value: {
url: string;
name: string;
description: string;
+ icon?: string;
+ preferences?: {
+ showInDiscover?: boolean;
+ hideProfile?: boolean;
+ }
}}
export type DocumentNode = Node & { value: {
diff --git a/src/routes/+page.svelte b/src/routes/+page.svelte
index 8073db2..3d8d4df 100644
--- a/src/routes/+page.svelte
+++ b/src/routes/+page.svelte
@@ -1,6 +1,7 @@
+
{#if publicationsQuery.isFetching}
Fetching...
{:else if publicationsQuery.isError}
Error
{:else}
{#each currentPage as publication (publication.uri)}
- {publication.value.url}
+
{/each}
{/if}
-