ovdashboard/ui/src/components/THWLogo.vue

55 lines
1 KiB
Vue
Raw Normal View History

2022-09-12 10:47:44 +00:00
<template>
2022-09-12 11:12:47 +00:00
<div class="d-flex flex-column text-wrap">
<div class="d-flex justify-start justify-md-end">
<span class="d-none d-md-flex text-right thw-logo-font mr-2">
{{ above }}
2022-09-12 11:01:48 +00:00
</span>
<v-img
2022-09-12 11:12:47 +00:00
class="d-none d-sm-flex"
2022-09-12 11:01:48 +00:00
max-width="56"
max-height="56"
:src="require('../assets/thw.svg')"
/>
2022-09-12 10:47:44 +00:00
</div>
2022-09-12 11:12:47 +00:00
<v-divider class="d-none d-md-block my-1" />
<span class="d-none d-md-flex thw-logo-font">
{{ below }}
2022-09-12 10:47:44 +00:00
</span>
</div>
</template>
<script lang="ts">
import { Component, Prop, Vue } from "vue-property-decorator";
2022-09-12 10:47:44 +00:00
@Component
export default class THWLogo extends Vue {
@Prop()
public above!: string;
@Prop()
public below!: string;
}
2022-09-12 10:47:44 +00:00
</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;
}
div.flex-column > div > span:first-child {
2022-09-12 10:47:44 +00:00
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
}
div.flex-column > span:last-child {
2022-09-12 10:47:44 +00:00
font-size: 15px;
line-height: 15px;
}
</style>