app

Local-first trade for farms and co-ops
git clone https://radroots.dev/git/app.git
Log | Files | Refs | README | LICENSE

PublisherIdentity.svelte (447B)


      1 <script lang="ts">
      2   import type { PublisherView } from '../catalog/publishers.ts';
      3   import Disclosure from './primitives/Disclosure.svelte';
      4   let { publisher }: { publisher: PublisherView } = $props();
      5 </script>
      6 
      7 <p>{publisher.label}</p>
      8 <Disclosure summary="Publisher identity">
      9   {#if publisher.assertedName}<p>
     10       This name is asserted by the publisher.
     11     </p>{/if}
     12   <p>Publisher key: <code>{publisher.pubkey}</code></p>
     13 </Disclosure>