fix(brand): unify calligraphy logo across header, footer and brand page

- logo.svg: remove dark-mode white fill so header/hero calligraphy stays
  visible on white backgrounds and matches footer logo-white.svg
- about/brand: replace sans-serif brand title with BrandCalligraphyName,
  reusing the same AoyagiReisho SVG paths as the footer logo without
  loading the 4.4MB font file
- add unit tests for BrandCalligraphyName and document decision in CONTEXT.md
This commit is contained in:
2026-08-18 12:51:33 +08:00
parent 628a0f1a2b
commit 8d3bd723c3
5 changed files with 84 additions and 12 deletions
@@ -2,6 +2,7 @@
import { motion } from 'framer-motion';
import { ScrollReveal } from '@/components/ui/scroll-reveal';
import { BrandCalligraphyName } from '@/components/ui/brand-calligraphy-name';
import {
ArrowRight,
Target,
@@ -91,11 +92,15 @@ export default function BrandContent() {
initial={{ opacity: 0, y: 40 }}
animate={{ opacity: 1, y: 0 }}
transition={{ duration: 0.8, delay: 0.2, ease: EASE_OUT }}
className="text-4xl sm:text-5xl md:text-6xl lg:text-7xl xl:text-8xl font-black text-ink leading-[0.92] tracking-tightest mb-8 sm:mb-10"
className="text-4xl sm:text-5xl md:text-6xl lg:text-7xl xl:text-8xl text-ink leading-[1.05] tracking-tight mb-8 sm:mb-10"
>
<span className="sr-only"></span>
<BrandCalligraphyName
className="block h-[0.95em] w-auto text-ink"
ariaHidden
/>
<br />
<span className="text-brand"></span>
<span className="text-brand font-black"></span>
</motion.h1>
{/* 数据条 */}