here in header we need to make changes because we are using reactjs with vite not nextjs. so use react router dom and link and other changes accordingly.