frontend for xcvr appview

bepbeepbepe

+21 -21
+21 -21
src/routes/c/[handle]/[rkey]/+page.svelte
··· 38 38 </script> 39 39 40 40 <main id="transceiver"> 41 - {#if data.channelView} 42 - <h1> 43 - {data.channelView.title} 44 - </h1> 45 - {/if} 46 - {#if ctx?.topic} 47 - <div>{ctx?.topic}</div> 48 - {/if} 49 - <div> 50 - <a href="history"> view history </a> 51 - </div> 52 - {#if !ctx?.connected} 53 - <div> 54 - loading... probably something went wrong if you can read me, maybe 55 - refresh? 56 - </div> 57 - {/if} 58 41 {#if ctx} 59 42 <Receiever 60 43 messages={ctx.messages} ··· 81 64 <Console log={ctx.log} /> 82 65 {/if} 83 66 </main> 84 - {#if ctx && showSettings} 85 - <aside style:--theme={numToHex(ctx.color)}> 67 + <aside style:--theme={numToHex(ctx.color)}> 68 + {#if data.channelView} 69 + <h1> 70 + {data.channelView.title} 71 + </h1> 72 + {/if} 73 + {#if ctx?.topic} 74 + <h2>{ctx?.topic}</h2> 75 + {/if} 76 + <div> 77 + <a href="history"> view history </a> 78 + </div> 79 + {#if !ctx?.connected} 80 + <div> 81 + loading... probably something went wrong if you can read me, maybe 82 + refresh? 83 + </div> 84 + {/if} 85 + {#if ctx && showSettings} 86 86 <h2>message obfuscation</h2> 87 87 <p>in case you want to be forgotten...</p> 88 88 <div id="obfuscation-settings"> ··· 131 131 /> 132 132 </div> 133 133 </div> 134 - </aside> 135 - {/if} 134 + {/if} 135 + </aside> 136 136 137 137 <style> 138 138 #transceiver {