-
Notifications
You must be signed in to change notification settings - Fork 0
/
header.js
27 lines (25 loc) · 960 Bytes
/
header.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
import React, { Component } from "react"
import { Link } from "@reach/router"
import logo from './logo.jpg'
class Header extends Component {
render() {
return(
<header className="header">
<div className='logo'>
<img src={logo} width='450' alt='logo showing a trekker and the title walking-in-lefkada'/>
</div>
<div className='site-title'>
<h1>explore our routes from trekking in Lefkada</h1>
</div>
<nav className="site-navigation" role="navigation" aria-label="Main">
<ul>
<li><Link to="/">Home</Link></li>
<li><Link to="/about">Return to main site</Link></li>
<li><Link to="/admin/create"> Log in</Link></li>
</ul>
</nav>
</header>
)
}
}
export default Header