From 1091f7d549584e77ea1510238a766d2ead2c2562 Mon Sep 17 00:00:00 2001 From: samaradel Date: Sun, 5 Sep 2021 12:50:33 +0200 Subject: [PATCH] Fix external links --- src/components/custom/VideoPanel.vue | 29 ++- .../custom/sections/CallToAction.vue | 197 +++++++++++++----- src/components/custom/sections/Features.vue | 148 +++++++++++-- .../sections/cta-sections/StateMap.vue | 86 ++++++-- 4 files changed, 378 insertions(+), 82 deletions(-) diff --git a/src/components/custom/VideoPanel.vue b/src/components/custom/VideoPanel.vue index 3bd13e828..72bb233da 100644 --- a/src/components/custom/VideoPanel.vue +++ b/src/components/custom/VideoPanel.vue @@ -21,7 +21,8 @@
- {{ card.btn }} - + + + {{ card.btn }} +
diff --git a/src/components/custom/sections/CallToAction.vue b/src/components/custom/sections/CallToAction.vue index 7c40e2400..8fe42c6a7 100644 --- a/src/components/custom/sections/CallToAction.vue +++ b/src/components/custom/sections/CallToAction.vue @@ -135,7 +135,6 @@ py-2 mr-5 mb-4 - rounded shadow rounded-full " @@ -154,16 +153,15 @@ py-2 mr-5 mb-4 - rounded shadow rounded-full " target="_blank" - v-if="cta.button" + v-if="cta.button && cta.link.includes('http')" :href="cta.link" >{{ cta.button }} - {{ cta.button2 }}{{ cta.button }} - {{ cta.button3 }}{{ cta.button2 }} - - {{ cta.button4 }}{{ cta.button2 }} + {{ cta.button3 }} + {{ cta.button3 }} + {{ cta.button4 }} + {{ cta.button4 }} -
+

{{ cta.title }}

-
+
@@ -82,7 +189,18 @@
{{ main.btn }} diff --git a/src/components/marketing/sections/cta-sections/StateMap.vue b/src/components/marketing/sections/cta-sections/StateMap.vue index b82a8af11..32bf96e95 100644 --- a/src/components/marketing/sections/cta-sections/StateMap.vue +++ b/src/components/marketing/sections/cta-sections/StateMap.vue @@ -67,7 +67,8 @@ :alt="section.title" />
- {{ section.btn1 }} - - + {{ section.btn2 }}{{ section.btn1 }} - {{ section.btn3 }}{{ section.btn2 }} + + {{ section.btn2 }} + + {{ section.btn3 }} + + {{ section.btn3 }}