change logo

This commit is contained in:
Thomas Amland 2020-07-28 13:20:42 +02:00
parent 7e0f8727ba
commit f276e4ef49
4 changed files with 27 additions and 3 deletions

23
src/app/Logo.vue Normal file
View File

@ -0,0 +1,23 @@
<template functional>
<svg xmlns="http://www.w3.org/2000/svg" height="100%" viewBox="5.74 31.24 123.89 72.89">
<g transform="matrix(1.0344 0 0 1.0869 -2.068 -181.521)">
<rect width="5.994" height="23.366" x="9.929" y="224.55" rx="2.997" ry="2.997" />
<rect width="5.994" height="41.989" x="19.849" y="215.2" rx="2.997" ry="2.819" />
<rect width="5.994" height="49.213" x="29.768" y="211.49" rx="2.997" ry="2.997" />
<rect width="5.994" height="58.69" x="39.688" y="202.01" rx="2.997" ry="3.038" />
<rect width="5.994" height="62.402" x="49.607" y="198.3" rx="2.997" ry="2.997" />
<rect width="5.994" height="62.733" x="59.526" y="197.97" rx="2.997" ry="2.997" />
<rect width="5.994" height="58.889" x="69.446" y="201.81" rx="2.997" ry="2.997" />
<rect width="5.994" height="49.412" x="79.365" y="211.29" rx="2.997" ry="2.997" />
<rect width="5.994" height="48.948" x="89.285" y="211.75" rx="2.997" ry="2.997" />
<rect width="5.994" height="44.176" x="99.204" y="216.53" rx="2.997" ry="2.997" />
<rect width="5.994" height="36.886" x="109.12" y="223.55" rx="2.997" ry="2.997" />
<rect width="5.994" height="22.372" x="119.04" y="230.78" rx="2.997" ry="2.997" />
</g>
</svg>
</template>
<style scoped>
svg {
fill: var(--primary);
}
</style>

View File

@ -2,7 +2,7 @@
<div class="text-truncate"> <div class="text-truncate">
<nav class="nav flex-column"> <nav class="nav flex-column">
<router-link class="nav-link logo" :to="{name: 'home'}"> <router-link class="nav-link logo" :to="{name: 'home'}">
<img src="@/app/logo.png" class="img-fluid"> <Logo/>
</router-link> </router-link>
<router-link class="nav-link" :to="{name: 'home'}"> <router-link class="nav-link" :to="{name: 'home'}">
@ -41,7 +41,7 @@
</template> </template>
<style lang="scss" scoped> <style lang="scss" scoped>
.logo { .logo {
max-width: 200px; height: 48px;
} }
.nav-link { .nav-link {
width: 220px; width: 220px;
@ -52,11 +52,13 @@
</style> </style>
<script lang="ts"> <script lang="ts">
import Vue from "vue"; import Vue from "vue";
import Logo from "./Logo.vue";
import PlaylistNav from "@/playlist/PlaylistNav.vue"; import PlaylistNav from "@/playlist/PlaylistNav.vue";
import { mapState } from 'vuex'; import { mapState } from 'vuex';
export default Vue.extend({ export default Vue.extend({
components: { components: {
Logo,
PlaylistNav, PlaylistNav,
}, },
methods: { methods: {

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.6 KiB

View File

@ -1 +0,0 @@
<svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 87.5 100"><defs><style>.cls-1{fill:#1697f6;}.cls-2{fill:#7bc6ff;}.cls-3{fill:#1867c0;}.cls-4{fill:#aeddff;}</style></defs><title>Artboard 46</title><polyline class="cls-1" points="43.75 0 23.31 0 43.75 48.32"/><polygon class="cls-2" points="43.75 62.5 43.75 100 0 14.58 22.92 14.58 43.75 62.5"/><polyline class="cls-3" points="43.75 0 64.19 0 43.75 48.32"/><polygon class="cls-4" points="64.58 14.58 87.5 14.58 43.75 100 43.75 62.5 64.58 14.58"/></svg>

Before

Width:  |  Height:  |  Size: 539 B