Fix CSS book link

This commit is contained in:
Jeremy Thomas
2024-01-04 16:47:08 +00:00
parent 47b56b351e
commit f1d23c178d
9 changed files with 32 additions and 14 deletions

View File

@@ -1,7 +1,5 @@
<a class="bd-fortyfour" href="https://jgthms.com/css-in-44-minutes-ebook" target="_blank">
<p class="bd-fortyfour-label">
My CSS ebook
</p>
<a class="bd-fortyfour" href="https://gum.co/css-44-deluxe" target="_blank">
<p class="bd-fortyfour-label">My CSS ebook</p>
<figure class="bd-fortyfour-image">
{%
@@ -14,9 +12,7 @@
%}
</figure>
<p class="bd-fortyfour-text">
My 44-page ebook to teach you <strong>CSS in 44 minutes</strong>
</p>
<p class="bd-fortyfour-text">My 44-page ebook to teach you <strong>CSS in 44 minutes</strong></p>
<div class="bd-fortyfour-cta">
<span class="button is-primary is-light is-rounded is-small">

View File

@@ -1,8 +1,8 @@
<script src="{{ site.url }}/vendor/native.js"></script>
<script>
_native.init("CVAIKK3E", {
_native.init('CVAIKK3E', {
targetClass: 'native-js',
fallback: `<a href="https://jgthms.com/css-in-44-minutes-ebook" class="native-flex" target="_blank">
fallback: `<a href="https://gum.co/css-44-deluxe" class="native-flex" target="_blank">
<style>
.native-js {
background: linear-gradient(-30deg, #4f38a4, #a244bc 45%, #4f38a4 45%) #4f38a4;
@@ -34,7 +34,7 @@
</div>
</div>
<span class="native-cta">Buy the book</span>
</a>`
</a>`,
});
</script>