All Questions
2
questions
0
votes
0
answers
26
views
I can't use the href on my page, it gives a 404 error
It's giving this error
After clicking this
My code is like this:
import './header.css';
import { FaHeart } from 'react-icons/fa';
import Link from 'next/link';
export default function Header() {
...
0
votes
4
answers
4k
views
My Link with href doesn't scroll even though the link changes. Nextjs
I'm working on a react with nextjs project.
I'm using Link to scroll to a specific section on the same page.
Here is one of the components that use Link:
import styles from './section1.module.scss';
...