- next.config.mjs: basePath '/landingpage' gesetzt, ignoreBuildErrors entfernt - package.json: build-Script benennt out/ → landingpage/ um - .gitignore: out/ und landingpage/ als ignoriert markiert - programmer-graphic.tsx: statischer Import statt Pfad-String (basePath-Fix) - footer.tsx: GitHub-Link → Forgejo-Profil - deploy_to_production.sh / deploy_to_localhost.sh: neu geschrieben - public/: Programmierer-Grafiken und Favicon hinzugefügt Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
24 lines
642 B
TypeScript
24 lines
642 B
TypeScript
'use client'
|
||
|
||
import { motion } from 'framer-motion'
|
||
import Image from 'next/image'
|
||
import programmiererImg from '../public/Programmierer.png'
|
||
|
||
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-md mx-auto aspect-[3/5] lg:aspect-square"
|
||
>
|
||
<Image
|
||
src={programmiererImg}
|
||
alt="Programmierung: Von 1976 bis heute – 50 Jahre Code"
|
||
fill
|
||
className="object-contain drop-shadow-lg"
|
||
priority
|
||
/>
|
||
</motion.div>
|
||
)
|
||
}
|