diff --git a/legacy/src/manual-inline/test.json b/legacy/src/manual-inline/test.json deleted file mode 100644 index a4226c99..00000000 --- a/legacy/src/manual-inline/test.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "Tone" : "masterclass", - "ComponentTitle": "The Guardian Bookshop", - "Type": "inline", - "OfferTitle": "Test Title", - "OfferText": "Meta", - "OfferImage": "http://cdn.wallpapersafari.com/13/5/Gz5cpl.jpg" -} diff --git a/legacy/src/manual-inline/web/index.html b/legacy/src/manual-inline/web/index.html deleted file mode 100644 index 6a087071..00000000 --- a/legacy/src/manual-inline/web/index.html +++ /dev/null @@ -1,30 +0,0 @@ - - - diff --git a/legacy/src/manual-inline/web/index.js b/legacy/src/manual-inline/web/index.js deleted file mode 100644 index 30519fe8..00000000 --- a/legacy/src/manual-inline/web/index.js +++ /dev/null @@ -1,28 +0,0 @@ -import { getIframeId, getWebfonts, reportClicks, resizeIframeHeight, onViewport } from '../../_shared/js/messages'; -import { cleanupButtons } from '../../_shared/js/creatives-inline'; -import { write } from '../../_shared/js/dom'; - -function injectBranchLogo() { - let componentTone = '[%Tone%]'; - - Array.from(document.getElementsByClassName('brand_logo')).forEach(insertHeaderSvg); - - function insertHeaderSvg(div) { - write( () => div.insertAdjacentHTML('afterbegin', logoSvgs[componentTone]) ); - } -}; - -cleanupButtons(); -injectBranchLogo(); - -getIframeId() - .then(() => Promise.all([getWebfonts(), reportClicks()])) - .then(() => { - let lastWidth; - onViewport(({ width }) => { - if( width !== lastWidth ) { - lastWidth = width; - resizeIframeHeight(); - } - }); - }); diff --git a/legacy/src/manual-inline/web/index.scss b/legacy/src/manual-inline/web/index.scss deleted file mode 100644 index 30330913..00000000 --- a/legacy/src/manual-inline/web/index.scss +++ /dev/null @@ -1,15 +0,0 @@ -@import '_core'; -@import '_adverts'; -@import '_advert'; -@import '_adverts-books'; -@import '_adverts-brand'; -@import '_adverts-jobs'; -@import '_adverts-subscriptions'; -@import '_adverts-networks'; -@import '_adverts-live'; -@import '_adverts-membership'; -@import '_adverts-masterclasses'; -@import '_adverts-travel'; -@import '_adverts-shop'; -@import '_adverts-money'; -@import '_adverts-gardening'; diff --git a/src/templates/ssr/manual-inline/ad.json b/src/templates/ssr/manual-inline/ad.json deleted file mode 100644 index 6e201407..00000000 --- a/src/templates/ssr/manual-inline/ad.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "nativeStyleId": "77666" -} diff --git a/src/templates/ssr/manual-inline/index.svelte b/src/templates/ssr/manual-inline/index.svelte deleted file mode 100644 index 90a6d76e..00000000 --- a/src/templates/ssr/manual-inline/index.svelte +++ /dev/null @@ -1,129 +0,0 @@ - - - - - diff --git a/src/templates/ssr/manual-inline/test.json b/src/templates/ssr/manual-inline/test.json deleted file mode 100644 index e1a63fe9..00000000 --- a/src/templates/ssr/manual-inline/test.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "TrackingId": "", - "Tone": "live", - "BaseUrl": "https://www.theguardian.com/guardian-live-events/2023/dec/13/guardian-newsroom-are-the-conservative-party-finished", - "OfferUrl": "https://www.theguardian.com/guardian-live-events/2023/dec/13/guardian-newsroom-are-the-conservative-party-finished", - "OfferTitle": "Guardian Newsroom: Is the Conservative party finished?", - "OfferImage": "https://tpc.googlesyndication.com/simgad/16802306092561244084", - "OfferText": "

Monday 29 January, 8pm-9.15pm GMT.

Rishi Sunak came to power promising a return to stability, but as we head towards a general election, his party remains more divided than ever and the polls show the Tories are heading for political oblivion. Has the Conservative party run out of road after 13 years in power?.

Join the Guardian's Gaby Hinsliff and Kiran Stacey, with an expert panel, as they explore a Conservative party in crisis.

", - "OfferLinkText": "Book now" -}