<Link href={`/page/some-page`} onClick={(event) => event.preventDefault()} className="some-class"> Previous </Link>
Created with ❤️ using Next.js & Tailwind CSS