Last active
April 17, 2018 21:33
-
-
Save mootrichard/260629e0b8c0c5568d52ce0f8d67b548 to your computer and use it in GitHub Desktop.
A product element in our Swag Shop
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
<!-- start product --> | |
<div class='product'> | |
<div class='imageContainer'> | |
<img class='productImage' src="/0.jpeg" /> | |
<!-- insert product image url here --> | |
<div class='imageOverlay'> | |
<button>View Details</button> | |
</div> | |
</div> | |
<div class='modal clearfix'> | |
<button class='close'>Close</button> | |
<img class='modalImage' src="/0.jpeg" /> | |
<!-- insert product image url here --> | |
<div class='productInfo'> | |
<h2 class='productTitle'>Back to Square 1 Sticker</h2> | |
<!-- insert product title here --> | |
<p class='productDescription'>"If only 88 was a perfect Square..."</p> | |
<div class='productMeta'> | |
<h2 class='productCost'> | |
<span class='green'>$1.00</span>* | |
</h2> | |
<!-- insert product cost here --> | |
<span class='helperText'>*We're not actually going to charge you.</span> | |
<form action='https://UNIQUE_ID.execute-api.us-east-1.amazonaws.com/prod/checkout' method='post'> | |
<input name='itemVarID' type='hidden' value="IBXSHR4PIMEAHHSOAKNBC5PQ" style='display: none' /> | |
<input name='price' type='hidden' value="100" style='display: none' /> | |
<input name='name' type='hidden' value="Back to Square 1 Sticker" style='display: none' /> | |
<button type='submit' class='productPurchase'>Buy This</button> | |
</form> | |
</div> | |
</div> | |
</div> | |
</div> | |
<!-- end product --> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment