+page.svelte (4322B)
1 <script lang="ts"> 2 import SupportLink from '../../lib/components/SupportLink.svelte'; 3 import ReportPreview from '../../lib/components/ReportPreview.svelte'; 4 import { 5 createGeneralReport, 6 type ReportContext 7 } from '../../lib/support/report.ts'; 8 import { deploymentRelayPolicy } from '../../lib/config/deployment-relays.ts'; 9 import { readRelayPolicy } from '../../lib/config/relays.ts'; 10 const sources = readRelayPolicy(deploymentRelayPolicy); 11 let report = $state.raw<ReportContext | undefined>(); 12 </script> 13 14 <svelte:head><title>About — HarvestCircle</title></svelte:head> 15 <div class="page page--reading stack"> 16 <h1>About HarvestCircle</h1> 17 <p>Find food listings and speak directly with the people who posted them.</p> 18 <section class="stack"> 19 <h2>How it works</h2> 20 <p> 21 Search without connecting. Connect a compatible Nostr extension to list 22 food or send a private message. 23 </p> 24 <p> 25 Messages do not reserve food or confirm an order. Payments are not handled 26 here. 27 </p> 28 </section> 29 <section class="stack"> 30 <h2>Before you make arrangements</h2> 31 <p> 32 Confirm the quantity, price and collection details with the seller. A 33 profile name is not farm verification. 34 </p> 35 </section> 36 <section id="help" class="stack"> 37 <h2>Help</h2> 38 <details class="disclosure"> 39 <summary>Connecting an extension</summary> 40 <p> 41 Use Connect extension, review the identity shown, and approve only the 42 action you chose. Connecting does not post a listing or send a message. 43 </p> 44 <p> 45 Listing food requires a reachable reply inbox. Messages need the 46 extension's private encryption and decryption capabilities and an 47 explicit unlock. 48 </p> 49 <p> 50 Without an available compatible extension, public browsing remains 51 available. The website does not generate or import an identity secret. 52 </p> 53 </details> 54 <details class="disclosure"> 55 <summary>Supported browsers and extensions</summary> 56 <p> 57 Real browser and extension combinations are still being qualified. No 58 supported tuple is claimed for this development build. 59 </p> 60 <p> 61 If the required capabilities are unavailable, posting and messages are 62 unavailable. Mobile extension support is not implied. 63 </p> 64 </details> 65 <details class="disclosure"> 66 <summary>Search sources and inboxes</summary> 67 {#if sources.public.length} 68 <p>Configured public sources:</p> 69 <ul> 70 {#each sources.public as source (source.origin)}<li 71 class="message-text" 72 > 73 {source.origin} 74 </li>{/each} 75 </ul> 76 {:else}<p>No production search sources have been approved.</p>{/if} 77 {#if sources.inbox.length} 78 <p>Configured private inbox sources:</p> 79 <ul> 80 {#each sources.inbox as source (source.origin)}<li 81 class="message-text" 82 > 83 {source.origin} 84 </li>{/each} 85 </ul> 86 {:else}<p>No production private inbox sources have been approved.</p>{/if} 87 <p> 88 Checks are bounded and can be incomplete. Selected sources can observe 89 query and account interests; inbox retention needs operator 90 confirmation. 91 </p> 92 </details> 93 </section> 94 <section class="stack"> 95 <h2>Listing rules</h2> 96 <p> 97 Use lawful food listings and truthful descriptions. Share public contact 98 information only with the contact person's consent. This prototype does 99 not certify food, farms or legal compliance. 100 </p> 101 </section> 102 <section id="report" class="stack"> 103 <h2>Report a problem</h2> 104 <p> 105 Share only information needed to explain the issue. Listing and 106 conversation controls let you review selected context. Private messages 107 are never attached automatically, and support cannot automatically decrypt 108 them. 109 </p> 110 <SupportLink /> 111 {#if report}<ReportPreview context={report} /> 112 {:else}<button 113 class="button button--secondary" 114 type="button" 115 onclick={() => { 116 report = createGeneralReport(); 117 }}>Prepare a report description</button 118 >{/if} 119 </section> 120 </div>