44 lines
680 B
Vue
44 lines
680 B
Vue
<template>
|
|
<div id="menu-wrapper">
|
|
<nav id="menu">
|
|
<router-link to="/">Home</router-link>
|
|
<router-link to="/ivago">Ivago</router-link>
|
|
</nav>
|
|
</div>
|
|
</template>
|
|
|
|
<script lang="ts">
|
|
import { defineComponent } from 'vue'
|
|
|
|
export default defineComponent({
|
|
name: 'Nav',
|
|
})
|
|
|
|
</script>
|
|
|
|
<style scoped>
|
|
#menu-wrapper {
|
|
position: fixed;
|
|
left: 0;
|
|
top: 0;
|
|
height: 100%;
|
|
width: 150px;
|
|
background-color: #242624;
|
|
text-align: center;
|
|
}
|
|
|
|
#menu {
|
|
margin: 20px;
|
|
}
|
|
|
|
#menu > a {
|
|
display: block;
|
|
width: 100%;
|
|
color: #5f635f;
|
|
text-decoration: none;
|
|
}
|
|
#menu > a:hover {
|
|
color: #c2ccc1;
|
|
}
|
|
</style>
|