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:
@@ -28,7 +28,7 @@ export function NewsDetailClient({ news }: NewsDetailClientProps) {
|
||||
<section className="pt-32 pb-12">
|
||||
<div className="container-wide">
|
||||
{/* Breadcrumb */}
|
||||
<nav className="flex items-center gap-2 text-sm text-[var(--color-text-muted)] mb-8">
|
||||
<nav aria-label="breadcrumb" className="flex items-center gap-2 text-sm text-[var(--color-text-muted)] mb-8">
|
||||
<StaticLink href="/news" className="hover:text-[var(--color-brand)] transition-colors duration-300">
|
||||
新闻动态
|
||||
</StaticLink>
|
||||
|
||||
@@ -62,7 +62,7 @@ export default function NewsDetailContentV3({ news, relatedNews = [] }: NewsDeta
|
||||
<section className="relative pt-28 sm:pt-32 md:pt-40 pb-16 sm:pb-20 md:pb-24 overflow-hidden">
|
||||
<div className="max-w-container mx-auto px-4 sm:px-6 lg:px-10 relative z-10">
|
||||
<ScrollReveal>
|
||||
<nav className="flex items-center gap-2 text-sm text-text-muted mb-8 sm:mb-10">
|
||||
<nav aria-label="breadcrumb" className="flex items-center gap-2 text-sm text-text-muted mb-8 sm:mb-10">
|
||||
<a href="/news" className="hover:text-brand transition-colors duration-300">
|
||||
新闻动态
|
||||
</a>
|
||||
|
||||
Reference in New Issue
Block a user