-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathAppHeader.vue
More file actions
46 lines (45 loc) · 1.21 KB
/
AppHeader.vue
File metadata and controls
46 lines (45 loc) · 1.21 KB
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
41
42
43
44
45
46
<script>
export default {
data: () => ({
site: {
url: 'https://www.bencodezen.io',
title: 'BenCodeZen',
},
}),
}
</script>
<template>
<header class="header-section">
<div class="header-wrap">
<div class="header-logo">
<h1 class="is-title">
<a :href="site.url">{{ site.title }}</a>
</h1>
</div>
<div class="header-nav">
<input id="toggle" class="header-checkbox" type="checkbox" />
<label class="header-toggle" for="toggle">
<span>
<span class="bar"></span>
<span class="bar"></span>
<span class="bar"></span>
</span>
</label>
<nav>
<ul>
<li><nuxt-link to="/">Home</nuxt-link></li>
<li><nuxt-link to="/schedule">Schedule</nuxt-link></li>
<li><nuxt-link to="/learn">Learn</nuxt-link></li>
</ul>
<ul>
<li>
<nuxt-link to="https://bencodezen.ghost.io/">Blog</nuxt-link>
</li>
<li><nuxt-link to="/uses">Uses</nuxt-link></li>
<li><nuxt-link to="/about">About</nuxt-link></li>
</ul>
</nav>
</div>
</div>
</header>
</template>