knowyt/_client/src/components/Quote.vue

32 lines
463 B
Vue
Raw Normal View History

2021-08-15 16:52:15 +00:00
<template>
2021-11-28 19:28:43 +00:00
<div class="quote" v-if="text">
2021-11-07 22:31:04 +00:00
<div class="quote__quote">{{ text }}</div>
2021-08-15 16:52:15 +00:00
</div>
</template>
<script>
export default {
props: ['text'],
}
</script>
<style lang="scss">
2021-11-28 16:24:22 +00:00
@import '~/assets/css/components';
2021-08-15 16:52:15 +00:00
.quote {
&__quote {
text-align: justify;
font-family: $secondary-font;
2021-08-15 16:52:15 +00:00
font-size: 24px;
2021-11-28 19:28:43 +00:00
color: $primary-text-color;
2021-08-15 16:52:15 +00:00
&:before {
content: '„';
}
&:after {
content: '“';
}
}
}
</style>