jamulix-homepage/components/programmer-graphic.tsx
dschlueter 28451452a2 Mobile: SVG-Grafik, auf kleinen Screens sichtbar
- programmer-graphic.tsx: programmierer-vector.svg statt PNG (336 KB statt 1,6 MB)
- hero.tsx: hidden lg:block entfernt, Grafik jetzt auch auf Mobile sichtbar
- Mobile-Größe: max-w-xs/sm, Desktop: max-w-md

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-25 19:30:19 +02:00

24 lines
673 B
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

'use client'
import { motion } from 'framer-motion'
import Image from 'next/image'
import programmiererSvg from '../public/programmierer-vector.svg'
export function ProgrammerGraphic() {
return (
<motion.div
initial={{ opacity: 0, scale: 0.95 }}
animate={{ opacity: 1, scale: 1 }}
transition={{ duration: 0.8 }}
className="relative w-full max-w-xs mx-auto aspect-[3/5] sm:max-w-sm lg:max-w-md lg:aspect-square"
>
<Image
src={programmiererSvg}
alt="Programmierung: Von 1976 bis heute 50 Jahre Code"
fill
className="object-contain drop-shadow-lg"
priority
/>
</motion.div>
)
}