Moved banner to a separate component.
This commit is contained in:
18
src/ui/Banner.vue
Normal file
18
src/ui/Banner.vue
Normal 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>
|
||||
Reference in New Issue
Block a user