ovdashboard/ui/src/components/THWLogo.vue

49 lines
960 B
Vue
Raw Normal View History

2022-09-12 10:47:44 +00:00
<template>
2022-09-12 11:01:48 +00:00
<div class="flex-column text-wrap">
<div class="d-flex justify-end">
<span class="d-none d-sm-flex text-right thw-logo-font above mr-2">
<slot name="above">Technisches Hilfswerk</slot>
</span>
<v-img
class="d-flex"
max-width="56"
max-height="56"
:src="require('../assets/thw.svg')"
/>
2022-09-12 10:47:44 +00:00
</div>
<v-divider class="d-none d-sm-block my-1" />
2022-09-12 11:01:48 +00:00
<span class="d-none d-sm-flex thw-logo-font below">
2022-09-12 10:47:44 +00:00
<slot>OV Musterstadt</slot>
</span>
</div>
</template>
<script lang="ts">
import { Component, Vue } from "vue-property-decorator";
@Component
export default class THWLogo extends Vue {}
</script>
<style scoped>
.flex-column {
2022-09-12 11:01:48 +00:00
min-width: 250px;
max-width: 250px;
2022-09-12 10:47:44 +00:00
}
.v-divider {
border-width: 1px;
border-color: white;
}
.above {
font-size: 28px;
line-height: 28px;
2022-09-12 11:01:48 +00:00
align-items: center;
2022-09-12 10:47:44 +00:00
}
.below {
font-size: 15px;
line-height: 15px;
}
</style>