From f7c1b60247579e70b6b813a38942912d57b22792 Mon Sep 17 00:00:00 2001 From: Tobi Reiss Date: Thu, 5 Oct 2023 10:53:11 +0200 Subject: [PATCH] Move everything into solutions folder (#394) --- 404.html | 10 +++++----- head.html | 8 ++++---- package.json | 2 +- .../blocks}/accordion/accordion.css | 0 {blocks => solutions/blocks}/accordion/accordion.js | 0 .../blocks}/awards-search/awards-search.css | 4 ++-- .../blocks}/awards-search/awards-search.js | 0 {blocks => solutions/blocks}/barchart/barchart.css | 0 {blocks => solutions/blocks}/barchart/barchart.js | 0 {blocks => solutions/blocks}/cards/cards.css | 0 {blocks => solutions/blocks}/cards/cards.js | 0 {blocks => solutions/blocks}/columns/columns.css | 2 +- {blocks => solutions/blocks}/columns/columns.js | 0 {blocks => solutions/blocks}/embed/embed.css | 0 {blocks => solutions/blocks}/embed/embed.js | 0 {blocks => solutions/blocks}/features/features.css | 2 +- {blocks => solutions/blocks}/features/features.js | 0 {blocks => solutions/blocks}/footer/footer.css | 0 {blocks => solutions/blocks}/footer/footer.js | 0 {blocks => solutions/blocks}/form/form.css | 0 {blocks => solutions/blocks}/form/form.js | 0 .../blocks}/fragment-metadata/fragment-metadata.css | 0 .../blocks}/fragment-metadata/fragment-metadata.js | 0 {blocks => solutions/blocks}/header/header.css | 8 ++++---- {blocks => solutions/blocks}/header/header.js | 0 {blocks => solutions/blocks}/hero/hero.css | 0 {blocks => solutions/blocks}/hero/hero.js | 0 .../blocks}/image-columns/image-columns.css | 0 .../blocks}/image-columns/image-columns.js | 0 .../product-comparison-table.css | 0 .../product-comparison-table.js | 0 {blocks => solutions/blocks}/products/products.css | 0 {blocks => solutions/blocks}/products/products.js | 0 .../blocks}/quote-carousel/quote-carousel.css | 0 .../blocks}/quote-carousel/quote-carousel.js | 0 {blocks => solutions/blocks}/quote/quote.css | 0 {blocks => solutions/blocks}/quote/quote.js | 0 .../blocks}/sticky-navigation/sticky-navigation.css | 0 .../blocks}/sticky-navigation/sticky-navigation.js | 0 {blocks => solutions/blocks}/tabs/tabs.css | 0 {blocks => solutions/blocks}/tabs/tabs.js | 0 {fonts => solutions/fonts}/roboto-300.woff2 | Bin {fonts => solutions/fonts}/roboto-400.woff2 | Bin {fonts => solutions/fonts}/roboto-500.woff2 | Bin {icons => solutions/icons}/arrow-right.svg | 0 {icons => solutions/icons}/blue-circle.svg | 0 .../icons}/checkmark-solid-circle-white.svg | 0 .../icons}/checkmark_solid-circle.svg | 0 {icons => solutions/icons}/dark-blue-quote.svg | 0 {icons => solutions/icons}/search.svg | 0 {icons => solutions/icons}/tabs_arrow.svg | 0 {icons => solutions/icons}/user-guide.svg | 0 {images => solutions/images}/b-red-mask.png | Bin .../plugins}/rum-conversion/.eslintignore | 0 .../plugins}/rum-conversion/.eslintrc.js | 0 .../plugins}/rum-conversion/.gitignore | 0 .../plugins}/rum-conversion/.npmignore | 0 .../plugins}/rum-conversion/.stylelintrc.json | 0 .../plugins}/rum-conversion/LICENSE | 0 .../plugins}/rum-conversion/README.md | 0 .../plugins}/rum-conversion/package-lock.json | 0 .../plugins}/rum-conversion/package.json | 0 .../plugins}/rum-conversion/src/index.js | 0 {scripts => solutions/scripts}/breadcrumbs.js | 0 {scripts => solutions/scripts}/delayed.js | 0 {scripts => solutions/scripts}/lib-franklin.js | 4 ++-- .../scripts}/lib-identity-exposed-onsubmit.js | 0 {scripts => solutions/scripts}/scripts.js | 4 ++-- {scripts => solutions/scripts}/utils/utils.js | 2 +- {styles => solutions/styles}/lazy-styles.css | 0 {styles => solutions/styles}/styles.css | 8 ++++---- {styles => solutions/styles}/thank-you.css | 0 72 files changed, 27 insertions(+), 27 deletions(-) rename {blocks => solutions/blocks}/accordion/accordion.css (100%) rename {blocks => solutions/blocks}/accordion/accordion.js (100%) rename {blocks => solutions/blocks}/awards-search/awards-search.css (98%) rename {blocks => solutions/blocks}/awards-search/awards-search.js (100%) rename {blocks => solutions/blocks}/barchart/barchart.css (100%) rename {blocks => solutions/blocks}/barchart/barchart.js (100%) rename {blocks => solutions/blocks}/cards/cards.css (100%) rename {blocks => solutions/blocks}/cards/cards.js (100%) rename {blocks => solutions/blocks}/columns/columns.css (99%) rename {blocks => solutions/blocks}/columns/columns.js (100%) rename {blocks => solutions/blocks}/embed/embed.css (100%) rename {blocks => solutions/blocks}/embed/embed.js (100%) rename {blocks => solutions/blocks}/features/features.css (98%) rename {blocks => solutions/blocks}/features/features.js (100%) rename {blocks => solutions/blocks}/footer/footer.css (100%) rename {blocks => solutions/blocks}/footer/footer.js (100%) rename {blocks => solutions/blocks}/form/form.css (100%) rename {blocks => solutions/blocks}/form/form.js (100%) rename {blocks => solutions/blocks}/fragment-metadata/fragment-metadata.css (100%) rename {blocks => solutions/blocks}/fragment-metadata/fragment-metadata.js (100%) rename {blocks => solutions/blocks}/header/header.css (98%) rename {blocks => solutions/blocks}/header/header.js (100%) rename {blocks => solutions/blocks}/hero/hero.css (100%) rename {blocks => solutions/blocks}/hero/hero.js (100%) rename {blocks => solutions/blocks}/image-columns/image-columns.css (100%) rename {blocks => solutions/blocks}/image-columns/image-columns.js (100%) rename {blocks => solutions/blocks}/product-comparison-table/product-comparison-table.css (100%) rename {blocks => solutions/blocks}/product-comparison-table/product-comparison-table.js (100%) rename {blocks => solutions/blocks}/products/products.css (100%) rename {blocks => solutions/blocks}/products/products.js (100%) rename {blocks => solutions/blocks}/quote-carousel/quote-carousel.css (100%) rename {blocks => solutions/blocks}/quote-carousel/quote-carousel.js (100%) rename {blocks => solutions/blocks}/quote/quote.css (100%) rename {blocks => solutions/blocks}/quote/quote.js (100%) rename {blocks => solutions/blocks}/sticky-navigation/sticky-navigation.css (100%) rename {blocks => solutions/blocks}/sticky-navigation/sticky-navigation.js (100%) rename {blocks => solutions/blocks}/tabs/tabs.css (100%) rename {blocks => solutions/blocks}/tabs/tabs.js (100%) rename {fonts => solutions/fonts}/roboto-300.woff2 (100%) rename {fonts => solutions/fonts}/roboto-400.woff2 (100%) rename {fonts => solutions/fonts}/roboto-500.woff2 (100%) rename {icons => solutions/icons}/arrow-right.svg (100%) rename {icons => solutions/icons}/blue-circle.svg (100%) rename {icons => solutions/icons}/checkmark-solid-circle-white.svg (100%) rename {icons => solutions/icons}/checkmark_solid-circle.svg (100%) rename {icons => solutions/icons}/dark-blue-quote.svg (100%) rename {icons => solutions/icons}/search.svg (100%) rename {icons => solutions/icons}/tabs_arrow.svg (100%) rename {icons => solutions/icons}/user-guide.svg (100%) rename {images => solutions/images}/b-red-mask.png (100%) rename {plugins => solutions/plugins}/rum-conversion/.eslintignore (100%) rename {plugins => solutions/plugins}/rum-conversion/.eslintrc.js (100%) rename {plugins => solutions/plugins}/rum-conversion/.gitignore (100%) rename {plugins => solutions/plugins}/rum-conversion/.npmignore (100%) rename {plugins => solutions/plugins}/rum-conversion/.stylelintrc.json (100%) rename {plugins => solutions/plugins}/rum-conversion/LICENSE (100%) rename {plugins => solutions/plugins}/rum-conversion/README.md (100%) rename {plugins => solutions/plugins}/rum-conversion/package-lock.json (100%) rename {plugins => solutions/plugins}/rum-conversion/package.json (100%) rename {plugins => solutions/plugins}/rum-conversion/src/index.js (100%) rename {scripts => solutions/scripts}/breadcrumbs.js (100%) rename {scripts => solutions/scripts}/delayed.js (100%) rename {scripts => solutions/scripts}/lib-franklin.js (99%) rename {scripts => solutions/scripts}/lib-identity-exposed-onsubmit.js (100%) rename {scripts => solutions/scripts}/scripts.js (99%) rename {scripts => solutions/scripts}/utils/utils.js (98%) rename {styles => solutions/styles}/lazy-styles.css (100%) rename {styles => solutions/styles}/styles.css (99%) rename {styles => solutions/styles}/thank-you.css (100%) diff --git a/404.html b/404.html index e2e55d8cc..165f8c43b 100644 --- a/404.html +++ b/404.html @@ -9,12 +9,12 @@ - + - + - + diff --git a/head.html b/head.html index 6b0e8bcf2..ab62f2d13 100644 --- a/head.html +++ b/head.html @@ -1,6 +1,6 @@ - - - - \ No newline at end of file + + + + \ No newline at end of file diff --git a/package.json b/package.json index 8c00ff562..74d17f0f3 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,7 @@ "description": "Starter project for Adobe Helix", "scripts": { "lint:js": "eslint .", - "lint:css": "stylelint blocks/**/*.css styles/*.css", + "lint:css": "stylelint solutions/blocks/**/*.css solutions/styles/*.css", "lint": "npm run lint:js && npm run lint:css" }, "repository": { diff --git a/blocks/accordion/accordion.css b/solutions/blocks/accordion/accordion.css similarity index 100% rename from blocks/accordion/accordion.css rename to solutions/blocks/accordion/accordion.css diff --git a/blocks/accordion/accordion.js b/solutions/blocks/accordion/accordion.js similarity index 100% rename from blocks/accordion/accordion.js rename to solutions/blocks/accordion/accordion.js diff --git a/blocks/awards-search/awards-search.css b/solutions/blocks/awards-search/awards-search.css similarity index 98% rename from blocks/awards-search/awards-search.css rename to solutions/blocks/awards-search/awards-search.css index 2ded6f166..d9fb85468 100644 --- a/blocks/awards-search/awards-search.css +++ b/solutions/blocks/awards-search/awards-search.css @@ -102,8 +102,8 @@ main .section .awards-search .awards-results-container .award-item-container h2 width: 1.5rem; height: 1.3125rem; /* stylelint-disable-next-line property-no-vendor-prefix */ - -webkit-mask: url('/icons/arrow-right.svg'); - mask: url('/icons/arrow-right.svg'); + -webkit-mask: url('/solutions/icons/arrow-right.svg'); + mask: url('/solutions/icons/arrow-right.svg'); background-color: var(--read-more-text-color); display: inline-block; opacity: 1; diff --git a/blocks/awards-search/awards-search.js b/solutions/blocks/awards-search/awards-search.js similarity index 100% rename from blocks/awards-search/awards-search.js rename to solutions/blocks/awards-search/awards-search.js diff --git a/blocks/barchart/barchart.css b/solutions/blocks/barchart/barchart.css similarity index 100% rename from blocks/barchart/barchart.css rename to solutions/blocks/barchart/barchart.css diff --git a/blocks/barchart/barchart.js b/solutions/blocks/barchart/barchart.js similarity index 100% rename from blocks/barchart/barchart.js rename to solutions/blocks/barchart/barchart.js diff --git a/blocks/cards/cards.css b/solutions/blocks/cards/cards.css similarity index 100% rename from blocks/cards/cards.css rename to solutions/blocks/cards/cards.css diff --git a/blocks/cards/cards.js b/solutions/blocks/cards/cards.js similarity index 100% rename from blocks/cards/cards.js rename to solutions/blocks/cards/cards.js diff --git a/blocks/columns/columns.css b/solutions/blocks/columns/columns.css similarity index 99% rename from blocks/columns/columns.css rename to solutions/blocks/columns/columns.css index 5900ba7a2..ac1fadb4a 100644 --- a/blocks/columns/columns.css +++ b/solutions/blocks/columns/columns.css @@ -448,7 +448,7 @@ main .section.two-columns .right-col .products.plans a.button:any-link { .two-columns .left-col p a.info-button.modal::before { - content: url("/icons/user-guide-white.svg"); + content: url("/solutions/icons/user-guide-white.svg"); color: white; padding-right: 8px; } \ No newline at end of file diff --git a/blocks/columns/columns.js b/solutions/blocks/columns/columns.js similarity index 100% rename from blocks/columns/columns.js rename to solutions/blocks/columns/columns.js diff --git a/blocks/embed/embed.css b/solutions/blocks/embed/embed.css similarity index 100% rename from blocks/embed/embed.css rename to solutions/blocks/embed/embed.css diff --git a/blocks/embed/embed.js b/solutions/blocks/embed/embed.js similarity index 100% rename from blocks/embed/embed.js rename to solutions/blocks/embed/embed.js diff --git a/blocks/features/features.css b/solutions/blocks/features/features.css similarity index 98% rename from blocks/features/features.css rename to solutions/blocks/features/features.css index 17268fb01..065dc557c 100644 --- a/blocks/features/features.css +++ b/solutions/blocks/features/features.css @@ -90,7 +90,7 @@ width: 14px; height: 8px; margin: 0 3px; - background: url("../../../icons/tabs_arrow.svg") no-repeat; + background: url("/solutions/icons/tabs_arrow.svg") no-repeat; background-size: 100%;; transform: rotate(180deg); transition: all .3s linear; diff --git a/blocks/features/features.js b/solutions/blocks/features/features.js similarity index 100% rename from blocks/features/features.js rename to solutions/blocks/features/features.js diff --git a/blocks/footer/footer.css b/solutions/blocks/footer/footer.css similarity index 100% rename from blocks/footer/footer.css rename to solutions/blocks/footer/footer.css diff --git a/blocks/footer/footer.js b/solutions/blocks/footer/footer.js similarity index 100% rename from blocks/footer/footer.js rename to solutions/blocks/footer/footer.js diff --git a/blocks/form/form.css b/solutions/blocks/form/form.css similarity index 100% rename from blocks/form/form.css rename to solutions/blocks/form/form.css diff --git a/blocks/form/form.js b/solutions/blocks/form/form.js similarity index 100% rename from blocks/form/form.js rename to solutions/blocks/form/form.js diff --git a/blocks/fragment-metadata/fragment-metadata.css b/solutions/blocks/fragment-metadata/fragment-metadata.css similarity index 100% rename from blocks/fragment-metadata/fragment-metadata.css rename to solutions/blocks/fragment-metadata/fragment-metadata.css diff --git a/blocks/fragment-metadata/fragment-metadata.js b/solutions/blocks/fragment-metadata/fragment-metadata.js similarity index 100% rename from blocks/fragment-metadata/fragment-metadata.js rename to solutions/blocks/fragment-metadata/fragment-metadata.js diff --git a/blocks/header/header.css b/solutions/blocks/header/header.css similarity index 98% rename from blocks/header/header.css rename to solutions/blocks/header/header.css index afdf38a6d..6e4924881 100644 --- a/blocks/header/header.css +++ b/solutions/blocks/header/header.css @@ -352,8 +352,8 @@ header a.button:hover span.button-text { width: 24px; height: 24px; /* stylelint-disable-next-line property-no-vendor-prefix */ - -webkit-mask:url('/icons/arrow-right.svg'); - mask: url('/icons/arrow-right.svg'); + -webkit-mask:url('/solutions/icons/arrow-right.svg'); + mask: url('/solutions/icons/arrow-right.svg'); background-color: var(--button-link-color); display: inline-block; transition: all .2s cubic-bezier(.4,0,.2,1); @@ -901,8 +901,8 @@ header a.button:hover span.button-text { width: 24px; height: 24px; /* stylelint-disable-next-line property-no-vendor-prefix */ - -webkit-mask:url('/icons/arrow-right.svg'); - mask: url('/icons/arrow-right.svg'); + -webkit-mask:url('/solutions/icons/arrow-right.svg'); + mask: url('/solutions/icons/arrow-right.svg'); background-color: var(--button-link-color); display: inline-block; transition: all .2s cubic-bezier(.4,0,.2,1); diff --git a/blocks/header/header.js b/solutions/blocks/header/header.js similarity index 100% rename from blocks/header/header.js rename to solutions/blocks/header/header.js diff --git a/blocks/hero/hero.css b/solutions/blocks/hero/hero.css similarity index 100% rename from blocks/hero/hero.css rename to solutions/blocks/hero/hero.css diff --git a/blocks/hero/hero.js b/solutions/blocks/hero/hero.js similarity index 100% rename from blocks/hero/hero.js rename to solutions/blocks/hero/hero.js diff --git a/blocks/image-columns/image-columns.css b/solutions/blocks/image-columns/image-columns.css similarity index 100% rename from blocks/image-columns/image-columns.css rename to solutions/blocks/image-columns/image-columns.css diff --git a/blocks/image-columns/image-columns.js b/solutions/blocks/image-columns/image-columns.js similarity index 100% rename from blocks/image-columns/image-columns.js rename to solutions/blocks/image-columns/image-columns.js diff --git a/blocks/product-comparison-table/product-comparison-table.css b/solutions/blocks/product-comparison-table/product-comparison-table.css similarity index 100% rename from blocks/product-comparison-table/product-comparison-table.css rename to solutions/blocks/product-comparison-table/product-comparison-table.css diff --git a/blocks/product-comparison-table/product-comparison-table.js b/solutions/blocks/product-comparison-table/product-comparison-table.js similarity index 100% rename from blocks/product-comparison-table/product-comparison-table.js rename to solutions/blocks/product-comparison-table/product-comparison-table.js diff --git a/blocks/products/products.css b/solutions/blocks/products/products.css similarity index 100% rename from blocks/products/products.css rename to solutions/blocks/products/products.css diff --git a/blocks/products/products.js b/solutions/blocks/products/products.js similarity index 100% rename from blocks/products/products.js rename to solutions/blocks/products/products.js diff --git a/blocks/quote-carousel/quote-carousel.css b/solutions/blocks/quote-carousel/quote-carousel.css similarity index 100% rename from blocks/quote-carousel/quote-carousel.css rename to solutions/blocks/quote-carousel/quote-carousel.css diff --git a/blocks/quote-carousel/quote-carousel.js b/solutions/blocks/quote-carousel/quote-carousel.js similarity index 100% rename from blocks/quote-carousel/quote-carousel.js rename to solutions/blocks/quote-carousel/quote-carousel.js diff --git a/blocks/quote/quote.css b/solutions/blocks/quote/quote.css similarity index 100% rename from blocks/quote/quote.css rename to solutions/blocks/quote/quote.css diff --git a/blocks/quote/quote.js b/solutions/blocks/quote/quote.js similarity index 100% rename from blocks/quote/quote.js rename to solutions/blocks/quote/quote.js diff --git a/blocks/sticky-navigation/sticky-navigation.css b/solutions/blocks/sticky-navigation/sticky-navigation.css similarity index 100% rename from blocks/sticky-navigation/sticky-navigation.css rename to solutions/blocks/sticky-navigation/sticky-navigation.css diff --git a/blocks/sticky-navigation/sticky-navigation.js b/solutions/blocks/sticky-navigation/sticky-navigation.js similarity index 100% rename from blocks/sticky-navigation/sticky-navigation.js rename to solutions/blocks/sticky-navigation/sticky-navigation.js diff --git a/blocks/tabs/tabs.css b/solutions/blocks/tabs/tabs.css similarity index 100% rename from blocks/tabs/tabs.css rename to solutions/blocks/tabs/tabs.css diff --git a/blocks/tabs/tabs.js b/solutions/blocks/tabs/tabs.js similarity index 100% rename from blocks/tabs/tabs.js rename to solutions/blocks/tabs/tabs.js diff --git a/fonts/roboto-300.woff2 b/solutions/fonts/roboto-300.woff2 similarity index 100% rename from fonts/roboto-300.woff2 rename to solutions/fonts/roboto-300.woff2 diff --git a/fonts/roboto-400.woff2 b/solutions/fonts/roboto-400.woff2 similarity index 100% rename from fonts/roboto-400.woff2 rename to solutions/fonts/roboto-400.woff2 diff --git a/fonts/roboto-500.woff2 b/solutions/fonts/roboto-500.woff2 similarity index 100% rename from fonts/roboto-500.woff2 rename to solutions/fonts/roboto-500.woff2 diff --git a/icons/arrow-right.svg b/solutions/icons/arrow-right.svg similarity index 100% rename from icons/arrow-right.svg rename to solutions/icons/arrow-right.svg diff --git a/icons/blue-circle.svg b/solutions/icons/blue-circle.svg similarity index 100% rename from icons/blue-circle.svg rename to solutions/icons/blue-circle.svg diff --git a/icons/checkmark-solid-circle-white.svg b/solutions/icons/checkmark-solid-circle-white.svg similarity index 100% rename from icons/checkmark-solid-circle-white.svg rename to solutions/icons/checkmark-solid-circle-white.svg diff --git a/icons/checkmark_solid-circle.svg b/solutions/icons/checkmark_solid-circle.svg similarity index 100% rename from icons/checkmark_solid-circle.svg rename to solutions/icons/checkmark_solid-circle.svg diff --git a/icons/dark-blue-quote.svg b/solutions/icons/dark-blue-quote.svg similarity index 100% rename from icons/dark-blue-quote.svg rename to solutions/icons/dark-blue-quote.svg diff --git a/icons/search.svg b/solutions/icons/search.svg similarity index 100% rename from icons/search.svg rename to solutions/icons/search.svg diff --git a/icons/tabs_arrow.svg b/solutions/icons/tabs_arrow.svg similarity index 100% rename from icons/tabs_arrow.svg rename to solutions/icons/tabs_arrow.svg diff --git a/icons/user-guide.svg b/solutions/icons/user-guide.svg similarity index 100% rename from icons/user-guide.svg rename to solutions/icons/user-guide.svg diff --git a/images/b-red-mask.png b/solutions/images/b-red-mask.png similarity index 100% rename from images/b-red-mask.png rename to solutions/images/b-red-mask.png diff --git a/plugins/rum-conversion/.eslintignore b/solutions/plugins/rum-conversion/.eslintignore similarity index 100% rename from plugins/rum-conversion/.eslintignore rename to solutions/plugins/rum-conversion/.eslintignore diff --git a/plugins/rum-conversion/.eslintrc.js b/solutions/plugins/rum-conversion/.eslintrc.js similarity index 100% rename from plugins/rum-conversion/.eslintrc.js rename to solutions/plugins/rum-conversion/.eslintrc.js diff --git a/plugins/rum-conversion/.gitignore b/solutions/plugins/rum-conversion/.gitignore similarity index 100% rename from plugins/rum-conversion/.gitignore rename to solutions/plugins/rum-conversion/.gitignore diff --git a/plugins/rum-conversion/.npmignore b/solutions/plugins/rum-conversion/.npmignore similarity index 100% rename from plugins/rum-conversion/.npmignore rename to solutions/plugins/rum-conversion/.npmignore diff --git a/plugins/rum-conversion/.stylelintrc.json b/solutions/plugins/rum-conversion/.stylelintrc.json similarity index 100% rename from plugins/rum-conversion/.stylelintrc.json rename to solutions/plugins/rum-conversion/.stylelintrc.json diff --git a/plugins/rum-conversion/LICENSE b/solutions/plugins/rum-conversion/LICENSE similarity index 100% rename from plugins/rum-conversion/LICENSE rename to solutions/plugins/rum-conversion/LICENSE diff --git a/plugins/rum-conversion/README.md b/solutions/plugins/rum-conversion/README.md similarity index 100% rename from plugins/rum-conversion/README.md rename to solutions/plugins/rum-conversion/README.md diff --git a/plugins/rum-conversion/package-lock.json b/solutions/plugins/rum-conversion/package-lock.json similarity index 100% rename from plugins/rum-conversion/package-lock.json rename to solutions/plugins/rum-conversion/package-lock.json diff --git a/plugins/rum-conversion/package.json b/solutions/plugins/rum-conversion/package.json similarity index 100% rename from plugins/rum-conversion/package.json rename to solutions/plugins/rum-conversion/package.json diff --git a/plugins/rum-conversion/src/index.js b/solutions/plugins/rum-conversion/src/index.js similarity index 100% rename from plugins/rum-conversion/src/index.js rename to solutions/plugins/rum-conversion/src/index.js diff --git a/scripts/breadcrumbs.js b/solutions/scripts/breadcrumbs.js similarity index 100% rename from scripts/breadcrumbs.js rename to solutions/scripts/breadcrumbs.js diff --git a/scripts/delayed.js b/solutions/scripts/delayed.js similarity index 100% rename from scripts/delayed.js rename to solutions/scripts/delayed.js diff --git a/scripts/lib-franklin.js b/solutions/scripts/lib-franklin.js similarity index 99% rename from scripts/lib-franklin.js rename to solutions/scripts/lib-franklin.js index bdff66d4c..9915aff03 100644 --- a/scripts/lib-franklin.js +++ b/solutions/scripts/lib-franklin.js @@ -279,7 +279,7 @@ export async function fetchPlaceholders(prefix = 'default') { const loaded = window.placeholders[`${prefix}-loaded`]; if (!loaded) { window.placeholders[`${prefix}-loaded`] = new Promise((resolve, reject) => { - fetch(`${prefix === 'default' ? '' : prefix}/placeholders.json`) + fetch(`${prefix === 'default' ? '' : prefix}/solutions/placeholders.json`) .then((resp) => { if (resp.ok) { return resp.json(); @@ -738,7 +738,7 @@ export function setup() { window.hlx.codeBasePath = ''; window.hlx.lighthouse = new URLSearchParams(window.location.search).get('lighthouse') === 'on'; - const scriptEl = document.querySelector('script[src$="/scripts/scripts.js"]'); + const scriptEl = document.querySelector('script[src$="/solutions/scripts/scripts.js"]'); if (scriptEl) { try { [window.hlx.codeBasePath] = new URL(scriptEl.src).pathname.split('/scripts/scripts.js'); diff --git a/scripts/lib-identity-exposed-onsubmit.js b/solutions/scripts/lib-identity-exposed-onsubmit.js similarity index 100% rename from scripts/lib-identity-exposed-onsubmit.js rename to solutions/scripts/lib-identity-exposed-onsubmit.js diff --git a/scripts/scripts.js b/solutions/scripts/scripts.js similarity index 99% rename from scripts/scripts.js rename to solutions/scripts/scripts.js index 23a36a2d9..d15947908 100644 --- a/scripts/scripts.js +++ b/solutions/scripts/scripts.js @@ -162,8 +162,8 @@ export function getEnvironment(hostname, country) { */ function setPageLanguage(param) { document.documentElement.lang = param.language; - createMetadata('nav', '/nav'); - createMetadata('footer', '/footer'); + createMetadata('nav', '/solutions/nav'); + createMetadata('footer', '/solutions/footer'); } export function pushToDataLayer(event, payload) { diff --git a/scripts/utils/utils.js b/solutions/scripts/utils/utils.js similarity index 98% rename from scripts/utils/utils.js rename to solutions/scripts/utils/utils.js index 677b65d36..9890ec651 100644 --- a/scripts/utils/utils.js +++ b/solutions/scripts/utils/utils.js @@ -182,7 +182,7 @@ export async function fetchIndex(indexFile, sheet, pageSize = 500) { const handleIndex = async (offset) => { const sheetParam = sheet ? `&sheet=${sheet}` : ''; - const resp = await fetch(`/${indexFile}.json?limit=${pageSize}&offset=${offset}${sheetParam}`); + const resp = await fetch(`/solutions/${indexFile}.json?limit=${pageSize}&offset=${offset}${sheetParam}`); const json = await resp.json(); const newIndex = { diff --git a/styles/lazy-styles.css b/solutions/styles/lazy-styles.css similarity index 100% rename from styles/lazy-styles.css rename to solutions/styles/lazy-styles.css diff --git a/styles/styles.css b/solutions/styles/styles.css similarity index 99% rename from styles/styles.css rename to solutions/styles/styles.css index 30aba71cc..01f9babc6 100644 --- a/styles/styles.css +++ b/solutions/styles/styles.css @@ -588,7 +588,7 @@ a.info-button.modal { } a.info-button.modal::before { - content: url('/icons/user-guide.svg'); + content: url('/solutions/icons/user-guide.svg'); display: flex; } @@ -608,8 +608,8 @@ a.button::after, input[type="submit"]::after { width: 24px; height: 24px; /* stylelint-disable-next-line property-no-vendor-prefix */ - -webkit-mask:url('/icons/arrow-right.svg'); - mask: url('/icons/arrow-right.svg'); + -webkit-mask:url('/solutions/icons/arrow-right.svg'); + mask: url('/solutions/icons/arrow-right.svg'); background-color: var(--button-link-color); display: inline-block; transition: all .2s cubic-bezier(.4,0,.2,1); @@ -1008,7 +1008,7 @@ main .section.blue a.button.modal::after { @media (min-width: 992px) { main .section.circle { - background-image: url("/icons/blue-circle.svg"); + background-image: url("/solutions/icons/blue-circle.svg"); background-position: top 0 right 60%; background-repeat: no-repeat; background-size: auto 100%; diff --git a/styles/thank-you.css b/solutions/styles/thank-you.css similarity index 100% rename from styles/thank-you.css rename to solutions/styles/thank-you.css