gatsby navigate function code example
Example: gatsby link active
<Link to="/" activeClassName="link__active" />
<style>
.link__active {
color: #b100c2;
}
</style>
<Link to="/" activeClassName="link__active" />
<style>
.link__active {
color: #b100c2;
}
</style>