traxxx/assets/components/header/header.vue

31 lines
484 B
Vue
Raw Normal View History

<template>
<header class="header">
<router-link
:to="{ name: 'home' }"
class="logo-link"
>
<h1 class="logo">Porn Radar</h1>
</router-link>
</header>
</template>
<style lang="scss" scoped>
@import 'theme';
.header {
color: $text-contrast;
background: $primary;
padding: 1rem;
}
.logo-link {
color: inherit;
text-decoration: none;
}
.logo {
display: inline-block;
margin: 0;
}
</style>