traxxx/assets/components/header/header.vue

32 lines
526 B
Vue
Raw Normal View History

<template>
<header class="header">
<router-link
:to="{ name: 'home' }"
class="logo-link"
>
<h1 class="logo">traxxx</h1>
</router-link>
</header>
</template>
<style lang="scss" scoped>
@import 'theme';
.header {
2019-11-14 00:18:19 +00:00
background: $background;
color: $primary;
padding: .5rem 1rem;
2019-11-14 00:18:19 +00:00
border-bottom: solid 1px $shadow-hint;
}
.logo-link {
color: inherit;
text-decoration: none;
}
.logo {
display: inline-block;
margin: 0;
}
</style>