From e58a10149f2c6b250cb57bb8aa43a73b104d96ae Mon Sep 17 00:00:00 2001 From: Tommaso Casaburi Date: Sun, 17 May 2026 16:46:27 +0700 Subject: [PATCH] fix(home): route support link to pass page --- src/views/home/__tests__/home.test.tsx | 1 + src/views/home/home.tsx | 4 +--- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/views/home/__tests__/home.test.tsx b/src/views/home/__tests__/home.test.tsx index 2ca6cf1c..f6863d6b 100644 --- a/src/views/home/__tests__/home.test.tsx +++ b/src/views/home/__tests__/home.test.tsx @@ -128,6 +128,7 @@ describe('Home', () => { expect(container.textContent).toContain('current_users 7'); expect(container.textContent).toContain('boards_tracked 2'); expect(container.querySelector('[data-testid="site-legal-meta"]')?.textContent).toBe('site-legal-meta'); + expect(container.querySelector('a[href="/pass"]')?.textContent).toBe('support_5chan'); }); it('navigates to the canonical board path when the search form is submitted', async () => { diff --git a/src/views/home/home.tsx b/src/views/home/home.tsx index dd0026ac..b20137c7 100644 --- a/src/views/home/home.tsx +++ b/src/views/home/home.tsx @@ -158,9 +158,7 @@ export const Footer = () => {
  • - - {t('support_5chan')} - + {t('support_5chan')}