redbadger / esma-website

MIT License
0 stars 0 forks source link

Gatsby Link for internal links in navs #79

Closed rjkerrison closed 4 years ago

rjkerrison commented 4 years ago

Fixes an issue in the built site.

Bug description

At the Early Years life stage overview, the links in the Research Navigation and Pills aren't prefixed with /esma-website.

The fix

First, import { Link } from "gatsby"; and then use <Link to={…}> instead of <a href={…}>.