summaryrefslogtreecommitdiff
path: root/design
diff options
context:
space:
mode:
Diffstat (limited to 'design')
-rw-r--r--design/sass/_src.scss9
-rw-r--r--design/templates/details/src_book.html10
2 files changed, 15 insertions, 4 deletions
diff --git a/design/sass/_src.scss b/design/sass/_src.scss
index 9a37a18..1546ce5 100644
--- a/design/sass/_src.scss
+++ b/design/sass/_src.scss
@@ -109,3 +109,12 @@ code > .comment::after {
}
}
}
+
+@include breakpoint(beta) {
+ .btn-top {
+ margin-left: 1.2em
+ }
+ .btn-bottom {
+ margin-left: 5em;
+ }
+}
diff --git a/design/templates/details/src_book.html b/design/templates/details/src_book.html
index b5d9045..bc12ebf 100644
--- a/design/templates/details/src_book.html
+++ b/design/templates/details/src_book.html
@@ -24,16 +24,18 @@
</dl>
</div>
<div class="paypal-form-wrapper">
- {{paypal_form.render}}
+<script src="https://gumroad.com/js/gumroad.js"></script>
+<a target="_blank" class="gumroad-button btn-top" href="https://gum.co/rwd-b">Buy it Now</a>
+{%comment%}{{paypal_form.render}}{%endcomment%}
</div>
<div class="highlights">
<h4>Learn Responsive Design:</h4>
<article class="h-entry hentry post--article book" itemscope itemType="http://schema.org/Article">
{{object.body_html|safe|amp|smartypants}}
- <div class="paypal-form-wrapper">
- {{paypal_form.render}}
- </div>
+<script src="https://gumroad.com/js/gumroad.js"></script>
+<a target="_blank" class="gumroad-button btn-bottom" href="https://gum.co/rwd-b">Buy it Now</a>
+{%comment%}{{paypal_form.render}}{%endcomment%}
</article>
</div>
</main>