fixed remaining merge conflict
This commit is contained in:
parent
9c275b6cb7
commit
21d4b4884a
1 changed files with 41 additions and 0 deletions
41
src/common-components/text-block/text-block.vue.orig
Normal file
41
src/common-components/text-block/text-block.vue.orig
Normal file
|
|
@ -0,0 +1,41 @@
|
||||||
|
<template>
|
||||||
|
<div class="text-block d-flex w-100 mt-4" :class="[justifyText, typeStyle, fontWeight]" v-html="this.TextBlockCopy"></div>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
export default {
|
||||||
|
name: 'textBlock',
|
||||||
|
props: {
|
||||||
|
justifyText: String,// left, right, center
|
||||||
|
typeStyle: String, // h1-h6, body, small, label, caption (see Figma or Confluence documentation)
|
||||||
|
fontWeight: String,// bold=500, default is 400
|
||||||
|
cmsWidgetName: String,
|
||||||
|
},
|
||||||
|
computed: {
|
||||||
|
TextBlockCopy(){
|
||||||
|
return this.getCmsContent(this.cmsWidgetName, "Text");
|
||||||
|
},
|
||||||
|
},
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<style lang="scss" scoped>
|
||||||
|
.text-block {
|
||||||
|
&.left {
|
||||||
|
justify-content: flex-start;
|
||||||
|
}
|
||||||
|
&.right {
|
||||||
|
justify-content: flex-end;
|
||||||
|
}
|
||||||
|
&.center {
|
||||||
|
justify-content: center;
|
||||||
|
}
|
||||||
|
&.bold {
|
||||||
|
font-weight: 500;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
<<<<<<< HEAD
|
||||||
|
</style>
|
||||||
|
=======
|
||||||
|
</style>
|
||||||
|
>>>>>>> d1bf013... fixed remaining merge conflict
|
||||||
Loading…
Reference in a new issue