From f20539c18eeeafc3a115f991a0bbb25a9ccd4dd1 Mon Sep 17 00:00:00 2001 From: Charles MCGregory Date: Fri, 20 Jan 2023 17:09:27 -0600 Subject: [PATCH] Update homepage --- components/TitleBody.vue | 38 ++++++++++---- components/homepage/APDFLLinks.vue | 2 +- components/homepage/Endorsements.vue | 74 ++++++++++++++++++++++++++++ pages/homepage.vue | 30 ++++++++--- tailwind.config.js | 3 ++ 5 files changed, 131 insertions(+), 16 deletions(-) create mode 100644 components/homepage/Endorsements.vue 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 @@