diff --git a/src/components/analytics/CookieConsent.tsx b/src/components/analytics/CookieConsent.tsx index 371e4c3..dfa8fec 100644 --- a/src/components/analytics/CookieConsent.tsx +++ b/src/components/analytics/CookieConsent.tsx @@ -138,7 +138,7 @@ export function CookieConsent() { 继续使用即表示您同意我们的{' '} 隐私政策 @@ -149,21 +149,21 @@ export function CookieConsent() { @@ -185,12 +185,12 @@ export function CookieConsent() {
-
+
@@ -204,12 +204,12 @@ export function CookieConsent() {
-
+
handleTogglePreference('analytics')} - className="mt-1 h-4 w-4 rounded border-[var(--color-border-secondary)] text-[var(--color-brand-primary)] focus:ring-[var(--color-brand-primary)] cursor-pointer" + className="mt-1 h-4 w-4 rounded border-[var(--color-border-secondary)] text-[var(--color-brand)] focus:ring-[var(--color-brand)] cursor-pointer" aria-label="分析 Cookie" />
@@ -220,12 +220,12 @@ export function CookieConsent() {
-
+
handleTogglePreference('marketing')} - className="mt-1 h-4 w-4 rounded border-[var(--color-border-secondary)] text-[var(--color-brand-primary)] focus:ring-[var(--color-brand-primary)] cursor-pointer" + className="mt-1 h-4 w-4 rounded border-[var(--color-border-secondary)] text-[var(--color-brand)] focus:ring-[var(--color-brand)] cursor-pointer" aria-label="营销 Cookie" />
@@ -241,14 +241,14 @@ export function CookieConsent() { @@ -276,7 +276,7 @@ export function CookieSettingsButton() { const event = new CustomEvent('open-cookie-settings'); window.dispatchEvent(event); }} - className="fixed bottom-4 right-4 z-[9997] px-3 py-2 text-xs font-medium text-[var(--color-text-muted)] bg-[var(--color-bg-primary)] border border-[var(--color-border-secondary)] rounded-lg shadow-sm hover:bg-[var(--color-primary-lighter)] transition-colors" + className="fixed bottom-4 right-4 z-[9997] px-3 py-2 text-xs font-medium text-[var(--color-text-muted)] bg-[var(--color-bg-primary)] border border-[var(--color-border-secondary)] rounded-lg shadow-sm hover:bg-[var(--color-brand-lighter)] transition-colors" aria-label="Cookie 设置" > Cookie 设置 diff --git a/src/components/layout/breadcrumb.tsx b/src/components/layout/breadcrumb.tsx index ae662f4..2191c24 100644 --- a/src/components/layout/breadcrumb.tsx +++ b/src/components/layout/breadcrumb.tsx @@ -14,16 +14,20 @@ interface BreadcrumbProps { export function Breadcrumb({ items }: BreadcrumbProps) { return ( -