Are you first timer at Why not join us and start exchange your programming knowledge with everyone. Register today!

Next JS - using Link

0 votes
added Mar 4 in Next JS by LC Marshal Captain (20,510 points)
// API link
import Link from 'next/link'

const Index = () => (
    <Link href="/about-us">
      <a>About Us</a>
    <p>Content goes here</p>

export default Index


1 Response

0 votes
responded Mar 4 by LC Marshal Captain (20,510 points)

Style for link

<Link href="/about-us">
  <a style={{ fontSize: 20 }}>About Us</a>
</Link> - Malaysia's programming knowledge sharing platform, where everyone can share their finding as reference to others.