Skip to content

Commit

Permalink
creative tim cyber monday
Browse files Browse the repository at this point in the history
  • Loading branch information
davidtmiller committed Nov 27, 2018
1 parent 045aea0 commit f9a10e9
Show file tree
Hide file tree
Showing 8 changed files with 22 additions and 3 deletions.
12 changes: 9 additions & 3 deletions _includes/footer.html
@@ -1,5 +1,12 @@
<footer>

<!-- CREATIVE TIM CYBER MONDAY OFFER -->
<div class="container">
<a href="https://www.creative-tim.com/bundles/?affiliate_id=101249" class="d-block mb-5">
<img src="/assets/img/ct-cyber-monday.png" class="img-fluid rounded" alt="">
</a>
</div>

<div class="footer-mailchimp">
<div class="container text-center">
<h2>Want more Bootstrap themes &amp; templates?</h2>
Expand Down Expand Up @@ -35,7 +42,7 @@ <h5>Subscribe to our mailing list to receive an update when new items arrive!</h
</div>
<script src="//m.servedby-buysellads.com/monetization.js" type="text/javascript"></script>
<script>
(function () {
(function() {
if (typeof _bsa !== 'undefined' && _bsa) {
_bsa.init('default', 'CKYD6KQU', 'placement:startbootstrapcom', {
target: '.bsa-cpc',
Expand All @@ -44,9 +51,8 @@ <h5>Subscribe to our mailing list to receive an update when new items arrive!</h
});
}
})();

// Function to check whether there are any ads are visible. If not ads are loaded, hide the container.
window.onload = function () {
window.onload = function() {
if (document.getElementsByClassName("_default_").length > 0) {
document.getElementsByClassName("bsa-ad")[0].style.display = "flex";
}
Expand Down
13 changes: 13 additions & 0 deletions _layouts/template-category.html
Expand Up @@ -42,6 +42,13 @@ <h4 class="card-title">{{ template.title }}</h4>
{% endfor %}

{% if page.slug == 'all' %}
<!-- CREATIVE TIM CYBER MONDAY OFFER -->
<div class="col-12">
<a href="https://www.creative-tim.com/bundles/?affiliate_id=101249" class="d-block my-4">
<img src="/assets/img/ct-cyber-monday.png" class="img-fluid rounded" alt="">
</a>
</div>

<div class="col-12">
<div class="mt-4 text-center">
<h2 class="mb-0">Bootstrap Templates</h2>
Expand Down Expand Up @@ -112,6 +119,12 @@ <h4 class="card-title">{{ item.title }}</h4>
{% endif %}

{% if page.slug == 'premium' %}
<!-- CREATIVE TIM CYBER MONDAY OFFER -->
<div class="col-12">
<a href="https://www.creative-tim.com/bundles/?affiliate_id=101249" class="d-block mb-4">
<img src="/assets/img/ct-cyber-monday.png" class="img-fluid rounded" alt="">
</a>
</div>
<!-- <div class="col-12">
<div class="mt-0 text-center">
<a href="https://shop.startbootstrap.com" class="d-block my-5" onclick="ga('send','event','Product','click','SB Shop Cyber Monday 2018')" style="text-decoration: none !important; position: relative;">
Expand Down
Binary file removed assets/img/creative-tim/ct-july-bundle.jpg
Binary file not shown.
Binary file removed assets/img/creative-tim/ct-summer-bundle.jpg
Binary file not shown.
Binary file removed assets/img/creative-tim/ct-summer-discount.jpg
Binary file not shown.
Binary file added assets/img/ct-cyber-monday.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed assets/img/cyber-monday.png
Binary file not shown.
Binary file removed assets/img/wrapbootstrap.jpg
Binary file not shown.

0 comments on commit f9a10e9

Please sign in to comment.