atproto explorer

add jetstream shortcuts

+20 -4
+8
src/views/collection.tsx
··· 205 205 </Show> 206 206 </div> 207 207 </Show> 208 + <Tooltip text="Jetstream"> 209 + <A 210 + href={`/jetstream?collections=${params.collection}&dids=${params.repo}`} 211 + class="flex items-center" 212 + > 213 + <span class="iconify lucide--radio-tower text-lg"></span> 214 + </A> 215 + </Tooltip> 208 216 <TextInput 209 217 placeholder="Filter by substring" 210 218 class="w-full"
+12 -4
src/views/repo.tsx
··· 306 306 </ErrorBoundary> 307 307 </Show> 308 308 <Show when={nsids() && (!location.hash || location.hash === "#collections")}> 309 - <TextInput 310 - placeholder="Filter collections" 311 - onInput={(e) => setFilter(e.currentTarget.value)} 312 - /> 309 + <div class="flex items-center gap-2"> 310 + <Tooltip text="Jetstream"> 311 + <A href={`/jetstream?dids=${params.repo}`} class="flex items-center"> 312 + <span class="iconify lucide--radio-tower text-lg"></span> 313 + </A> 314 + </Tooltip> 315 + <TextInput 316 + placeholder="Filter collections" 317 + onInput={(e) => setFilter(e.currentTarget.value)} 318 + class="grow" 319 + /> 320 + </div> 313 321 <div class="flex flex-col font-mono"> 314 322 <div class="grid grid-cols-[min-content_1fr] items-center gap-x-2 overflow-hidden text-sm"> 315 323 <For