Skip to content

Commit 361ff92

Browse files
committed
feat(navbar): link Songs tab to search page with no query
Allows browsing all the songs on the website, as opposed to just leading to the homepage (which the website's logo already does).
1 parent 2d79c6c commit 361ff92

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

  • apps/frontend/src/modules/shared/components/layout

apps/frontend/src/modules/shared/components/layout/Header.tsx

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,12 @@ export async function Header() {
5959

6060
{/* Info pages */}
6161
<div className='flex flex-1 justify-center gap-1 h-8 text-center'>
62-
<BlockTab href='/' icon={faMusic} label='Songs' color='purple' />
62+
<BlockTab
63+
href='/search'
64+
icon={faMusic}
65+
label='Songs'
66+
color='purple'
67+
/>
6368
<BlockTab
6469
href='/help'
6570
icon={faQuestionCircle}

0 commit comments

Comments
 (0)