Permalink
Browse files

add premium links to start bootstrap shop

  • Loading branch information...
davidtmiller committed Oct 5, 2018
1 parent 94a4af6 commit 905f9d5352e7ff7adbdac9b225d52adf37d7ab83
@@ -87,6 +87,10 @@ <h2 class="mb-0">Premium Bootstrap Themes</h2>
{% for item in site.premium reversed %}
{% if item.categories contains 'featured' %}
<div class="col-lg-4 col-md-6 sb-preview text-center">
{% if item.categories contains 'new' %}
<!-- New Item Badge -->
<span class="badge badge-warning sb-new-badge">New!</span>
{% endif %}
<div class="card h-100">
<a class="sb-preview-img" href="{{ item.src }}" onclick="ga('send','event','Product','click','{{ item.title }}')">
<img class="card-img-top" src="{{ item.img-src }}" alt="{{ item.img-desc }}">
@@ -108,11 +112,10 @@ <h4 class="card-title">{{ item.title }}</h4>
{% endif %}
{% if page.slug == 'premium' %}
<div class="col-12">
<!-- <div class="col-12">
<div class="mt-0 text-center">
<a href="https://www.creative-tim.com/?affiliate_id=101249" class="d-block mb-5 border rounded" onclick="ga('send','event','Product','click','Creative Tim Summer Discount')" style="text-decoration: none !important; position: relative;">
<img class="img-fluid rounded" src="/assets/img/creative-tim/ct-summer-discount.jpg" alt="">
<!-- Badge -->
<div class="bg-warning text-white rounded-circle text-uppercase font-weight-bold d-none d-md-flex" style="height: 8rem; width: 8rem; font-size: .8rem; position: absolute; top: -1.5rem; right: -1.5rem; transform: rotate(20deg); border: .5rem solid white;">
<div class="m-auto d-block">
<div class="p-3">
@@ -122,14 +125,18 @@ <h4 class="card-title">{{ item.title }}</h4>
</div>
</a>
</div>
</div>
</div> -->
{% endif %}
{% for item in site.premium reversed %}
{% if item.categories contains page.slug %}
<div class="col-lg-4 col-md-6 sb-preview text-center">
{% if item.categories contains 'new' %}
<!-- New Item Badge -->
<span class="badge badge-warning sb-new-badge">New!</span>
{% endif %}
<div class="card h-100">
<a class="sb-preview-img" href="{{ item.src }}" onclick="ga('send','event','Product','click','{{ item.title }}')">
<img class="card-img-top" src="{{ item.img-src }}" alt="{{ item.img-desc }}">
@@ -158,16 +158,17 @@ <h4>Description:</h4>
{% if page.categories contains "admin" %}
<div class="card sb-card">
<div class="card-body">
<h4 class="mb-3">Premium Themes by <a onclick="ga('send','event','Product','click','Creative Tim Admin Page')" href="https://www.creative-tim.com/?affiliate_id=101249"><img src="/assets/img/creative-tim/tim-logo.png" alt="Premium Bootstrap Themes" style="height: 34px;"></a></h4>
<h4 class="mb-0">Need something more?</h4>
<p>Try one of these <strong>premium admin themes</strong>!</p>
<div class="row">
<div class="col-6 mb-4">
<a onclick="ga('send','event','Product','click','Admin Overview Page - MD Pro')" href="https://www.creative-tim.com/product/material-dashboard-pro/?affiliate_id=101249">
<img src="/assets/img/creative-tim/md-pro-sb.jpg" class="img-fluid rounded" alt="">
<a onclick="ga('send','event','Product','click','Admin Overview Page - Appboard')" href="https://shop.startbootstrap.com/product/appboard/">
<img src="/assets/img/premium/appboard.jpg" class="img-fluid rounded" alt="">
</a>
</div>
<div class="col-6 mb-4">
<a onclick="ga('send','event','Product','click','Admin Overview Page - MD Pro Angular')" href="https://www.creative-tim.com/product/material-dashboard-pro-angular2/?affiliate_id=101249">
<img src="/assets/img/creative-tim/angular-md-pro-sb.jpg" class="img-fluid rounded" alt="">
<a onclick="ga('send','event','Product','click','Admin Overview Page - MD Pro')" href="https://www.creative-tim.com/product/material-dashboard-pro/?affiliate_id=101249">
<img src="/assets/img/creative-tim/md-pro-sb.jpg" class="img-fluid rounded" alt="">
</a>
</div>
<div class="col-6">
@@ -176,8 +177,8 @@ <h4 class="mb-3">Premium Themes by <a onclick="ga('send','event','Product','clic
</a>
</div>
<div class="col-6">
<a onclick="ga('send','event','Product','click','Admin Overview Page - LBD Vue')" href="https://www.creative-tim.com/product/vue-light-bootstrap-dashboard-pro/?affiliate_id=101249">
<img src="/assets/img/creative-tim/vue-lbd-pro-sb.jpg" class="img-fluid rounded" alt="">
<a onclick="ga('send','event','Product','click','Admin Overview Page - Source Admin')" href="https://shop.startbootstrap.com/product/source-admin/">
<img src="/assets/img/premium/source-admin.jpg" class="img-fluid rounded" alt="">
</a>
</div>
</div>
@@ -2,7 +2,7 @@
title: "Now UI Kit Pro"
slug: now-ui-kit
src: https://www.creative-tim.com/product/now-ui-kit-pro/?affiliate_id=101249
categories: premium featured
categories: premium
bump: "Premium Bootstrap 4 UI Kit"
img-src: /assets/img/creative-tim/nuk-pro-sb.jpg
img-desc: "Now UI Kit - Premium Bootstrap 4 UI Kit"
@@ -0,0 +1,9 @@
---
title: "Source Admin"
slug: source-admin
src: https://shop.startbootstrap.com/product/source-admin/
categories: premium new
bump: "Angular Bootstrap Admin Dashboard"
img-src: /assets/img/premium/source-admin.jpg
img-desc: "Source Admin - Premium Angular Bootstrap Admin Theme"
---
@@ -0,0 +1,9 @@
---
title: "Appboard"
slug: appboard
src: https://shop.startbootstrap.com/product/appboard/
categories: premium featured new
bump: "Angular Bootstrap Admin Theme"
img-src: /assets/img/premium/appboard.jpg
img-desc: "Appboard - Angular Based Bootstrap Admin Dashboard Theme"
---
@@ -2,7 +2,7 @@
title: "Vitality"
slug: vitality
src: https://shop.startbootstrap.com/product/vitality/
categories: premium featured
categories: premium featured new
bump: "Multipurpose One Page Theme"
img-src: /assets/img/premium/vitality.jpg
img-desc: "Vitality - One Page Bootstrap Theme"
View
@@ -97,6 +97,7 @@ section.page {
// Preview Panels
.sb-preview {
margin-bottom: 30px;
position: relative;
.card {
border: 1px solid darken($white, 7%);
box-shadow: 0 2px 2px 0 rgba(0,0,0,.1);
@@ -121,6 +122,12 @@ section.page {
}
}
}
.sb-new-badge {
position: absolute;
top: -5px;
right: 5px;
z-index: 1;
}
}
// Card for Snippets
Binary file not shown.
Binary file not shown.
View
@@ -73,6 +73,10 @@ <h2>Looking for something more?</h2>
{% for item in site.premium reversed %}
{% if item.categories contains 'featured' %}
<div class="col-lg-4 col-md-6 sb-preview text-center">
{% if item.categories contains 'new' %}
<!-- New Item Badge -->
<span class="badge badge-warning sb-new-badge">New!</span>
{% endif %}
<div class="card h-100">
<a class="sb-preview-img" href="{{ item.src }}" onclick="ga('send','event','Product','click','{{ item.title }}')">
<img class="card-img-top" src="{{ item.img-src }}" alt="{{ item.img-desc }}">
@@ -11,10 +11,23 @@
- /sponsored-templates.php/
---
<div class="card sb-card text-center">
<div class="card-body">
<div class="row">
<div class="col-lg-6 mx-auto">
<div class="row">
<div class="col-lg-6 mb-4">
<div class="card sb-card text-center h-100">
<div class="card-body">
<h4>New! Start Bootstrap Shop!</h4>
<p>Start Bootstrap now has it's own theme store! Head over to the <a href="https://shop.startbootstrap.com/" onclick="ga('send','event','Product','click','Start Bootstrap Shop - Premium Themes Page Bottom Card')">
<strong>Start Bootstrap Shop</strong>
</a> to browse Bootstrap themes created by some of the worlds most popular theme authors!</p>
<a class="btn btn-lg btn-secondary" href="https://shop.startbootstrap.com/" onclick="ga('send','event','Product','click','Start Bootstrap Shop - Premium Themes Page Bottom Card')">
<span><img class="my-2" style="height: 30px;" src="https://shop.startbootstrap.com/wp-content/themes/startbootstrap-shop%20copy/img/shop-logo.svg" alt="Start Bootstrap Shop Logo"></span>
</a>
</div>
</div>
</div>
<div class="col-lg-6 mb-4">
<div class="card sb-card text-center h-100">
<div class="card-body">
<h4>Want more premium themes?</h4>
<p>Head over to
<strong>

0 comments on commit 905f9d5

Please sign in to comment.