I have a website that I developed using HTML, CSS it's a static website, but now I created a blog project using NEXT.js Integrated with Strapi API. My question is how I can link my static website with my Next.js project?
I tried using Link tags but it didn't work
import Link from "next/link";
function Home({ posts }) {
return (
<>
<HomeHeader />
<Link href="./index.html">
<a>Static Page</a>
</Link>
<HomeLatestPosts Posts={posts} />
</>
);
}
Don't use the router or the "Link" component. Just use the standard html a tag with a href attribute.
<a href="insert link"> </a>