Skip to content

Commit 7332ca8

Browse files
authored
Implement Hot ranking (#119)
Closes #6
1 parent c09aa14 commit 7332ca8

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

ui/routes/Layout.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,11 @@ const Layout = ({ children, params, location }) => (
1818
href="/feed/top"
1919
active={location.pathname === '/' || params.type === 'top'}
2020
/>
21+
<NavbarLink
22+
title="Hot"
23+
href="/feed/hot"
24+
active={params.type === 'hot'}
25+
/>
2126
<NavbarLink
2227
title="New"
2328
href="/feed/new"

0 commit comments

Comments
 (0)