I want to Link my NEXT.js project with a static website

Zayed

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} />
    </>
  );
}
adomtaylor

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> 

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

I want to add image when I share my website link

Using next js for a static website

I want to add a real time to my node.js project and i want to use it in if-else situation

How do I tell cmake I want my project to link libraries statically?

I want to use turborepo in a project where I don't use next.js. Is something like this possible?

I want to load balance my azure website

I want to stop my website from refreshing

I want to link my Firebase account to GitHub

i want the typewriter effect like the website i have given link

Do I put my (mostly) static website in the public/ folder or index.js?

i want to click a link of website using scrapy python

Do i need a website for my android project?

How can I link my discord bot made in python to a html, css, js website?

How do I upload a WebSocket-based Node.js project to my website?

I want to connect my mySQL database to my xcode project

I want to to make my website have multiple context menus

I want to add default text in blogger comment box on my website

I want to play audio video files of all formats on my website

Azure WP app service - I want to clone my website

I want create a secure payment gateway for my website

How do I link JS external files outside of my PHP project root directory?

i want to run the next song in my data base

Next.js and generating static site plus API in the same project

I want a static IP address for my (network? or computer?)

I want to open a link in my app window in Android

I want my anchor link to stop right before the div

I want to pass Props to my userdetails page using link

i want my dropdown to appear when the link is clicked instead of hover

I want to open a Link in my google document (no spreadsheet) directely by menu