mirror of
https://github.com/yangshun/tech-interview-handbook.git
synced 2025-07-28 04:33:42 +08:00
[resumes][feat] change to mostComments
This commit is contained in:
@ -517,7 +517,7 @@ export default function ResumeHomePage() {
|
||||
</div>
|
||||
</div>
|
||||
<div className="relative lg:left-64 lg:w-[calc(100%-16rem)]">
|
||||
<div className="lg:border-grey-200 sticky top-0 z-10 z-0 flex flex-wrap items-center justify-between pt-6 pb-2 lg:border-b">
|
||||
<div className="lg:border-grey-200 sticky top-0 z-0 flex flex-wrap items-center justify-between pt-6 pb-2 lg:border-b">
|
||||
<div className="border-grey-200 mb-4 flex w-full justify-between border-b pb-2 lg:mb-0 lg:w-auto lg:border-none lg:pb-0">
|
||||
<div>
|
||||
<Tabs
|
||||
|
@ -39,7 +39,7 @@ export type Filter = {
|
||||
export type FilterState = Partial<CustomFilter> &
|
||||
Record<FilterId, Array<FilterValue>>;
|
||||
|
||||
export type SortOrder = 'latest' | 'popular' | 'topComments';
|
||||
export type SortOrder = 'latest' | 'mostComments' | 'popular';
|
||||
|
||||
export type Shortcut = {
|
||||
customFilters?: CustomFilter;
|
||||
@ -63,7 +63,7 @@ export const BROWSE_TABS_VALUES = {
|
||||
export const SORT_OPTIONS: Array<FilterOption<SortOrder>> = [
|
||||
{ label: 'Latest', value: 'latest' },
|
||||
{ label: 'Popular', value: 'popular' },
|
||||
{ label: 'Top Comments', value: 'topComments' },
|
||||
{ label: 'Most Comments', value: 'mostComments' },
|
||||
];
|
||||
|
||||
export const ROLES: Array<FilterOption<RoleFilter>> = [
|
||||
|
Reference in New Issue
Block a user