link to home en nav

This commit is contained in:
Daniel Cortes
2020-06-03 15:26:51 -04:00
parent 63c84c4d26
commit 4dced79f2c
2 changed files with 2 additions and 2 deletions

View File

@@ -1,10 +1,11 @@
import React from "react";
import {Link} from "@reach/router";
export class Nav extends React.Component {
render() {
return (
<nav className='nav'>
<h1>MusicList</h1>
<Link to={'/'}><h1>MusicList</h1></Link>
<ul className='nav-links'>
<li className='link'><a href='/login'>Iniciar Sesion</a></li>
<li className='link'><a href='/signup'>Registrate</a></li>