Moved banner to a separate component.

This commit is contained in:
2020-01-22 10:54:56 +01:00
parent 1b110e5f5a
commit 05888ef82b
3 changed files with 27 additions and 12 deletions

18
src/ui/Banner.vue Normal file
View File

@@ -0,0 +1,18 @@
<template>
<router-link to="/">
<div class="top-banner">
<img src="/public/assets/images/knowit.svg" />
</div>
</router-link>
</template>
<style>
.top-banner {
text-align: center;
width: 100vw;
margin-top: 0px;
padding: 20px 0;
background-color: #dbeede;
box-shadow: 0 0 10px 0px #0000003a;
}
</style>