diff --git a/src/lib/components/ui/navbar/link.ts b/src/lib/components/ui/navbar/link.ts index 30dc1e94..ccd99fc7 100644 --- a/src/lib/components/ui/navbar/link.ts +++ b/src/lib/components/ui/navbar/link.ts @@ -13,6 +13,9 @@ import { ServerStack, PencilSquare, MapPin, + Fire, + ArrowTrendingUp, + Star, } from 'svelte-hero-icons' import { get } from 'svelte/store' @@ -38,6 +41,22 @@ export const defaultLinks: Link[] = [ url: '/?type=Subscribed', label: t.get('filter.location.subscribed'), }, + { + url: '/?type=All&sort=Hot', + label: t.get('filter.sort.hot'), + }, + { + url: '/?type=All&sort=Active', + label: t.get('filter.sort.active'), + }, + { + url: '/?type=All&sort=TopDay', + label: t.get('filter.sort.top.time.day'), + }, + { + url: '/?type=All&sort=New', + label: t.get('filter.sort.new'), + }, { url: '/communities', label: t.get('nav.communities'), @@ -74,6 +93,14 @@ export const iconOfLink = (url: string): IconSource => { return Newspaper case '/?type=Local': return MapPin + case '/?type=All&sort=Hot': + return Fire + case '/?type=All&sort=Active': + return ArrowTrendingUp + case '/?type=All&sort=TopDay': + return ChartBar + case '/?type=All&sort=New': + return Star case '/communities': return GlobeAlt case '/search':