fix(breadcrumb): add aria-label to news detail breadcrumb for alignment
Also accumulates other pre-existing changes: - refactor(icons): replace deprecated BarChart3 with TrendingUp - refactor(services): replace emoji icons with LucideIcon components - refactor(footer): use logo-white for dark background - cleanup(archive): remove unused archive components - cleanup(constants): remove unused types and exports
This commit is contained in:
@@ -15,7 +15,7 @@ jest.mock('lucide-react', () => {
|
||||
ArrowUpRight: mockIcon('arrow-up-right'),
|
||||
Database: mockIcon('database'),
|
||||
Users: mockIcon('users'),
|
||||
BarChart3: mockIcon('bar-chart-3'),
|
||||
TrendingUp: mockIcon('trending-up'),
|
||||
FileText: mockIcon('file-text'),
|
||||
Truck: mockIcon('truck'),
|
||||
Building2: mockIcon('building2'),
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
'use client';
|
||||
|
||||
import { ArrowUpRight, Database, Users, BarChart3, FileText, Truck, Building2 } from 'lucide-react';
|
||||
import { ArrowUpRight, Database, Users, TrendingUp, FileText, Truck, Building2 } from 'lucide-react';
|
||||
import { Card } from '@/components/ui/card';
|
||||
import type { LucideIcon } from 'lucide-react';
|
||||
|
||||
@@ -12,7 +12,7 @@ interface ProductCardProps {
|
||||
status?: '研发中' | '内测中' | '已发布';
|
||||
}
|
||||
|
||||
const productIcons: LucideIcon[] = [Database, Users, FileText, BarChart3, Truck, Building2];
|
||||
const productIcons: LucideIcon[] = [Database, Users, FileText, TrendingUp, Truck, Building2];
|
||||
|
||||
const PRODUCT_COLORS = [
|
||||
{ bg: 'rgba(var(--color-brand-rgb), 0.08)', text: 'var(--color-brand)', border: 'rgba(var(--color-brand-rgb), 0.12)' },
|
||||
|
||||
Reference in New Issue
Block a user