Created
July 10, 2021 13:56
-
-
Save naveenvm93/cd8d86dde8c285f0a2a9399ffd809132 to your computer and use it in GitHub Desktop.
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
<!-- {{={< >}=}} --> | |
<!DOCTYPE html> | |
<html amp4email data-css-strict> | |
<head> | |
<meta charset="utf-8"> | |
<script async src="https://cdn.ampproject.org/v0.js"></script> | |
<script async custom-element="amp-form" src="https://cdn.ampproject.org/v0/amp-form-0.1.js"></script> | |
<script async custom-element="amp-list" src="https://cdn.ampproject.org/v0/amp-list-0.1.js"></script> | |
<script async custom-template="amp-mustache" src="https://cdn.ampproject.org/v0/amp-mustache-0.2.js"></script> | |
<style amp4email-boilerplate>body{visibility:hidden}</style> | |
<style amp-custom></style> | |
<style amp-custom> | |
.header { | |
padding: 3em 1.25em; | |
text-align:center; | |
} | |
.header amp-img { | |
margin:0 auto; | |
max-width: 220px; | |
} | |
h2 { | |
margin: .5em 0; | |
font-size: 2.5em; | |
text-align: center; | |
} | |
.coupon-product-button { | |
display: inline-block; | |
text-decoration: none; | |
color: #fff; | |
background-color: #097fb3; | |
text-align: center; | |
border-radius: 2em; | |
padding: 1em 2em; | |
} | |
.sample-form{ | |
text-align: center; | |
} | |
</style> | |
</head> | |
<body> | |
<!-- %%view_email_url%% --> | |
<!-- %%unsub_center_url%% --> | |
<div class="header"> | |
<amp-img layout="responsive" src="https://image.s10.sfmc-content.com/lib/fe4015707564067d701477/m/1/32e65d5a-13f0-4050-a9b6-1bd4442699fc.png" width="348" height="242" alt="SalesforceFan"></amp-img> | |
</div> | |
<amp-list | |
id="paragraph" | |
src="SFMCCloudPageURL" | |
> | |
<div placeholder>Loading...</div> | |
<div fallback>Waiting for Coupon!</div> | |
<template type="amp-mustache"> | |
<h2 class="prod-name"> Claim fast, you have only {{coupon}} coupons left!</h2> | |
</template> | |
</amp-list> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment