i load header here:
import Image from 'next/image';
import ParticlesContainer from "../components/ParticlesContainer";
import Avatar from "../components/Avatar";
import {motion} from 'framer-motion';
import {fadeIn} from '../variants';
import ProjectsBtn from '../components/projectsBtn';
const Home = () => {
return <div className='bg-primary/60 h-full'>
{/* text */}
<div className='w-full h-full bg-gradient-to-r from-primary/10 via-black/30 to-black/10'>
<div className='text-center flex-col justify-center xl:pt-40 xl:text-left h-full container mx-auto'>
{/* title */}
<motion.h1
variants={fadeIn('down', 0.2)}
initial='hidden'
animate='show'
exit='hidden'
className='h1'
>
I'm Shahriar<br /> a{' '} <span className='text-accent'>programmer</span>
</motion.h1>
{/* subtitle */}
<motion.p
variants={fadeIn('down', 0.3)}
initial='hidden'
animate='show'
exit='hidden'
className='max-w-sm xl:max-w-xl mx-auto xl:mx-0 mb-10 xl:mb-16'
>
I'm Shahriar. I love programming and music, coding and creating new things with high motivation.
</motion.p>
{/* btn */}
<div className='flex justify-center xl:hidden relative'>
<ProjectsBtn />
</div>
<motion.div
variants={fadeIn('down', 0.4)}
initial='hidden'
animate='show'
exit='hidden'
className='hidden xl:flex '
>
<ProjectsBtn />
</motion.div>
</div>
</div>
{/* image */}
<div className='w-[1200px] h-full absolute right-0 bottom-0'>
{/* bg image */}
<div className='bg-none xl:bg-explosion xl:bg-cover xl:bg-right xl:bg-no-repeat w-full h-full absolute mix-blend-color-dodge
translate-z-o '
></div>
{/* Particles */}
<ParticlesContainer />
{/* Avatar img */}
<motion.div
variants={fadeIn('up', 0.5)}
initial='hidden'
animate='show'
exit='hidden'
transition={{duration: 1, ease: 'easeInOut'}}
className='w-full h-full max-w-[737px] max-h-[678px] absolute bottom-32 lg:bottom-0 lg:right-[1%]'
>
<Avatar />
</motion.div>
</div>
</div>;
};
export default Home;