feat: 调整 Feed 排序为新评论/新帖子/推荐帖

默认按新评论;推荐排序优先 featured,并将用户可见「精华」文案改为「推荐」。

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-09-01 01:59:01 +08:00
parent 132ca5c82c
commit ba60a9b1c4
13 changed files with 44 additions and 40 deletions

View File

@@ -1,4 +1,4 @@
import { Sparkles } from 'lucide-react';
import { BadgeCheck } from 'lucide-react';
import { cn } from '@/lib/utils';
interface Props {
@@ -6,13 +6,13 @@ interface Props {
size?: number;
}
/** 精华帖标识 */
/** 推荐帖标识 */
export default function FeaturedIcon({ className, size = 16 }: Props) {
return (
<Sparkles
<BadgeCheck
className={cn('post-featured-icon', className)}
size={size}
aria-label="精华"
aria-label="推荐"
role="img"
/>
);