-
Notifications
You must be signed in to change notification settings - Fork 13
Expand file tree
/
Copy pathHeader.js
More file actions
40 lines (37 loc) · 977 Bytes
/
Header.js
File metadata and controls
40 lines (37 loc) · 977 Bytes
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
28
29
30
31
32
33
34
35
36
37
38
39
40
import React from 'react'
import FontAwesome from 'react-fontawesome'
import { Link } from 'react-router-dom'
import { APP_NAME } from '../settings'
const Header = React.memo(({ onActivateCopyLink, onActivateAbout }) => (
<header>
<h1>
<span className="before" />
<span className="title">{APP_NAME}</span>
</h1>
<nav>
<ul>
<li>
<Link to="/share" title="Share Link">
<FontAwesome name="share-alt" />
</Link>
</li>
<li>
<a
href="https://github.com/InteractiveAdvertisingBureau/VAST-Tester"
target="_blank"
rel="noopener noreferrer"
title="Fork on GitHub"
>
<FontAwesome name="github-alt" />
</a>
</li>
<li>
<Link to="/about" title="About">
<FontAwesome name="info" />
</Link>
</li>
</ul>
</nav>
</header>
))
export default Header