Performance improvements and Dockerfile update

This commit is contained in:
2026-04-19 09:48:53 +00:00
parent 31f88749f9
commit e94dec0036
17 changed files with 315 additions and 295 deletions

View File

@ -1,6 +1,6 @@
'use client';
import { motion } from 'framer-motion';
import { m } from 'framer-motion';
import { ReactNode } from 'react';
interface SectionProps {
@ -35,7 +35,7 @@ export default function Section({
return (
<section id={id} className={classes}>
<motion.div
<m.div
initial={{ opacity: 0, y: 60 }}
whileInView={{ opacity: 1, y: 0 }}
transition={{
@ -50,7 +50,7 @@ export default function Section({
<div className="absolute top-0 left-1/2 transform -translate-x-1/2 w-16 md:w-24 h-1 bg-gradient-to-r from-transparent via-[#8B4513]/30 to-transparent opacity-0 hover:opacity-100 transition-opacity duration-500" />
{children}
</motion.div>
</m.div>
</section>
);
}