navigation の lexicon
思いつき
Feb 16, 2026 · 1 min read
般的なウェブサイトの場合、画面の上方にナビゲーションバーやハンバーガーメニューによって、サイトの大まかなカテゴリへのリンクが表示される。
たとえば、「トップページ」「このサイトについて」「新着情報」「リンク集」とかのサブページへのリンクが並ぶ。
さて、Atmosphere上でいろんなコンテンツを展開するとする。「このサイトについて」は site.standard.document で、「新着情報」は app.bsky.post の feed で、「リンク集」は blue.linkat.board といったコレクションに格納され、別々の AppView (ドメイン) で表示される。
たとえば、 example.jp というドメインのハンドルを持つ人の各コレクションは
- example-jp.leaflet.pub
- bsky.app/profile/example.jp
- linkat.blue/example.jp
というURLでアクセスしたページに表示される。
ちょっとしたウェブアプリを作ってそれぞれのコレクションを引っ張ってきて、
- example.jp/news
- example.jp/post
- example.jp/link
みたいなURLで公開するのがかっこいいのだけど、
[
{
"label": "TOP",
"url": "https://example.jp/"
},
{
"label": "このサイトについて",
"url:" "https://example-jp.leaflet.pub/abcdef123",
"aturi": "at://did:plc:XXXXX/site.standard.document/abcdef123"
},
{
"label": "新着情報",
"url": "https://bsky.app/profile/example.jp",
"aturi": "at://did:plc:XXXXX/app.bsky.feed.post"
},
{
"label": "リンク集",
"url": "https://linkat.blue/example.jp",
"aturi": "at://did:plc:XXXXX/blue.linkat.board/self"
}
]みたいなデータが得られるlexiconを考えてPDSに格納しておけば、Atmosphere のアプリがこのデータを元にいい感じのナビゲーションバーなりハンバーガーメニューを表示してくれないかな。
Did this enjoy this document?
Give it a heart — Standard Reader surfaces well-loved writing to more readers across the network.