Skip to content

Commit 689ed8e

Browse files
committed
chore(popup-banner): flip logo back to use type img
1 parent 0762aa6 commit 689ed8e

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

clips/popup-banner/clip/clip.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<img
77
mc-if="initParams.logo.length > 0"
88
class="logo"
9-
src="{{initParams.logo}}"
9+
src="{{initParams.logo.default}}"
1010
alt="logo"
1111
/>
1212
<div class="abstract-lines2-wrapper">

clips/popup-banner/clip/initParams.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,10 @@ export default [
3030
"Save big on seasonal favorite. Save big on seasonal favorite. Save big on season favorite t-shirts and trousers",
3131

3232
cta: "START SHOPPING",
33-
logo: "https://donkeyclip.github.io/clips/clips/popup-banner/images/logo.png",
33+
logo: {
34+
default:
35+
"https://donkeyclip.github.io/clips/clips/popup-banner/images/logo.png",
36+
},
3437
ctaColor: "#5d0a0a",
3538
textColor: "#000000",
3639
imageBgColor: "#FFFFFF",

clips/popup-banner/clip/initParamsValidationRules.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
export default {
22
title: { label: "Title", type: "string" },
33
subtitle: { label: "Subtitle", type: "string" },
4-
logo: { label: "Logo", type: "string" },
4+
logo: { label: "Logo", type: "img" },
55
cta: { label: "CTA Text", type: "string" },
66
ctaColor: { label: "CTA & Lines Color", type: "color" },
77
textColor: { label: "Banner Text Color", type: "color" },

0 commit comments

Comments
 (0)