atproto explorer

add go to repo in account manager

+12 -11
+12 -6
src/components/account.tsx
··· 7 7 import { createStore } from "solid-js/store"; 8 8 import { Client, CredentialManager } from "@atcute/client"; 9 9 import { Modal } from "./modal.jsx"; 10 + import { A } from "@solidjs/router"; 10 11 11 12 const AccountManager = () => { 12 13 const [openManager, setOpenManager] = createSignal(false); ··· 86 87 <span class="iconify lucide--check shrink-0"></span> 87 88 </Show> 88 89 </button> 89 - <button 90 - onclick={() => removeSession(did as Did)} 91 - class="flex items-center p-1.5 hover:text-red-500 hover:dark:text-red-400" 92 - > 93 - <span class="iconify lucide--user-round-x text-lg"></span> 94 - </button> 90 + <div class="flex items-center gap-1"> 91 + <A href={`/at://${did}`} class="flex items-center p-1"> 92 + <span class="iconify lucide--book-user text-lg"></span> 93 + </A> 94 + <button 95 + onclick={() => removeSession(did as Did)} 96 + class="flex items-center p-1 hover:text-red-500 hover:dark:text-red-400" 97 + > 98 + <span class="iconify lucide--user-round-x text-lg"></span> 99 + </button> 100 + </div> 95 101 </div> 96 102 )} 97 103 </For>
-5
src/layout.tsx
··· 49 49 <Tooltip text="Relay"> 50 50 <A href="/jetstream" class="iconify lucide--radio-tower text-xl"></A> 51 51 </Tooltip> 52 - <Show when={agent()}> 53 - <Tooltip text="Go to repo"> 54 - <A href={`/at://${agent()?.sub}`} class="iconify lucide--book-user text-xl"></A> 55 - </Tooltip> 56 - </Show> 57 52 </div> 58 53 <div class="flex basis-1/3 justify-center"> 59 54 <A