Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
MeenuKumari28 committed Apr 10, 2023
1 parent 88b7931 commit 5e889cf
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 2 deletions.
23 changes: 23 additions & 0 deletions component-lib/lib4.ftd
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -916,13 +919,19 @@ 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"}
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

Expand All @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
8 changes: 6 additions & 2 deletions lib.ftd
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 5e889cf

Please sign in to comment.