30 lines
1013 B
TypeScript
30 lines
1013 B
TypeScript
'use client';
|
|
|
|
import { motion } from 'framer-motion';
|
|
import { Container } from '@/components/primitives/Container';
|
|
import { fraseAncla } from '@/lib/content';
|
|
import { fadeInUp, viewportOnce, usePrefersReducedMotion, motionProps } from '@/lib/motion';
|
|
|
|
export function FraseAncla() {
|
|
const reduced = usePrefersReducedMotion();
|
|
return (
|
|
<section className="bg-base">
|
|
<Container className="py-24 md:py-32 text-center max-w-4xl">
|
|
<motion.blockquote
|
|
variants={fadeInUp}
|
|
initial="hidden"
|
|
whileInView="visible"
|
|
viewport={viewportOnce}
|
|
{...motionProps(reduced)}
|
|
className="font-serif italic text-2xl md:text-4xl font-bold leading-snug text-ink"
|
|
>
|
|
<span className="text-gold">“</span>
|
|
{fraseAncla.quote.before}{' '}
|
|
<span className="text-gold">{fraseAncla.quote.accent}</span>
|
|
<span className="text-gold">”</span>
|
|
</motion.blockquote>
|
|
</Container>
|
|
</section>
|
|
);
|
|
}
|