Continuing from our last post, this is now our component code: import React from ‘react’; import { NavLink } from ‘react-router-dom’; import “./YearsUpdates.scss”; class YearsUpdates extends React.Component { constructor(props) { super(props); this.state = { } } getLink(type) { switch (type) … Continue reading