chore: added atproto links to now page
67fee82c
2 file(s) · +22 −2
| 135 | 135 | <div class="prose prose-invert max-w-none my-4"> |
|
| 136 | 136 | <Fragment set:html={contentHTML} /> |
|
| 137 | 137 | </div> |
|
| 138 | - | <p class="text-xs text-gray-400 mt-4 break-all">{atUri}</p> |
|
| 138 | + | <a href={`https://pdsls.dev/${atUri}`} target="_blank" rel="noreferrer" class="underline text-xs text-gray-400 mt-4 breat-all">{atUri}</a> |
|
| 139 | 139 | <div class="mt-12 flex items-center justify-between"> |
|
| 140 | 140 | <a class="style-link" href="/now">← Now</a> |
|
| 141 | 141 | <button |
| 1 | 1 | --- |
|
| 2 | 2 | import PageLayout from "@/layouts/Base"; |
|
| 3 | 3 | import NowUpdates from "@/components/NowUpdates"; |
|
| 4 | + | import { SOCIAL_LINKS } from "@/data/constants"; |
|
| 4 | 5 | ||
| 5 | 6 | const meta = { |
|
| 6 | 7 | title: "Now", |
|
| 22 | 23 | <p class="text-gray-400">Last updated: January 3rd, 2026</p> |
|
| 23 | 24 | <div class="flex flex-row justify-between items-center w-full pt-12 pb-6"> |
|
| 24 | 25 | <h2 class="title">Updates</h2> |
|
| 26 | + | <div class="flex gap-2 items-center"> |
|
| 25 | 27 | <a |
|
| 26 | 28 | class="inline-block p-2 sm:hover:text-link" |
|
| 27 | 29 | href="/now/rss.xml" |
|
| 41 | 43 | <g fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"><path d="M4 11a9 9 0 0 1 9 9M4 4a16 16 0 0 1 16 16"/><circle cx="5" cy="19" r="1"/></g> |
|
| 42 | 44 | </svg> |
|
| 43 | 45 | <span class="sr-only">RSS</span> |
|
| 44 | - | </a> |
|
| 46 | + | </a> |
|
| 47 | + | <a |
|
| 48 | + | class="flex items-center gap-4 p-2 sm:hover:text-link" |
|
| 49 | + | href={SOCIAL_LINKS.atproto} |
|
| 50 | + | target="_blank" |
|
| 51 | + | rel="noopener noreferrer" |
|
| 52 | + | > |
|
| 53 | + | <svg |
|
| 54 | + | class="h-6 w-6" stroke-width="1.5" stroke="currentColor" |
|
| 55 | + | viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"> |
|
| 56 | + | <g fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"> |
|
| 57 | + | <circle cx="12" cy="12" r="4"/> |
|
| 58 | + | <path d="M16 8v5a3 3 0 0 0 6 0v-1a10 10 0 1 0-4 8"/> |
|
| 59 | + | </g> |
|
| 60 | + | </svg> |
|
| 61 | + | </svg> |
|
| 62 | + | <span class="sr-only">ATProto</span> |
|
| 63 | + | </a> |
|
| 64 | + | </div> |
|
| 45 | 65 | </div> |
|
| 46 | 66 | <NowUpdates client:load /> |
|
| 47 | 67 | </div> |
|