Barazo default frontend barazo.forum
2
fork

Configure Feed

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

feat(layout): add "Your Data" link to footer navigation (#184)

* chore: add .claude/worktrees to gitignore

* feat(layout): add "Your Data" link to footer navigation

Link to the seed "Your Data" page (/p/your-data) from the forum footer,
positioned first in the footer nav to surface AT Protocol's public data
model prominently.

authored by

Guido X Jansen and committed by
GitHub
eccb916f 665cd3e7

+12 -1
+7 -1
src/components/layout/forum-layout.test.tsx
··· 165 165 expect(logos.length).toBeGreaterThan(0) 166 166 }) 167 167 168 + it('links footer your data to /p/your-data', () => { 169 + render(<ForumLayout>Content</ForumLayout>) 170 + const yourDataLink = screen.getByRole('link', { name: /your data/i }) 171 + expect(yourDataLink).toHaveAttribute('href', '/p/your-data') 172 + }) 173 + 168 174 it('links footer privacy to /p/privacy-policy', () => { 169 175 render(<ForumLayout>Content</ForumLayout>) 170 - const privacyLink = screen.getByRole('link', { name: /privacy/i }) 176 + const privacyLink = screen.getByRole('link', { name: /^privacy$/i }) 171 177 expect(privacyLink).toHaveAttribute('href', '/p/privacy-policy') 172 178 }) 173 179
+5
src/components/layout/forum-layout.tsx
··· 135 135 <nav aria-label="Footer"> 136 136 <ul className="flex gap-4"> 137 137 <li> 138 + <Link href="/p/your-data" className="transition-colors hover:text-foreground"> 139 + Your Data 140 + </Link> 141 + </li> 142 + <li> 138 143 <Link href="/p/accessibility" className="transition-colors hover:text-foreground"> 139 144 Accessibility 140 145 </Link>