diff --git a/packages/common/components/layouts/marko.json b/packages/common/components/layouts/marko.json index dc51985..f5f5334 100644 --- a/packages/common/components/layouts/marko.json +++ b/packages/common/components/layouts/marko.json @@ -16,5 +16,8 @@ }, "": { "template": "./senl.marko" + }, + "": { + "template": "./rsna.marko" } } diff --git a/packages/common/components/layouts/rsna.marko b/packages/common/components/layouts/rsna.marko new file mode 100644 index 0000000..aa79fc0 --- /dev/null +++ b/packages/common/components/layouts/rsna.marko @@ -0,0 +1,68 @@ +import { get } from "@parameter1/base-cms-object-path"; +import { parseBooleanHeader } from "@parameter1/base-cms-utils"; +import queryFragment from "@science-medicine-group/package-common/graphql/fragments/content-list"; + +$ const { website, config, req } = out.global; +$ const { newsletter, date } = input.data; + +$ const emailX = config.get("emailX"); +$ const nativeX = config.getAsObject("nativeX"); + + + <@head> + + + <@body style="padding:0; margin:0;font-family: 'Roboto', Arial, sans-serif; -webkit-text-size-adjust:100%;"> + + <@body> + + + + + + + + + + + + + + + + + diff --git a/tenants/all/config/core.js b/tenants/all/config/core.js index 97e7c08..6b07b9c 100644 --- a/tenants/all/config/core.js +++ b/tenants/all/config/core.js @@ -157,6 +157,24 @@ const config = { }, preferenceCenter: 'https://www.auntminnie.com/user/subscribe', }, + 'am-rsna': { + ...brands.am, + name: 'AuntMinnie-RSNA', + logo: { + src: '/files/base/smg/all/image/static/am/AM__RSNA__header.png', + footerWidth: 200, + }, + preferenceCenter: 'https://www.auntminnie.com/user/subscribe', + }, + 'am-rsna-preview': { + ...brands.am, + name: 'AuntMinnie-RSNA Preview', + logo: { + src: '/files/base/smg/all/image/static/am/AM__RSNA_Preview_header.png', + footerWidth: 200, + }, + preferenceCenter: 'https://www.auntminnie.com/user/subscribe', + }, 'ame-senl': { ...brands.ame, name: 'AuntMinnieEurope-SENL', diff --git a/tenants/all/config/email-x.js b/tenants/all/config/email-x.js index 29909ec..421aa6b 100644 --- a/tenants/all/config/email-x.js +++ b/tenants/all/config/email-x.js @@ -161,6 +161,22 @@ config height: 250, }, ]) + .setAdUnits('am-rsna', [ + { + name: 'ad-slot-1', + id: '654bbc997ed2851ec164a656', + width: 300, + height: 250, + }, + ]) + .setAdUnits('am-rsna-preview', [ + { + name: 'ad-slot-1', + id: '654bbcb87ed28543e664a684', + width: 300, + height: 250, + }, + ]) .setAdUnits('sab', [ { name: 'ad-slot-1', diff --git a/tenants/all/templates/am-rsna-preview.marko b/tenants/all/templates/am-rsna-preview.marko new file mode 100644 index 0000000..1026c10 --- /dev/null +++ b/tenants/all/templates/am-rsna-preview.marko @@ -0,0 +1 @@ + diff --git a/tenants/all/templates/am-rsna.marko b/tenants/all/templates/am-rsna.marko new file mode 100644 index 0000000..1026c10 --- /dev/null +++ b/tenants/all/templates/am-rsna.marko @@ -0,0 +1 @@ +