hardpool-flat 2.0.0 → 2.1.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d01836063d5e488939d41dc81ad6ccf88405702b78c1f024994fbb36da0ac2a5
4
- data.tar.gz: 8a02c8331e2c7cde658e69d89d9e6377e620000c8831f012821b0def7e306361
3
+ metadata.gz: 21ace879f5893dd32e24ba68651761e95d1aa18331ed64902dd475d6453f8c22
4
+ data.tar.gz: 616d829b19b0e3e694a19bcb53f1c4178e209009d52abaa8b09a8ee29e2d6251
5
5
  SHA512:
6
- metadata.gz: e867f1ede3093e55727317e5def5ae756016756028c4c006c5574c490e7c2a1c4b65441ebd82081d86c731aa87f14cc2b62948d66cce947f60a566923c0aac86
7
- data.tar.gz: a9ec97d47d4ed69ab4d4b57b83c8588cec8222135a2a06a659a4804a628c0ebb9e6d0c8e7a06678defadf768e461e58a95dd07da659f8787ce055074ecfd7713
6
+ metadata.gz: 1e4daf918860f6a201471a6cbcb930eab900415308ce1dbafa34cddd04bc12de8df288d3ace78091c99370163b14d338157649d7691b7616bfc32cb85013c029
7
+ data.tar.gz: cadce276738def8684187527bd2365afdf002d02e1cc112a78fd45efc743fa56a03a2f2213af3955708f0709dbb0c5e9d6a67ddc55bc0a67e31150ffbf8db31a
@@ -17,7 +17,7 @@
17
17
  {%- if site.footer.links -%}
18
18
  {%- for link in site.footer.links -%}
19
19
  {%- if link.label -%}
20
- <a class="btn btn-primary btn-icon" href="{{ link.url | default: '#' }}"><i class="{{ link.icon | default: 'fas fa-link' }}" aria-hidden="true"></i></a>
20
+ <a class="btn btn-primary btn-icon" target="_blank" href="{{ link.url | default: '#' }}"><i class="{{ link.icon | default: 'fas fa-link' }}" aria-hidden="true"></i></a>
21
21
  {%- endif -%}
22
22
  {%- endfor -%}
23
23
  {%- endif -%}
@@ -3,7 +3,16 @@
3
3
  <nav class="navbar navbar-expand-lg navbar-light">
4
4
  <div class="container">
5
5
  <a class="navbar-brand" href="/">{{ site.name }}</a>
6
+ <div class="mobile-link d-md-none">
7
+ {%- if site.header.links -%}
8
+ {%- for link in site.header.links -%}
9
+ {%- if link.label -%}
10
+ <a class="btn btn-primary btn-icon" target="_blank" href="{{ link.url | default: '#' }}"><i class="{{ link.icon | default: 'fas fa-link' }} ml-2" aria-hidden="true"></i></a>
11
+ {%- endif -%}
12
+ {%- endfor -%}
13
+ {%- endif -%}
6
14
  <a class="mobile-nav-handle d-md-none" href="javascript:header.toggle();"><i id="nav-handle-icon" class="fas fa-bars"></i></a>
15
+ </div>
7
16
  <ul id="navigation" class="nav nav-mobile ml-auto">
8
17
  {%- for link in site.data.navigation.main -%}
9
18
  {%- if link.url contains '://' -%}
@@ -46,6 +55,15 @@
46
55
  {% endif %}
47
56
  {% endfor %}
48
57
  </ul>
58
+ {%- if site.header.links -%}
59
+ {%- for link in site.header.links -%}
60
+ {%- if link.label -%}
61
+ <div class="mt-md-0 mt-3 nav-item d-none d-md-block">
62
+ <a class="btn btn-primary btn-follow" target="_blank" href="{{ link.url | default: '#' }}"><span>Follow me</span><i class="{{ link.icon | default: 'fas fa-link' }} ml-2" aria-hidden="true"></i></a>
63
+ </div>
64
+ {%- endif -%}
65
+ {%- endfor -%}
66
+ {%- endif -%}
49
67
  </div>
50
68
  </nav>
51
69
  </header>
@@ -20,7 +20,7 @@ layout: default
20
20
  <!-- <img src="{{ post.img_h }}" class="d-block w-100" alt="{{ post.title }}"> -->
21
21
  </div>
22
22
  <div class="col-md-5 p-0 overlap-right position-relative d-flex align-items-center h-100">
23
- <div class="text-center text-md-left">
23
+ <div class="text-center text-md-left w-100">
24
24
  <div class="py-1 px-4 py-md-3 px-md-3 bnr-wrapper text-left">
25
25
  <h2>{{ post.title }}</h2>
26
26
  <p class="mb-0">{{ post.excerpt | strip_html | truncate: 150 }}</p>
