generated from adobe/aem-boilerplate
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #577 from hlxsites/feat-574-icons
feat: add support from DAM SVG icon loading
- Loading branch information
Showing
7 changed files
with
324 additions
and
72 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
61 changes: 61 additions & 0 deletions
61
tools/actions/convert/test/fixtures/cards-with-icons-converted.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
<html> | ||
<body> | ||
<header></header> | ||
<main> | ||
<div> | ||
<div class="mini-teasers"> | ||
<div> | ||
<div>:dam-User:</div> | ||
<div> | ||
<h3>Talk to an Expert</h3> | ||
<p><a href="#">Schedule a call today</a></p> | ||
</div> | ||
</div> | ||
<div> | ||
<div>:dam-View_list:</div> | ||
<div> | ||
<h3>Request a quote</h3> | ||
<p><a href="#RequestAQuote">Get your quote today</a></p> | ||
</div> | ||
</div> | ||
<div> | ||
<div>:dam-View_list:</div> | ||
<div> | ||
<h3>View our workflow solutions</h3> | ||
<p><a href="#">End to end soltions</a></p> | ||
</div> | ||
</div> | ||
</div> | ||
<div class="metadata"> | ||
<div> | ||
<div>Title</div> | ||
<div>Drug Research & Development Products | Danaher Life Sciences</div> | ||
</div> | ||
<div> | ||
<div>canonical</div> | ||
<div><a href="https://lifesciences.danaher.com/us/en/product.html">https://lifesciences.danaher.com/us/en/product.html</a></div> | ||
</div> | ||
<div> | ||
<div>Description</div> | ||
<div>From laboratory automation to analytical tools & digital solutions, our products are designed to support research & therapeutic applications.</div> | ||
</div> | ||
<div> | ||
<div>Image</div> | ||
<div> | ||
<img src="https://author-dummy.adobeaemcloud.com/content/dam/danaher/system/Logo-danaher-500x500.png" alt=""> | ||
</div> | ||
</div> | ||
<div> | ||
<div>creationDate</div> | ||
<div>Fri, 21 Jul 2023 18:49:30 GMT</div> | ||
</div> | ||
<div> | ||
<div>updateDate</div> | ||
<div>Tue, 12 Dec 2023 12:47:36 GMT</div> | ||
</div> | ||
</div> | ||
</div> | ||
</main> | ||
<footer></footer> | ||
</body> | ||
</html> |
178 changes: 178 additions & 0 deletions
178
tools/actions/convert/test/fixtures/cards-with-icons.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,178 @@ | ||
|
||
|
||
<!DOCTYPE HTML> | ||
<html lang="en-US"> | ||
<head> | ||
<meta charset="UTF-8"/> | ||
|
||
<meta name="template" content="basic-template"/> | ||
<meta name="viewport" content="width=device-width, initial-scale=1"/> | ||
|
||
<meta name="tags"/> | ||
|
||
<meta name="robots"/> | ||
|
||
<link rel="canonical" href="https://stage.lifesciences.danaher.com/us/en/product.html"/> | ||
<title>Drug Research & Development Products | Danaher Life Sciences</title> | ||
<meta name="description" content="From laboratory automation to analytical tools & digital solutions, our products are designed to support research & therapeutic applications."/> | ||
<meta property="og:title" content="Products"/> | ||
<meta property="og:description" content="From laboratory automation to analytical tools & digital solutions, our products are designed to support research & therapeutic applications."/> | ||
<meta property="og:type" content="website"/> | ||
<meta property="og:image" content="https://stage.lifesciences.danaher.com/content/dam/danaher/system/Logo-danaher-500x500.png"/> | ||
<meta property="og:site_name" content="Danaher Life Sciences"/> | ||
<meta property="og:url" content="https://stage.lifesciences.danaher.com/content/danaher/ls/us/en/products.html"/> | ||
|
||
<script> | ||
dataLayer = [{ | ||
'user': {"customerID":"","accountType":"guest","marketCode":"","company":"","role":"","city":"","state":"","country":"","postalCode":"","lastVisit":""} | ||
},{ | ||
'page': {"title":"Drug Research & Development Products | Danaher Life Sciences","language":"en","locale":"US","level":"top","type":"webpage","keywords":"","creationDate":"Jul 21, 2023 06:49:30 PM","updateDate":"Dec 12, 2023 12:47:36 PM"} | ||
}]; | ||
|
||
</script> | ||
|
||
|
||
</head> | ||
<body class="basic-page page basicpage" id="basic-page-73464b0890" data-cmp-data-layer-enabled> | ||
|
||
|
||
|
||
|
||
<div id="danaher"> | ||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<div class="root responsivegrid"> | ||
|
||
|
||
|
||
<div class="experiencefragment aem-GridColumn aem-GridColumn--default--12"> | ||
|
||
|
||
|
||
<div id="/content/experience-fragments/danaher/us/en/site/website-links/master/jcr:content"> | ||
|
||
|
||
|
||
|
||
|
||
|
||
<div class="xf-content-height"> | ||
<div class="root responsivegrid"> | ||
|
||
|
||
<div class="aem-Grid aem-Grid--12 aem-Grid--default--12 "> | ||
|
||
<div class="text aem-GridColumn aem-GridColumn--default--12"><div data-cmp-data-layer="{"mini-teaser":{"@type":"danaher/components/content/marketing/text","repo:modifyDate":"2023-11-27T13:28:23Z","xdm:text":"<p>mini-teaser</p>\r\n"}}" id="mini-teaser" class="cmp-text href-text"> | ||
|
||
<p>mini-teaser</p> | ||
|
||
</div> | ||
|
||
|
||
|
||
</div> | ||
<div class="grid aem-GridColumn aem-GridColumn--default--12"> | ||
|
||
<grid columns="3"> | ||
<template v-slot:col-one> | ||
|
||
|
||
|
||
|
||
|
||
|
||
<div class="articlecard"> | ||
|
||
<articlecard cardhref="#" cardimg="/content/dam/danaher/system/icons/User.svg" isusedamasset cardtitle="Talk to an Expert" linktext="Schedule a call today"> | ||
</articlecard> | ||
</div> | ||
|
||
|
||
</template> | ||
<template v-slot:col-two> | ||
|
||
|
||
|
||
|
||
|
||
|
||
<div class="featureimage"> | ||
|
||
<feature-image textwidth="_self" title="Request a quote" titlesize="xxxl" titleheading="h3" isusedamasset img="/content/dam/danaher/system/icons/View list.svg" descsize="txl" btntext="Get your quote today" btnrfq="true" btnnewtab="_self"> | ||
</feature-image> | ||
</div> | ||
|
||
|
||
</template> | ||
<template v-slot:col-three> | ||
|
||
|
||
|
||
|
||
|
||
|
||
<div class="featureimage"> | ||
|
||
<feature-image textwidth="_self" title="View our workflow solutions" titlesize="xxxl" titleheading="h3" isusedamasset img="/content/dam/danaher/system/icons/View list.svg" descsize="txl" btntext="End to end soltions" btnhref="#" btnnewtab="_self"> | ||
</feature-image> | ||
</div> | ||
|
||
|
||
</template> | ||
<template v-slot:col-four> | ||
|
||
|
||
|
||
|
||
</template> | ||
<template v-slot:col-five> | ||
|
||
|
||
|
||
|
||
</template> | ||
<template v-slot:col-six> | ||
|
||
|
||
|
||
|
||
</template> | ||
</grid></div> | ||
|
||
|
||
</div> | ||
</div> | ||
|
||
</div> | ||
|
||
</div> | ||
</div> | ||
|
||
|
||
|
||
|
||
</div> | ||
</div> | ||
|
||
|
||
|
||
|
||
|
||
</div> | ||
|
||
</div> | ||
|
||
|
||
|
||
|
||
|
||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.