2019-04-03 17:29:03 +02:00
|
|
|
<template>
|
2020-02-18 08:57:00 +01:00
|
|
|
<!-- <img src="../assets/mobilizon_logo.svg" alt="Mobilizon" :class="{ invert: invert }" height="40" /> -->
|
|
|
|
<MobilizonLogo />
|
2019-04-03 17:29:03 +02:00
|
|
|
</template>
|
|
|
|
|
|
|
|
<script lang="ts">
|
2020-02-18 08:57:00 +01:00
|
|
|
import { Component, Prop, Vue } from "vue-property-decorator";
|
|
|
|
// eslint-disable-next-line @typescript-eslint/ban-ts-ignore
|
|
|
|
// @ts-ignore
|
|
|
|
import MobilizonLogo from "../assets/mobilizon_logo.svg";
|
|
|
|
@Component({
|
|
|
|
components: {
|
|
|
|
MobilizonLogo,
|
|
|
|
},
|
|
|
|
})
|
2019-04-03 17:29:03 +02:00
|
|
|
export default class Logo extends Vue {
|
|
|
|
@Prop({ type: Boolean, required: false, default: false }) invert!: boolean;
|
|
|
|
}
|
|
|
|
</script>
|
|
|
|
<style lang="scss" scoped>
|
2020-02-18 08:57:00 +01:00
|
|
|
@import "../variables.scss";
|
2019-04-03 17:29:03 +02:00
|
|
|
|
2020-02-18 08:57:00 +01:00
|
|
|
svg {
|
|
|
|
fill: $primary;
|
2019-04-24 20:50:05 +02:00
|
|
|
|
2020-02-18 08:57:00 +01:00
|
|
|
&.invert {
|
|
|
|
fill: $secondary;
|
|
|
|
}
|
|
|
|
}
|
2019-04-03 17:29:03 +02:00
|
|
|
</style>
|