misc: add top icons
This commit is contained in:
1 parent
8d1dc7468f
commit
c9281d0486
1 file changed
+77
-7
@@ -10,14 +10,19 @@
|
|||||||
import {
|
import {
|
||||||
ArrowTrendingDown,
|
ArrowTrendingDown,
|
||||||
ArrowTrendingUp,
|
ArrowTrendingUp,
|
||||||
|
Calendar,
|
||||||
|
CalendarDateRange,
|
||||||
|
CalendarDays,
|
||||||
ChartBar,
|
ChartBar,
|
||||||
ChatBubbleLeftRight,
|
ChatBubbleLeftRight,
|
||||||
ChatBubbleOvalLeft,
|
ChatBubbleOvalLeft,
|
||||||
Clock,
|
Clock,
|
||||||
Fire,
|
Fire,
|
||||||
Icon,
|
Icon,
|
||||||
|
PlusCircle,
|
||||||
Scale,
|
Scale,
|
||||||
Star,
|
Star,
|
||||||
|
Sun,
|
||||||
Trophy,
|
Trophy,
|
||||||
} from 'svelte-hero-icons'
|
} from 'svelte-hero-icons'
|
||||||
import { backOut } from 'svelte/easing'
|
import { backOut } from 'svelte/easing'
|
||||||
@@ -148,24 +153,89 @@
|
|||||||
<Icon src={Clock} size="15" mini />
|
<Icon src={Clock} size="15" mini />
|
||||||
{$t('filter.sort.top.time.label')}
|
{$t('filter.sort.top.time.label')}
|
||||||
</span>
|
</span>
|
||||||
<option value="TopAll">{$t('filter.sort.top.time.all')}</option>
|
<option value="TopAll">
|
||||||
|
<Icon
|
||||||
|
src={PlusCircle}
|
||||||
|
size="16"
|
||||||
|
mini
|
||||||
|
class="text-slate-600 dark:text-zinc-400"
|
||||||
|
/>{$t('filter.sort.top.time.all')}
|
||||||
|
</option>
|
||||||
<option value="TopNineMonths">
|
<option value="TopNineMonths">
|
||||||
|
<Icon
|
||||||
|
src={Calendar}
|
||||||
|
size="16"
|
||||||
|
mini
|
||||||
|
class="text-slate-600 dark:text-zinc-400"
|
||||||
|
/>
|
||||||
{$t('filter.sort.top.time.9months')}
|
{$t('filter.sort.top.time.9months')}
|
||||||
</option>
|
</option>
|
||||||
<option value="TopSixMonths">
|
<option value="TopSixMonths">
|
||||||
|
<Icon
|
||||||
|
src={Calendar}
|
||||||
|
size="16"
|
||||||
|
mini
|
||||||
|
class="text-slate-600 dark:text-zinc-400"
|
||||||
|
/>
|
||||||
{$t('filter.sort.top.time.6months')}
|
{$t('filter.sort.top.time.6months')}
|
||||||
</option>
|
</option>
|
||||||
<option value="TopThreeMonths">
|
<option value="TopThreeMonths">
|
||||||
|
<Icon
|
||||||
|
src={Calendar}
|
||||||
|
size="16"
|
||||||
|
mini
|
||||||
|
class="text-slate-600 dark:text-zinc-400"
|
||||||
|
/>
|
||||||
{$t('filter.sort.top.time.3months')}
|
{$t('filter.sort.top.time.3months')}
|
||||||
</option>
|
</option>
|
||||||
<option value="TopMonth">{$t('filter.sort.top.time.month')}</option>
|
<option value="TopMonth">
|
||||||
<option value="TopWeek">{$t('filter.sort.top.time.week')}</option>
|
<Icon
|
||||||
<option value="TopDay">{$t('filter.sort.top.time.day')}</option>
|
src={CalendarDays}
|
||||||
|
size="16"
|
||||||
|
mini
|
||||||
|
class="text-slate-600 dark:text-zinc-400"
|
||||||
|
/>{$t('filter.sort.top.time.month')}
|
||||||
|
</option>
|
||||||
|
<option value="TopWeek">
|
||||||
|
<Icon
|
||||||
|
src={CalendarDateRange}
|
||||||
|
size="16"
|
||||||
|
mini
|
||||||
|
class="text-slate-600 dark:text-zinc-400"
|
||||||
|
/>{$t('filter.sort.top.time.week')}
|
||||||
|
</option>
|
||||||
|
<option value="TopDay">
|
||||||
|
<Icon
|
||||||
|
src={Sun}
|
||||||
|
size="16"
|
||||||
|
mini
|
||||||
|
class="text-slate-600 dark:text-zinc-400"
|
||||||
|
/>{$t('filter.sort.top.time.day')}
|
||||||
|
</option>
|
||||||
<option value="TopTwelveHour">
|
<option value="TopTwelveHour">
|
||||||
{$t('filter.sort.top.time.12hours')}
|
<Icon
|
||||||
|
src={Clock}
|
||||||
|
size="16"
|
||||||
|
mini
|
||||||
|
class="text-slate-600 dark:text-zinc-400"
|
||||||
|
/>{$t('filter.sort.top.time.12hours')}
|
||||||
|
</option>
|
||||||
|
<option value="TopSixHour">
|
||||||
|
<Icon
|
||||||
|
src={Clock}
|
||||||
|
size="16"
|
||||||
|
mini
|
||||||
|
class="text-slate-600 dark:text-zinc-400"
|
||||||
|
/>{$t('filter.sort.top.time.6hours')}
|
||||||
|
</option>
|
||||||
|
<option value="TopHour">
|
||||||
|
<Icon
|
||||||
|
src={Clock}
|
||||||
|
size="16"
|
||||||
|
mini
|
||||||
|
class="text-slate-600 dark:text-zinc-400"
|
||||||
|
/>{$t('filter.sort.top.time.hour')}
|
||||||
</option>
|
</option>
|
||||||
<option value="TopSixHour">{$t('filter.sort.top.time.6hours')}</option>
|
|
||||||
<option value="TopHour">{$t('filter.sort.top.time.hour')}</option>
|
|
||||||
</Select>
|
</Select>
|
||||||
</div>
|
</div>
|
||||||
{/if}
|
{/if}
|
||||||
|
|||||||
Reference in new issue
Block a user