From 5e889cf0ce6439cfd70fa49026cc520475ee64e2 Mon Sep 17 00:00:00 2001 From: meenu Date: Mon, 10 Apr 2023 11:35:07 +0530 Subject: [PATCH] fixes --- component-lib/lib4.ftd | 23 +++++++++++++++++++++++ lib.ftd | 8 ++++++-- 2 files changed, 29 insertions(+), 2 deletions(-) diff --git a/component-lib/lib4.ftd b/component-lib/lib4.ftd index 20e0adb..909487f 100644 --- a/component-lib/lib4.ftd +++ b/component-lib/lib4.ftd @@ -906,6 +906,9 @@ caption title: body info: integer width: $width optional ftd.color bgcolor: $inherited.colors.background.step-1 +optional string cta-text: +optional string cta-link: +optional string cta-role: -- ftd.column: width: fill-container @@ -916,6 +919,9 @@ image: $hosting-hero.image info: $hosting-hero.info width: $hosting-hero.width bgcolor: $hosting-hero.bgcolor +cta-text: $hosting-hero.cta-text +cta-link: $hosting-hero.cta-link +cta-role: $hosting-hero.cta-role -- hosting-hero-mobile: $hosting-hero.title if: { ftd.device == "mobile"} @@ -923,6 +929,9 @@ image: $hosting-hero.image info: $hosting-hero.info width: $hosting-hero.width bgcolor: $hosting-hero.bgcolor +cta-text: $hosting-hero.cta-text +cta-link: $hosting-hero.cta-link +cta-role: $hosting-hero.cta-role -- end: ftd.column @@ -943,6 +952,9 @@ caption title: body info: integer width: optional ftd.color bgcolor: +optional string cta-text: +optional string cta-link: +optional string cta-role: -- ftd.column: width: fill-container @@ -974,6 +986,10 @@ text: $hosting-hero-desktop.info role: $inherited.types.copy-large color: $inherited.colors.text-strong +-- lib5.cta-button: $hosting-hero-desktop.cta-text +role: $hosting-hero-desktop.cta-role +link: $hosting-hero-desktop.cta-link + -- end: ftd.column -- end: ftd.column @@ -1011,6 +1027,9 @@ caption title: body info: integer width: optional ftd.color bgcolor: +optional string cta-text: +optional string cta-link: +optional string cta-role: -- ftd.column: width: fill-container @@ -1041,6 +1060,10 @@ text: $hosting-hero-mobile.info role: $inherited.types.copy-regular color: $inherited.colors.text-strong +-- lib5.cta-button: $hosting-hero-mobile.cta-text +role: $hosting-hero-mobile.cta-role +link: $hosting-hero-mobile.cta-link + -- end: ftd.column -- end: ftd.column diff --git a/lib.ftd b/lib.ftd index 4364b3c..ac33d5e 100644 --- a/lib.ftd +++ b/lib.ftd @@ -2174,14 +2174,18 @@ caption title: body info: integer width: $width optional ftd.color bgcolor: $inherited.colors.background.step-1 - +optional string cta-text: +optional string cta-link: +optional string cta-role: -- lib4.hosting-hero: $hosting-hero.title image: $hosting-hero.image info: $hosting-hero.info width: $hosting-hero.width bgcolor: $hosting-hero.bgcolor - +cta-text: $hosting-hero.cta-text +cta-link: $hosting-hero.cta-link +cta-role: $hosting-hero.cta-role -- end: hosting-hero