From 922880059ed341f4e469cdb406b90717a5b87da5 Mon Sep 17 00:00:00 2001 From: Blaine Gunn Date: Thu, 19 Sep 2024 15:10:11 -0600 Subject: [PATCH] MWPW-158834 --- acrobat/blocks/verb-widget/verb-widget.js | 10 ++++++++-- acrobat/img/verb-widget/fillsign.png | Bin 0 -> 3224 bytes 2 files changed, 8 insertions(+), 2 deletions(-) create mode 100644 acrobat/img/verb-widget/fillsign.png diff --git a/acrobat/blocks/verb-widget/verb-widget.js b/acrobat/blocks/verb-widget/verb-widget.js index cc54d9e0..7e2956b1 100644 --- a/acrobat/blocks/verb-widget/verb-widget.js +++ b/acrobat/blocks/verb-widget/verb-widget.js @@ -80,9 +80,12 @@ export default async function init(element) { const widgetButton = createTag('label', { for: 'file-upload', class: 'verb-cta' }, window.mph['verb-widget-cta']); const widgetMobileButton = createTag('a', { class: 'verb-mobile-cta', href: mobileLink }, window.mph['verb-widget-cta-mobile']); const button = createTag('input', { type: 'file', id: 'file-upload', class: 'hide' }); - const widgetImage = createTag('img', { class: 'verb-image', src: children[1].querySelector('img')?.src }); + const widgetImage = createTag('img', { class: 'verb-image', src: `/acrobat/img/verb-widget/${VERB}.png` }); // Since we're using placeholders we need a solution for the hyperlinks - const legal = createTag('p', { class: 'verb-legal' }, window.mph['verb-widget-legal']); + const legal = createTag('p', { class: 'verb-legal' }, `${window.mph['verb-widget-legal']} `); + const terms = createTag('a', { class: 'verb-legal-url', target: '_blank', href: 'https://www.adobe.com/legal/terms.html' }, window.mph.tou); + const and = createTag('span', { class: 'verb-legal-url' }, ` ${window.mph.and} `); + const privacy = createTag('a', { class: 'verb-legal-url', target: '_blank', href: 'https://www.adobe.com/privacy/policy.html' }, `${window.mph.pp}.`); const iconSecurity = createTag('div', { class: 'security-icon' }); const footer = createTag('div', { class: 'verb-footer' }); @@ -102,6 +105,9 @@ export default async function init(element) { } else { widgetLeft.append(widgetHeader, widgetHeading, widgetCopy, errorState, widgetButton, button); } + + legal.append(terms, and, privacy); + footer.append(iconSecurity, legal); element.append(widget, footer); diff --git a/acrobat/img/verb-widget/fillsign.png b/acrobat/img/verb-widget/fillsign.png new file mode 100644 index 0000000000000000000000000000000000000000..7e450f43bf26f6b876da60aedf8cccc7b7d7ceeb GIT binary patch literal 3224 zcmV;J3}^FFNk&GH3;+OEMM6+kP&il$0000G000130RYYb06|PpNMHj100E#@Yg^rD zyCpml9tn|vgg6Ke-Z%gUjRWeS;~)|`4v>I^`$y-{ga^uZY(z`|-v0l$U+0Gvxeh8N z0r_?1z(DOIfgF$dVSEsFSEQB;!|ejW#8QS$~XIi=eO<HZ|zt#u%_@&2zx)qw3v>7hb&g{u6??8UBP7sI)r4#!5jxR^!D!?_OsFpP^)Y8rzjyJcKDjH#2j zbQn`7aWO;ITV^Yh1^Q?m7bE@@wlq~HVJ~dsVu9S)*i@5*!gekOe6qQz9?fj(Qe9w! zQ!Sd=*rhUMlT#g%+1yaqwM|S_T-o5Is@y296)2nRDw^2r>3r8VWvR!tYd>FZ6Jv+b zoo!;Hi*#5zn`;%<4l8H#&DuMRQzub6%=gmNVX>F|+kgLvnr0nTT9{=7`6qai`}oNb zPn1mZGJGPQs)gh_q~J)>4JoW7iw-GlB(n}F+(_QXlw^`=I5SwKI720|K9$4`|q76*I{!nO&zA4l+j;1Iw^IS?>**vnA;V0c?J6q{RWhCqt_hPJfZO(L@O^Uvd$2aZqyHMec%Jshk zpa0RkP&u{A>C|2yNO@1Hn-PvQYw{huP-Pvc@0B;t0zgHbsdyPHwb6(k5s`r#yEWZo zIsK2(_Yh@8Ys@UviEBiOxp;l13C^)rZuMOI(r^OciCRFyxGsFV0GR#+)dq@JL|;9p zl9ePp{ODV_O6FP5q(U5b80N4<%1K`*!5OPd#4jPu_v)Or&;y) zRC|p#Ys&0AaIN7FMOq%R3iB!n%q3XCTvo6(2Dg;6*Lq|MQc z;Gmn;5Q0Z(EWeJuyt7xe&lBr^zr_WaV<>&liOZrFJwMFbcYG&D?WxVM>Ko@2gqB@J z2hp>9(d033Q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