@@ -0,0 +1,14 @@
1
+ ---
2
+ layout: portfolio-post
3
+ ---
4
+ <div class="row">
5
+ <div class="col">
6
+ <div class="img-43 mb-3" style="background-image:url('{{ page.img_h }}')"></div>
7
+ <div class="img-34" style="background-image:url('{{ page.img_v }}')"></div>
8
+ </div>
9
+ </div>
10
+ <div class="row my-3">
11
+ <div class="col">
12
+ {{ content }}
13
+ </div>
14
+ </div>
@@ -16,17 +16,15 @@ layout: contained
16
16
  </div>
17
17
  </div>
18
18
  <!-- post -->
19
- <div class="row my-3">
19
+ <!-- <div class="row my-3">
20
20
  <div class="col">
21
21
  <div class="img-43 mb-3" style="background-image:url('{{ page.img_h }}')"></div>
22
22
  <div class="img-34" style="background-image:url('{{ page.img_v }}')"></div>
23
- <!-- <img src="{{ page.img_h }}" class="img-fluid mb-3">
24
- <img src="{{ page.img_v }}" class="img-fluid"> -->
25
23
  </div>
26
- </div>
24
+ </div> -->
27
25
  <div class="row my-3">
28
- <div class="col">
29
- {{ content }}
26
+ <div class="col post-content-wrapper">
27
+ {{ content | replace: 'media/', '/media/' }}
30
28
  </div>
31
29
  </div>
32
30
  <!-- similar posts -->
@@ -110,3 +108,5 @@ layout: contained
110
108
  </div>
111
109
 
112
110
  {%- include qv_modal.html data=thumbs modalId="mdShop" -%}
111
+
112
+ <script>let layout = "post";</script>
@@ -24,7 +24,13 @@ h1,h2,h3,h4,h5,
24
24
  }
25
25
  a {
26
26
  outline: none;
27
- cursor: pointer;
27
+ cursor: pointer;
28
+ color: darken($primary, 20%);
29
+
30
+ &:hover {
31
+ color: $primary;
32
+ text-decoration: underline;
33
+ }
28
34
  }
29
35
  table{
30
36
  height: 100%;
@@ -53,6 +53,9 @@ header {
53
53
  &.active {
54
54
  color: $primary;
55
55
  }
56
+ &:hover {
57
+ color: $primary;
58
+ }
56
59
  }
57
60
  }
58
61
  }
@@ -105,4 +108,36 @@ header {
105
108
  }
106
109
  }
107
110
  }
111
+ .btn-icon{
112
+ background-color: transparent;
113
+ display: inline-flex;
114
+ width: 2rem;
115
+ height: 2rem;
116
+ color: darken($color: $primary, $amount: 20);
117
+ &:hover {
118
+ color: $primary;
119
+ background-color: transparent;
120
+ }
121
+ }
122
+ .btn-follow {
123
+ display: flex;
124
+ svg {
125
+ font-size: 1.3rem;
126
+ }
127
+ }
128
+ .mobile-link{
129
+ position: relative;
130
+ z-index: 10000;
131
+ }
132
+ }
133
+
134
+ .subnav-item {
135
+ a {
136
+ color: $dark;
137
+
138
+ &:hover {
139
+ text-decoration: none;
140
+ color: $primary;
141
+ }
142
+ }
108
143
  }
