Skip to content
This repository has been archived by the owner on May 4, 2024. It is now read-only.

Commit

Permalink
Merge pull request #4 from salesforce-marketingcloud/feat-update-code…
Browse files Browse the repository at this point in the history
…-resource

feat update code resources
  • Loading branch information
theotherstevenc authored Mar 4, 2021
2 parents cb4c8b1 + 1525d91 commit 6fb02aa
Show file tree
Hide file tree
Showing 9 changed files with 14 additions and 11 deletions.
4 changes: 2 additions & 2 deletions amp-demos/abandon-cart/demo.html
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@

<article class="wrapper" aria-label="NTO, All the things we leave behind" lang="en">

<amp-list class="cart-wrapper" width="600" height="800" layout="responsive" src="https://pub.s4.exacttarget.com/sh5b23xwxln">
<amp-list class="cart-wrapper" width="600" height="800" layout="responsive" src="https://pub.s8.exacttarget.com/zktrm2gjkmc">
<template type="amp-mustache">

{{#products}}
Expand Down Expand Up @@ -193,7 +193,7 @@ <h2 class="cart-product-name">{{name}}</h2>

<hr>

<amp-list class="weather-wrapper" width="600" height="400" layout="responsive" src="https://pub.s4.exacttarget.com/n3pwhdhffna?zip=10036">
<amp-list class="weather-wrapper" width="600" height="400" layout="responsive" src="https://pub.s8.exacttarget.com/axuoqzc0rff?zip=10036">
<template type="amp-mustache">
<div class="weather-related">
<h2 class="weather-related-title">{{condProdMsg}}</h2>
Expand Down
6 changes: 3 additions & 3 deletions amp-demos/advanced-review/demo.html
Original file line number Diff line number Diff line change
Expand Up @@ -132,11 +132,11 @@
min-width: 0.8em;
}
.in-email-completion .like {
border-color: #408843;
border-color: #408843;
background: #6d9c6d14;
}
.in-email-completion .dislike {
border-color: #540505;
border-color: #540505;
background: #e176761a;
}
</style>
Expand All @@ -145,7 +145,7 @@

<article class="wrapper" aria-label="" lang="en">

<amp-list id="reivewList" src="https://pub.s4.exacttarget.com/w1fformncrq">
<amp-list id="reivewList" src="https://pub.s8.exacttarget.com/rhf5yy2wa5x">
<div class="header">
<amp-img layout="responsive" src="https://s3-us-west-2.amazonaws.com/rd-industry-emails/retail/nto/brand-assets/email-templates/branding-nto-secondary-logo-horizontal-blue-2x.png" width="348" height="142" alt="Northern Trail Outfitters"></amp-img>
</div>
Expand Down
2 changes: 1 addition & 1 deletion amp-demos/form-external-submit/demo.html
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ <h2>What do you think of your <span>Sport Pulse Wireless Earbuds</span>?</h2>

<amp-img layout="responsive" src="https://s3-us-west-2.amazonaws.com/nto-products/products1110/502300.jpg" width="111" height="111" alt="Northern Trail Outfitters"></amp-img>

<form action-xhr="https://pub.s4.exacttarget.com/sr0eggpcjlj" method="get" id="ic-form">
<form action-xhr="https://pub.s8.exacttarget.com/jsoxcpphn5y" method="get" id="ic-form">

<input type="radio" name="rating" class="rating-default input" value="" checked>
<div class="ratings"><input class="input" on="input-debounced:ic-form.submit" type="radio" name="rating" value="1" id="rating-1"><label for="rating-1"></label><input class="input" on="input-debounced:ic-form.submit" type="radio" name="rating" value="2" id="rating-2"><label for="rating-2"></label><input class="input" on="input-debounced:ic-form.submit" type="radio" name="rating" value="3" id="rating-3"><label for="rating-3"></label><input class="input" on="input-debounced:ic-form.submit" type="radio" name="rating" value="4" id="rating-4"><label for="rating-4"></label><input class="input" on="input-debounced:ic-form.submit" type="radio" name="rating" value="5" id="rating-5"><label for="rating-5"></label></div>
Expand Down
2 changes: 1 addition & 1 deletion amp-demos/simple-form-delivery/demo.html
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@
<h1>Great news, Mark!<br>Your delivery is on the way.</h1>
<p>Northern Trail Outfitters is committed to ensuring the secure delivery of your items. Please let us know of any details that may help.</p>
</div>
<form method="post" action-xhr="https://pub.s4.exacttarget.com/qg4gk5zhhcs">
<form method="post" action-xhr="https://pub.s8.exacttarget.com/nm5opsu2l5w">
<div class="form-content">

<fieldset class="question">
Expand Down
2 changes: 1 addition & 1 deletion amp-demos/simple-form-preference/demo.html
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@
</div>
<div class="main">
<h1>Lets us know more about yourself</h1>
<form method="post" action-xhr="https://pub.s4.exacttarget.com/qg4gk5zhhcs">
<form method="post" action-xhr="https://pub.s8.exacttarget.com/nm5opsu2l5w">

<div class="form-content">
<div>
Expand Down
2 changes: 1 addition & 1 deletion amp-demos/site-search/demo.html
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
</head>
<body>
<form method="post" id="myform"
action-xhr="https://pub.s4.exacttarget.com/de2gcvht4pa?url=https%3A%2F%2Fwww.northerntrailoutfitters.com%2Fdefault%2fsearch">
action-xhr="https://pub.s8.exacttarget.com/kmi13fm5jp2?url=https%3A%2F%2Fwww.northerntrailoutfitters.com%2Fdefault%2fsearch">
<!-- Landing page URL is passed in the action-xhr -->

<!-- There are inconsistancies in the way POST submits are enocded.
Expand Down
2 changes: 1 addition & 1 deletion amp-demos/store-locator/demo.html
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,7 @@ <h2>Buy online, pick up today!</h2>
<p>Find a NTO store near you and get the gear you need for your next adventure.</p>
</div>

<form id="ic-amp-store-locator-form" class="ic-amp-store-locator-form" method="post" action-xhr="https://pub.s4.exacttarget.com/oahbj3ewu1g">
<form id="ic-amp-store-locator-form" class="ic-amp-store-locator-form" method="post" action-xhr="https://pub.s8.exacttarget.com/aaq4qpsrkcm">

<div class="ic-amp-title-wrapper">
<amp-img src="https://image.s4.sfmc-content.com/lib/fe9815747266017d71/m/1/594c880e-382e-4bb2-ac11-3d307a1311fa.png" width="20" height="27" alt=""></amp-img>
Expand Down
2 changes: 1 addition & 1 deletion pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export default function Demos() {
</Head>

<header>
<h2>AMP for Email Demos</h2>
<h1>AMP for Email Demos</h1>
<p>This is a collection of AMP for Email examples written for and tested in SFMC. They have been validated in the <a href="https://amp.gmail.dev/playground/">Gmail</a> and <a href="https://playground.amp.dev/">AMP</a> online playgrounds.</p>
<p>Most of the content is generated via <code>.json</code>, and hosted on SFMC as code resource. Some of these code resources may be generated dynamically using <a href="https://developer.salesforce.com/docs/atlas.en-us.noversion.mc-programmatic-content.meta/mc-programmatic-content/ssjs_serverSideJavaScript.htm">Server-Side JavaScript</a> and utilize a third party API.</p>
<p>Visit <a href="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/salesforce-marketingcloud/amp-demos">github.com/salesforce-marketingcloud/amp-demos</a> to report any issues, or access the raw files for more detail.</p>
Expand Down
3 changes: 3 additions & 0 deletions styles/globals.css
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ body{
color:var(--text, #080707);
margin: 1em 4vw;
}
header{
max-width:60em;
}
h1{
font-size:3em;
}
Expand Down

0 comments on commit 6fb02aa

Please sign in to comment.