diff --git a/components/TitleBody.vue b/components/TitleBody.vue index 81ea1aa..9198add 100644 --- a/components/TitleBody.vue +++ b/components/TitleBody.vue @@ -1,18 +1,34 @@ @@ -43,17 +59,21 @@ export default Vue.extend({ type: String, required: false, }, + img_css: { + type: String, + required: false, + }, }, data() { return { - heroText: null, + heroTexts: null, } }, async created() { // NOTE Get the post using the tag passed as prop - const heroText = await getPosts(this.tag) + const heroTexts = await getPosts(this.tag) // NOTE Assign the post to heroText - this.heroText = heroText[0] + this.heroTexts = heroTexts }, }) diff --git a/components/homepage/APDFLLinks.vue b/components/homepage/APDFLLinks.vue index 4304a9e..df345e2 100644 --- a/components/homepage/APDFLLinks.vue +++ b/components/homepage/APDFLLinks.vue @@ -1,7 +1,7 @@