Menu
component which will be a styled <nav>
element.<Link>
component returns an <a>
element. Knowing this we can apply styles to any <a>
elements inside our styled <nav>
element.nav
element in our Root
component with the new Menu
component.<List>
component by having the links in our list rendered in the same style as the menu.index.js
file for use in the <Root>
component. Now we'll open list.js
and add an <Items>
component which will be a styled <div>
element. We'll then use it within the <List>
component as a wrapper around all the post title links.styled
from frontity
into list.js
.