Files
myprojplanet_vite/src/components/CTitle/CTitle.vue

29 lines
708 B
Vue
Raw Normal View History

2021-08-31 18:09:59 +02:00
<template>
<div>
<q-img
v-if="imgbackground" :src="getsrc()" :alt="getaltimg()"
:style="tools.styles_imgtitle(sizes)">
2021-08-31 18:09:59 +02:00
<div class="absolute-bottom text-body1 text-center" :style="styleadd">
<h1 class="titletext" v-html="headtitle"></h1>
</div>
</q-img>
2021-08-31 18:09:59 +02:00
<!--
<q-parallax :height="tools.myheight_imgtitle()" :width="tools.mywidth_imgtitle()">
<template v-slot:media>
<img :src="imgbackground" class="cltitlebg">
</template>
<h2 class="titletext">{{headtitle}}</h2>
</q-parallax>
-->
2021-08-31 18:09:59 +02:00
</div>
2021-08-31 18:09:59 +02:00
</template>
<script lang="ts" src="./CTitle.ts">
</script>
<style lang="scss" scoped>
@import './CTitle.scss';
2021-08-31 18:09:59 +02:00
</style>