atmosphere explorer

change style of links in record view

+8 -3
+8 -3
src/components/json.tsx
··· 35 35 {(part) => ( 36 36 <> 37 37 {ATURI_RE.test(part) ? 38 - <A class="underline" href={`/${part}`}> 38 + <A class="text-lightblue-500 hover:underline" href={`/${part}`}> 39 39 {part} 40 40 </A> 41 41 : DID_RE.test(part) ? 42 - <A class="underline" href={`/at://${part}`}> 42 + <A class="text-lightblue-500 hover:underline" href={`/at://${part}`}> 43 43 {part} 44 44 </A> 45 45 : ( ··· 47 47 ["http:", "https:", "web+at:"].includes(new URL(part).protocol) && 48 48 part.split("\n").length === 1 49 49 ) ? 50 - <a class="underline" href={part} target="_blank" rel="noopener noreferrer"> 50 + <a 51 + class="text-lightblue-500 hover:underline" 52 + href={part} 53 + target="_blank" 54 + rel="noopener noreferrer" 55 + > 51 56 {part} 52 57 </a> 53 58 : part}