'use client' import { LazyMotion, domAnimation, m, useReducedMotion } from 'framer-motion' import type ImageType from '../../types/image' import type ProjectType from '../../types/project' import ProjectImage from '../ProjectImage' import { getAnimationProps, moveInBottom } from '../Transitions' import ProjectLinks from './Links' import ProjectTechstack from './Techstack' import styles from './index.module.css' const containerVariants = { enter: { transition: { staggerChildren: 0.2 } } } export default function Project({ project }: { project: Partial }) { const { title, descriptionHtml, images, links, techstack } = project const shouldReduceMotion = useReducedMotion() const animationProps = getAnimationProps(shouldReduceMotion || false) return (
{title} {images?.map((image: ImageType, i: number) => ( ))}
) }