misc: add new pins
This commit is contained in:
1 parent
e1158bf8e0
commit
02912341f8
1 file changed
+27
@@ -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':
|
||||
|
||||
Reference in new issue
Block a user