@@ -1 +1 @@
1
- !function(e){var t={};function n(o){if(t[o])return t[o].exports;var r=t[o]={i:o,l:!1,exports:{}};return e[o].call(r.exports,r,r.exports,n),r.l=!0,r.exports}n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(o,r,function(t){return e[t]}.bind(null,r));return o},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=4)}([function(e,t){let n=document,o=e=>{r("fade-in",e)},r=(e,t)=>{n.querySelectorAll(`.${e}`).forEach(e=>{t+window.innerHeight>e.offsetTop+150?e.classList.add("in-view"):e.offsetTop-100>t+window.innerHeight&&e.classList.remove("in-view")})};e.exports.init=(()=>{window.onscroll=(e=>{o(window.pageYOffset)}),o(window.pageYOffset)})},function(e,t){e.exports.init=(()=>{fetch(`https://api.instagram.com/v1/users/self/media/recent/?access_token=${config.insta_at}&count=8`).then(e=>e.json()).then(e=>{let t=document.querySelector("#footer-insta-port").innerHTML,n="";e.data.forEach(e=>{n+=`${t.replace(/##__image_url__##/g,e.images.standard_resolution.url).replace(/##__insta_url__##/g,e.link).replace(/##__insta_comment__##/g,e.comments.count).replace(/##__insta_like__##/g,e.likes.count)}`}),document.querySelector("#footer-insta-port").innerHTML=n})})},function(e,t){let n=()=>{window.innerWidth<768||$(document).ready(()=>{let e={html:!0,container:"body",content:function(){return $("#"+$(this).attr("data-pop")).html()}};$('[data-toggle="nav-popover"]').popover(e).on("mouseenter",function(){if("manual"==$(this).attr("data-trigger")){var e=this;$(this).popover("show"),$(".popover").on("mouseleave",function(){$(e).popover("hide")})}}).on("mouseleave",function(){if("manual"==$(this).attr("data-trigger")){var e=this;setTimeout(function(){$(".popover:hover").length||$(e).popover("hide")},300)}})})};e.exports.init=(()=>{n(),$(document).ready(()=>{$(".carousel").carousel()})})},function(e,t){e.exports.toggle=(()=>{document.querySelector("#navigation").classList.contains("active")?(document.querySelector("#navigation").classList.remove("active"),document.querySelector("#nav-handle-icon").classList.remove("fa-times"),document.querySelector("#nav-handle-icon").classList.add("fa-bars")):(document.querySelector("#navigation").classList.add("active"),document.querySelector("#nav-handle-icon").classList.remove("fa-bars"),document.querySelector("#nav-handle-icon").classList.add("fa-times"))})},function(e,t,n){"use strict";n.r(t);var o=n(0),r=n.n(o),i=n(1),a=n.n(i),c=n(2),s=n.n(c),u=n(3),l=n.n(u);s.a.init(),r.a.init(),a.a.init(),window.header=l.a}]);
1
+ !function(e){var t={};function n(o){if(t[o])return t[o].exports;var r=t[o]={i:o,l:!1,exports:{}};return e[o].call(r.exports,r,r.exports,n),r.l=!0,r.exports}n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(o,r,function(t){return e[t]}.bind(null,r));return o},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=5)}([function(e,t){let n=document,o=e=>{r("fade-in",e)},r=(e,t)=>{n.querySelectorAll(`.${e}`).forEach(e=>{t+window.innerHeight>e.offsetTop+150?e.classList.add("in-view"):e.offsetTop-100>t+window.innerHeight&&e.classList.remove("in-view")})};e.exports.init=(()=>{window.onscroll=(e=>{o(window.pageYOffset)}),o(window.pageYOffset)})},function(e,t){e.exports.init=(()=>{fetch(`https://api.instagram.com/v1/users/self/media/recent/?access_token=${config.insta_at}&count=8`).then(e=>e.json()).then(e=>{let t=document.querySelector("#footer-insta-port").innerHTML,n="";e.data.forEach(e=>{n+=`${t.replace(/##__image_url__##/g,e.images.standard_resolution.url).replace(/##__insta_url__##/g,e.link).replace(/##__insta_comment__##/g,e.comments.count).replace(/##__insta_like__##/g,e.likes.count)}`}),document.querySelector("#footer-insta-port").innerHTML=n})})},function(e,t){let n=()=>{window.innerWidth<768||$(document).ready(()=>{let e={html:!0,container:"body",content:function(){return $("#"+$(this).attr("data-pop")).html()}};$('[data-toggle="nav-popover"]').popover(e).on("mouseenter",function(){if("manual"==$(this).attr("data-trigger")){var e=this;$(this).popover("show"),$(".popover").on("mouseleave",function(){$(e).popover("hide")})}}).on("mouseleave",function(){if("manual"==$(this).attr("data-trigger")){var e=this;setTimeout(function(){$(".popover:hover").length||$(e).popover("hide")},300)}})})};e.exports.init=(()=>{n(),$(document).ready(()=>{$(".carousel").carousel()})})},function(e,t){e.exports.toggle=(()=>{document.querySelector("#navigation").classList.contains("active")?(document.querySelector("#navigation").classList.remove("active"),document.querySelector("#nav-handle-icon").classList.remove("fa-times"),document.querySelector("#nav-handle-icon").classList.add("fa-bars")):(document.querySelector("#navigation").classList.add("active"),document.querySelector("#nav-handle-icon").classList.remove("fa-bars"),document.querySelector("#nav-handle-icon").classList.add("fa-times"))})},function(e,t){e.exports.init=(()=>{document.querySelectorAll(".post-content-wrapper a").forEach(e=>{e.hostname!==window.location.hostname&&(e.target="_blank",e.rel="noreferrer noopener")})})},function(e,t,n){"use strict";n.r(t);var o=n(0),r=n.n(o),i=n(1),a=n.n(i),c=n(2),s=n.n(c),u=n(3),l=n.n(u),d=n(4),f=n.n(d);s.a.init(),r.a.init(),a.a.init(),f.a.init(),window.header=l.a}]);
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hardpool-flat
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0
4
+ version: 2.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Hardik Dabhi
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-05-31 00:00:00.000000000 Z
11
+ date: 2019-10-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -73,6 +73,7 @@ files:
73
73
  - _layouts/default.html
74
74
  - _layouts/page.html
75
75
  - _layouts/portfolio-landing.html
76
+ - _layouts/portfolio-post-bnr.html
76
77
  - _layouts/portfolio-post.html
77
78
  - _layouts/portfolio.html
78
79
  - _layouts/posts.html