grain.social is a photo sharing platform built on atproto. grain.social
atproto photography appview
57
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix: show not-found with Bluesky fallback for non-Grain users

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

+8
+8
app/routes/profile/[did]/+page.svelte
··· 125 125 <div style="margin-top: 6px"><Skeleton width="120px" height="14px" /></div> 126 126 </div> 127 127 </div> 128 + {:else if profile.data && !profile.data.cid} 129 + <DetailHeader label="Not Found" /> 130 + <div class="not-found"> 131 + <p>This user doesn't have a Grain profile yet.</p> 132 + <a class="bsky-link" href="https://bsky.app/profile/{did}" target="_blank" rel="noopener noreferrer"> 133 + View on Bluesky <ArrowUpRight size={14} /> 134 + </a> 135 + </div> 128 136 {:else if profile.data} 129 137 {@const p = profile.data} 130 138 <OGMeta title="{p.displayName || p.handle || 'Profile'} (@{p.handle || did}) — Grain" description="{p.handle ? `@${p.handle}` : did} on Grain" image="/og/profile/{did}" />