93cecbe49c
* Fix bulma/buefy being imported many (many !!!) times * Remove javascript-time-ago because date-fns pretty much does the same thing * Make sure languages are loaded asynchronously Signed-off-by: Thomas Citharel <tcit@tcit.fr>
29 lines
565 B
Vue
29 lines
565 B
Vue
<template>
|
|
<MobilizonLogo />
|
|
</template>
|
|
|
|
<script lang="ts">
|
|
import { Component, Prop, Vue } from "vue-property-decorator";
|
|
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
// @ts-ignore
|
|
import MobilizonLogo from "../assets/mobilizon_logo.svg?inline";
|
|
|
|
@Component({
|
|
components: {
|
|
MobilizonLogo,
|
|
},
|
|
})
|
|
export default class Logo extends Vue {
|
|
@Prop({ type: Boolean, required: false, default: false }) invert!: boolean;
|
|
}
|
|
</script>
|
|
<style lang="scss" scoped>
|
|
svg {
|
|
fill: $background-color;
|
|
|
|
&.invert {
|
|
fill: $secondary;
|
|
}
|
|
}
|
|
</style>
|