It seems that GoogleBot cannot see our pages - most likely, this is due to the fact that instead of links we use transitions when clicking on elements. Moreover, onClick transitions do not allow links to be opened in a new window, as could be done by clicking the middle mouse button or the right mouse button. We should replace page transitions from onClick to links (Link from 'next/link') and use passHref to pass the href to the <a> tag.
Example:
It seems that GoogleBot cannot see our pages - most likely, this is due to the fact that instead of links we use transitions when clicking on elements. Moreover,
onClick
transitions do not allow links to be opened in a new window, as could be done by clicking the middle mouse button or the right mouse button. We should replace page transitions fromonClick
to links (Link from 'next/link'
) and usepassHref
to pass thehref
to the<a>
tag. Example: