hardpool-flat 1.0.0 → 3.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (139) hide show
  1. checksums.yaml +4 -4
  2. data/_includes/footer.html +4 -4
  3. data/_includes/footer.project.html +20 -0
  4. data/_includes/head.html +0 -0
  5. data/_includes/header.1.html +29 -5
  6. data/_includes/header.html +1 -1
  7. data/_includes/header.project.html +69 -0
  8. data/_includes/qv_modal.html +4 -4
  9. data/_includes/scripts.html +1 -0
  10. data/_includes/section_row.html +0 -0
  11. data/_includes/seo.html +0 -0
  12. data/_layouts/contained.html +0 -0
  13. data/_layouts/default.html +16 -3
  14. data/_layouts/page.html +0 -0
  15. data/_layouts/portfolio-landing.html +26 -22
  16. data/_layouts/portfolio-post-bnr.html +14 -0
  17. data/_layouts/portfolio-post.html +21 -9
  18. data/_layouts/portfolio.html +1 -1
  19. data/_layouts/posts.html +0 -0
  20. data/_layouts/project.html +30 -0
  21. data/_sass/_mixins.scss +0 -0
  22. data/_sass/_var.scss +0 -0
  23. data/_sass/bootstrap/_alert.scss +0 -0
  24. data/_sass/bootstrap/_badge.scss +0 -0
  25. data/_sass/bootstrap/_breadcrumb.scss +0 -0
  26. data/_sass/bootstrap/_button-group.scss +0 -0
  27. data/_sass/bootstrap/_buttons.scss +0 -0
  28. data/_sass/bootstrap/_card.scss +0 -0
  29. data/_sass/bootstrap/_carousel.scss +0 -0
  30. data/_sass/bootstrap/_close.scss +0 -0
  31. data/_sass/bootstrap/_code.scss +0 -0
  32. data/_sass/bootstrap/_custom-forms.scss +0 -0
  33. data/_sass/bootstrap/_dropdown.scss +0 -0
  34. data/_sass/bootstrap/_forms.scss +0 -0
  35. data/_sass/bootstrap/_functions.scss +0 -0
  36. data/_sass/bootstrap/_grid.scss +0 -0
  37. data/_sass/bootstrap/_images.scss +0 -0
  38. data/_sass/bootstrap/_input-group.scss +0 -0
  39. data/_sass/bootstrap/_jumbotron.scss +0 -0
  40. data/_sass/bootstrap/_list-group.scss +0 -0
  41. data/_sass/bootstrap/_media.scss +0 -0
  42. data/_sass/bootstrap/_mixins.scss +0 -0
  43. data/_sass/bootstrap/_modal.scss +0 -0
  44. data/_sass/bootstrap/_nav.scss +0 -0
  45. data/_sass/bootstrap/_navbar.scss +0 -0
  46. data/_sass/bootstrap/_pagination.scss +0 -0
  47. data/_sass/bootstrap/_popover.scss +0 -0
  48. data/_sass/bootstrap/_print.scss +0 -0
  49. data/_sass/bootstrap/_progress.scss +0 -0
  50. data/_sass/bootstrap/_reboot.scss +0 -0
  51. data/_sass/bootstrap/_root.scss +0 -0
  52. data/_sass/bootstrap/_tables.scss +0 -0
  53. data/_sass/bootstrap/_tooltip.scss +0 -0
  54. data/_sass/bootstrap/_transitions.scss +0 -0
  55. data/_sass/bootstrap/_type.scss +0 -0
  56. data/_sass/bootstrap/_utilities.scss +0 -0
  57. data/_sass/bootstrap/_variables.scss +0 -0
  58. data/_sass/bootstrap/bootstrap-grid.scss +0 -0
  59. data/_sass/bootstrap/bootstrap-reboot.scss +0 -0
  60. data/_sass/bootstrap/bootstrap.scss +0 -1
  61. data/_sass/bootstrap/mixins/_alert.scss +0 -0
  62. data/_sass/bootstrap/mixins/_background-variant.scss +0 -0
  63. data/_sass/bootstrap/mixins/_badge.scss +0 -0
  64. data/_sass/bootstrap/mixins/_border-radius.scss +0 -0
  65. data/_sass/bootstrap/mixins/_box-shadow.scss +0 -0
  66. data/_sass/bootstrap/mixins/_breakpoints.scss +0 -0
  67. data/_sass/bootstrap/mixins/_buttons.scss +0 -0
  68. data/_sass/bootstrap/mixins/_caret.scss +0 -0
  69. data/_sass/bootstrap/mixins/_clearfix.scss +0 -0
  70. data/_sass/bootstrap/mixins/_float.scss +0 -0
  71. data/_sass/bootstrap/mixins/_forms.scss +0 -0
  72. data/_sass/bootstrap/mixins/_gradients.scss +0 -0
  73. data/_sass/bootstrap/mixins/_grid-framework.scss +0 -0
  74. data/_sass/bootstrap/mixins/_grid.scss +0 -0
  75. data/_sass/bootstrap/mixins/_hover.scss +0 -0
  76. data/_sass/bootstrap/mixins/_image.scss +0 -0
  77. data/_sass/bootstrap/mixins/_list-group.scss +0 -0
  78. data/_sass/bootstrap/mixins/_lists.scss +0 -0
  79. data/_sass/bootstrap/mixins/_nav-divider.scss +0 -0
  80. data/_sass/bootstrap/mixins/_pagination.scss +0 -0
  81. data/_sass/bootstrap/mixins/_reset-text.scss +0 -0
  82. data/_sass/bootstrap/mixins/_resize.scss +0 -0
  83. data/_sass/bootstrap/mixins/_screen-reader.scss +0 -0
  84. data/_sass/bootstrap/mixins/_size.scss +0 -0
  85. data/_sass/bootstrap/mixins/_table-row.scss +0 -0
  86. data/_sass/bootstrap/mixins/_text-emphasis.scss +0 -0
  87. data/_sass/bootstrap/mixins/_text-hide.scss +0 -0
  88. data/_sass/bootstrap/mixins/_text-truncate.scss +0 -0
  89. data/_sass/bootstrap/mixins/_transition.scss +0 -0
  90. data/_sass/bootstrap/mixins/_visibility.scss +0 -0
  91. data/_sass/bootstrap/utilities/_align.scss +0 -0
  92. data/_sass/bootstrap/utilities/_background.scss +0 -0
  93. data/_sass/bootstrap/utilities/_borders.scss +0 -0
  94. data/_sass/bootstrap/utilities/_clearfix.scss +0 -0
  95. data/_sass/bootstrap/utilities/_display.scss +0 -0
  96. data/_sass/bootstrap/utilities/_embed.scss +0 -0
  97. data/_sass/bootstrap/utilities/_flex.scss +0 -0
  98. data/_sass/bootstrap/utilities/_float.scss +0 -0
  99. data/_sass/bootstrap/utilities/_position.scss +0 -0
  100. data/_sass/bootstrap/utilities/_screenreaders.scss +0 -0
  101. data/_sass/bootstrap/utilities/_shadows.scss +0 -0
  102. data/_sass/bootstrap/utilities/_sizing.scss +0 -0
  103. data/_sass/bootstrap/utilities/_spacing.scss +0 -0
  104. data/_sass/bootstrap/utilities/_text.scss +0 -0
  105. data/_sass/bootstrap/utilities/_visibility.scss +0 -0
  106. data/_sass/colors.scss +5 -0
  107. data/_sass/primer/base/README.md +25 -0
  108. data/_sass/primer/base/base.scss +86 -0
  109. data/_sass/primer/base/index.scss +6 -0
  110. data/_sass/primer/base/kbd.scss +21 -0
  111. data/_sass/primer/base/normalize.scss +421 -0
  112. data/_sass/primer/base/typography-base.scss +88 -0
  113. data/_sass/primer/markdown/README.md +25 -0
  114. data/_sass/primer/markdown/blob-csv.scss +29 -0
  115. data/_sass/primer/markdown/code.scss +158 -0
  116. data/_sass/primer/markdown/headings.scss +72 -0
  117. data/_sass/primer/markdown/images.scss +131 -0
  118. data/_sass/primer/markdown/index.scss +8 -0
  119. data/_sass/primer/markdown/lists.scss +77 -0
  120. data/_sass/primer/markdown/markdown-body.scss +99 -0
  121. data/_sass/primer/markdown/tables.scss +37 -0
  122. data/_sass/primer/support/README.md +25 -0
  123. data/_sass/primer/support/index.scss +11 -0
  124. data/_sass/primer/support/mixins/buttons.scss +167 -0
  125. data/_sass/primer/support/mixins/layout.scss +58 -0
  126. data/_sass/primer/support/mixins/misc.scss +29 -0
  127. data/_sass/primer/support/mixins/typography.scss +84 -0
  128. data/_sass/primer/support/variables/color-system.scss +243 -0
  129. data/_sass/primer/support/variables/colors.scss +63 -0
  130. data/_sass/primer/support/variables/layout.scss +129 -0
  131. data/_sass/primer/support/variables/misc.scss +26 -0
  132. data/_sass/primer/support/variables/typography.scss +42 -0
  133. data/_sass/theme.scss +5 -0
  134. data/_sass/theme/_animations.scss +0 -0
  135. data/_sass/theme/_global.scss +13 -2
  136. data/_sass/theme/_header.scss +149 -2
  137. data/_sass/theme/_page.scss +56 -6
  138. data/assets/js/main.bundle.js +1 -134
  139. metadata +38 -8
@@ -0,0 +1,26 @@
1
+ // Miscellaneous variables
2
+
3
+ // Border size
4
+ $border-width: 1px !default;
5
+ $border-color: $border-gray !default;
6
+ $border-style: solid !default;
7
+ $border: $border-width $border-color $border-style !default;
8
+ $border-radius: 3px !default;
9
+
10
+ // Box shadow
11
+ $box-shadow: 0 1px 1px rgba($black, 0.1) !default;
12
+ $box-shadow-medium: 0 1px 5px $black-fade-15 !default;
13
+ $box-shadow-large: 0 1px 15px $black-fade-15 !default;
14
+ $box-shadow-extra-large: 0 10px 50px rgba($black, 0.07) !default;
15
+
16
+ // Button and form variables
17
+ $form-control-shadow: inset 0 1px 2px rgba($black, 0.075) !default;
18
+ $btn-input-focus-shadow: 0 0 0 0.2em rgba($blue, 0.3) !default;
19
+ $btn-active-shadow: inset 0 0.15em 0.3em $black-fade-15 !default;
20
+
21
+ // Tooltips
22
+ $tooltip-max-width: 250px !default;
23
+ $tooltip-background-color: $black !default;
24
+ $tooltip-text-color: $white !default;
25
+ $tooltip-delay: 0.4s !default;
26
+ $tooltip-duration: 0.1s !default;
@@ -0,0 +1,42 @@
1
+ // Typography variables
2
+
3
+ // Heading sizes - mobile
4
+ // h4-h6 remain the same size on both mobile & desktop
5
+ $h00-size-mobile: 40px !default;
6
+ $h0-size-mobile: 32px !default;
7
+ $h1-size-mobile: 26px !default;
8
+ $h2-size-mobile: 22px !default;
9
+ $h3-size-mobile: 18px !default;
10
+
11
+ // Heading sizes - desktop
12
+ $h00-size: 48px !default;
13
+ $h0-size: 40px !default;
14
+ $h1-size: 32px !default;
15
+ $h2-size: 24px !default;
16
+ $h3-size: 20px !default;
17
+ $h4-size: 16px !default;
18
+ $h5-size: 14px !default;
19
+ $h6-size: 12px !default;
20
+
21
+ $font-size-small: 12px !default;
22
+
23
+ // Font weights
24
+ $font-weight-bold: 600 !default;
25
+ $font-weight-semibold: 500 !default;
26
+ $font-weight-normal: 400 !default;
27
+ $font-weight-light: 300 !default;
28
+
29
+ // Line heights
30
+ $lh-condensed-ultra: 1 !default;
31
+ $lh-condensed: 1.25 !default;
32
+ $lh-default: 1.5 !default;
33
+
34
+ // Font stacks
35
+ $body-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji" !default;
36
+
37
+ // Monospace font stack
38
+ $mono-font: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace !default;
39
+
40
+ // The base body size
41
+ $body-font-size: 14px !default;
42
+ $body-line-height: $lh-default !default;
@@ -1,5 +1,10 @@
1
+ @import 'var';
2
+ // user theme imports
3
+ @import 'colors';
4
+
1
5
  @import 'bootstrap/bootstrap';
2
6
  @import 'mixins';
7
+ @import "primer/markdown/index.scss";
3
8
 
4
9
  @import 'theme/global';
5
10
  @import 'theme/animations';
File without changes
@@ -6,7 +6,7 @@
6
6
  // @include font-face(woodford, "/assets/fonts/woodford/woodfordbourne-thinitalic", 100, italic, otf);
7
7
 
8
8
  //========= global styles ==========
9
- html, body {
9
+ html, body.blogger {
10
10
  font: {
11
11
  size: 16px;
12
12
  family: 'Montserrat', sans-serif;
@@ -16,15 +16,23 @@ html, body {
16
16
  body {
17
17
  overflow-x: hidden;
18
18
  }
19
+ .blogger {
19
20
  h1,h2,h3,h4,h5,
20
21
  .h1,.h2,.h3,.h4,.h5{
21
22
  font-weight: bold;
22
23
  font-family: 'Playfair Display', serif;
23
24
  color: #000;
24
25
  }
26
+ }
25
27
  a {
26
28
  outline: none;
27
- cursor: pointer;
29
+ cursor: pointer;
30
+ color: darken($primary, 20%);
31
+
32
+ &:hover {
33
+ color: $primary;
34
+ text-decoration: underline;
35
+ }
28
36
  }
29
37
  table{
30
38
  height: 100%;
@@ -39,6 +47,9 @@ table{
39
47
  .text-lg{
40
48
  font-size: 1.2rem;
41
49
  }
50
+ .text-sm{
51
+ font-size: 0.9rem;
52
+ }
42
53
  .decoration-none{
43
54
  text-decoration: none;
44
55
  }
@@ -1,10 +1,18 @@
1
- header {
1
+ header.style-1 {
2
2
  border-top: 0.4rem solid $primary;
3
3
 
4
4
  .navbar-light .navbar-brand{
5
5
  font-family: 'Dancing Script', cursive;
6
6
  font-size: 3rem;
7
7
  color: $dark;
8
+
9
+ @media (max-width: 767px) {
10
+ font-size: 2.5rem;
11
+ }
12
+ }
13
+
14
+ .subnav-item {
15
+ border-bottom: 1px solid lighten($gray, 10%);
8
16
  }
9
17
 
10
18
  &.style-default{
@@ -33,7 +41,7 @@ header {
33
41
  }
34
42
  }
35
43
 
36
- &.style-1 {
44
+ // &.style-1 {
37
45
  .nav-item{
38
46
  margin: 0 0.7rem;
39
47
 
@@ -45,7 +53,146 @@ header {
45
53
  &.active {
46
54
  color: $primary;
47
55
  }
56
+ &:hover {
57
+ color: $primary;
58
+ }
59
+ }
60
+ }
61
+ // }
62
+
63
+ .mobile-nav-handle{
64
+ font-size: 1.5rem;
65
+ padding: 0 0.5rem;
66
+ z-index: 101;
67
+ }
68
+
69
+ @media (max-width: 767px) {
70
+ .nav-mobile {
71
+ @include transition(all, 0.4s);
72
+ display: block;
73
+ opacity: 0;
74
+ position: fixed;
75
+ top: 0;
76
+ left: 0;
77
+ background-color: rgba(255,255,255,0.95);
78
+ width: 100%;
79
+ height: 0;
80
+ z-index: 100;
81
+ padding-top: 5rem;
82
+ overflow: hidden;
83
+
84
+ &.active {
85
+ // display: block;
86
+ height: 100%;
87
+ opacity: 1;
88
+ }
89
+ .nav-item{
90
+ margin: 0 1rem;
91
+
92
+ .nav-link{
93
+ color: $dark;
94
+ font-size: 1.3rem;
95
+ padding: 0.5rem;
96
+
97
+ &.active {
98
+ color: $primary;
99
+ }
100
+ }
48
101
  }
49
102
  }
103
+ .subnav-item {
104
+ border-bottom: none;
105
+ margin-left: 1rem;
106
+ a {
107
+ color: lighten($color: #333, $amount: 30%);
108
+ }
109
+ }
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
+ }
143
+ }
144
+
145
+ header.project {
146
+ position: sticky;
147
+ background-color: $primary;
148
+ box-shadow: 0 .5rem 1rem rgba(0,0,0,.05),inset 0 -1px 0 rgba(0,0,0,.1);
149
+ top: 0;
150
+ z-index: 1071;
151
+
152
+ .navbar-brand {
153
+ color: #fff;
154
+ padding-top: 0.5rem;
155
+ padding-bottom: 0.5rem;
156
+ font-size: 1.1rem;
157
+ &:hover {
158
+ color: $light;
159
+ }
160
+ }
161
+ .nav-item{
162
+ margin: 0 0.7rem;
163
+
164
+ .nav-link{
165
+ color: #ccc;
166
+ font-size: 1rem;
167
+ padding: 0.1rem 0.2rem;
168
+
169
+ &.active {
170
+ color: #fff;
171
+ }
172
+ &:hover {
173
+ color: #fff;
174
+ }
175
+ }
176
+ }
177
+
178
+ .btn-follow {
179
+ padding: 0;
180
+
181
+ &:hover {
182
+ color: $light;
183
+ background-color: transparent;
184
+ border-color: transparent;
185
+ }
186
+ }
187
+ }
188
+ footer.project {
189
+ font-size: 0.875rem;
190
+ font-weight: 600;
191
+
192
+ a {
193
+ color: #495057;
194
+ &:hover {
195
+ color: $primary;
196
+ }
50
197
  }
51
198
  }
@@ -1,3 +1,4 @@
1
+ .blogger {
1
2
  p, li {
2
3
  color: darken($color: $gray, $amount: 50%);
3
4
  }
@@ -11,6 +12,16 @@ a h1 {
11
12
  }
12
13
  img {
13
14
  image-orientation: from-image;
15
+
16
+ @extend .img-fluid;
17
+ }
18
+ table {
19
+ @extend .table;
20
+
21
+ height: auto;
22
+ thead {
23
+ @extend .thead-dark;
24
+ }
14
25
  }
15
26
  .btn {
16
27
  border-radius: 0;
@@ -130,6 +141,19 @@ img {
130
141
  padding-left: 0.4rem;
131
142
  }
132
143
  }
144
+ .el-gutters {
145
+ @extend .no-gutters;
146
+ @media (min-width: 768px) {
147
+ margin-right: 0;
148
+ margin-left: 0;
149
+
150
+ > .col,
151
+ > [class*="col-"] {
152
+ padding-right: 0.4rem;
153
+ padding-left: 0.4rem;
154
+ }
155
+ }
156
+ }
133
157
  .section-heading{
134
158
  font-weight: 600;
135
159
  color: $primary;
@@ -146,6 +170,9 @@ img {
146
170
  &.sm {
147
171
  padding: 0.5rem;
148
172
  }
173
+ @media (max-width: 767px) {
174
+ padding: 0.5rem;
175
+ }
149
176
  }
150
177
  }
151
178
  .modal-backdrop {
@@ -185,6 +212,7 @@ img {
185
212
  opacity: 0.6;
186
213
  }
187
214
  }
215
+ }
188
216
 
189
217
  /* ****************** portfolio ******************* */
190
218
  /* .portfolio-item {
@@ -198,16 +226,22 @@ img {
198
226
  background-image: linear-gradient(125deg, desaturate(lighten($primary, 25%), 15%), desaturate(lighten($primary, 25%), 15%));
199
227
  background-size: 100% 80%;
200
228
  background-repeat: no-repeat;
201
- background-position: center;
229
+ background-position: bottom;
230
+
231
+ @media (min-width: 768px) {
232
+ background-position: center;
233
+ }
202
234
  }
235
+ @media (min-width: 768px) {
203
236
  .overlap-right {
204
- position: absolute;
237
+ position: absolute!important;
205
238
  right: 0;
206
239
  }
207
240
  .overlap-left {
208
- position: absolute;
241
+ position: absolute!important;
209
242
  left: 0;
210
243
  }
244
+ }
211
245
  .bnr-wrapper {
212
246
  background: #fff;
213
247
  width: 100%;
@@ -257,7 +291,23 @@ img {
257
291
  }
258
292
  }
259
293
  }
260
- /* ****************** header ******************* */
261
- .subnav-item {
262
- border-bottom: 1px solid lighten($gray, 10%);
294
+
295
+ /* ****************** project ******************* */
296
+ .project-head {
297
+ position: relative;
298
+ padding: 10rem 15px;
299
+ background: linear-gradient(to right bottom,lighten(desaturate($primary, $desaturate), $lighten) 50%,#fff 50%);
300
+
301
+ .btn-lg {
302
+ padding: .8rem 2rem;
303
+ font-size: 1.25rem;
304
+ }
305
+ h1 {
306
+ font-size: 4rem;
307
+ }
308
+ .lead {
309
+ font-size: 1.5rem;
310
+ font-weight: 400;
311
+ color: #495057;
312
+ }
263
313
  }
@@ -1,134 +1 @@
1
- /******/ (function(modules) { // webpackBootstrap
2
- /******/ // The module cache
3
- /******/ var installedModules = {};
4
- /******/
5
- /******/ // The require function
6
- /******/ function __webpack_require__(moduleId) {
7
- /******/
8
- /******/ // Check if module is in cache
9
- /******/ if(installedModules[moduleId]) {
10
- /******/ return installedModules[moduleId].exports;
11
- /******/ }
12
- /******/ // Create a new module (and put it into the cache)
13
- /******/ var module = installedModules[moduleId] = {
14
- /******/ i: moduleId,
15
- /******/ l: false,
16
- /******/ exports: {}
17
- /******/ };
18
- /******/
19
- /******/ // Execute the module function
20
- /******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
21
- /******/
22
- /******/ // Flag the module as loaded
23
- /******/ module.l = true;
24
- /******/
25
- /******/ // Return the exports of the module
26
- /******/ return module.exports;
27
- /******/ }
28
- /******/
29
- /******/
30
- /******/ // expose the modules object (__webpack_modules__)
31
- /******/ __webpack_require__.m = modules;
32
- /******/
33
- /******/ // expose the module cache
34
- /******/ __webpack_require__.c = installedModules;
35
- /******/
36
- /******/ // define getter function for harmony exports
37
- /******/ __webpack_require__.d = function(exports, name, getter) {
38
- /******/ if(!__webpack_require__.o(exports, name)) {
39
- /******/ Object.defineProperty(exports, name, { enumerable: true, get: getter });
40
- /******/ }
41
- /******/ };
42
- /******/
43
- /******/ // define __esModule on exports
44
- /******/ __webpack_require__.r = function(exports) {
45
- /******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
46
- /******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
47
- /******/ }
48
- /******/ Object.defineProperty(exports, '__esModule', { value: true });
49
- /******/ };
50
- /******/
51
- /******/ // create a fake namespace object
52
- /******/ // mode & 1: value is a module id, require it
53
- /******/ // mode & 2: merge all properties of value into the ns
54
- /******/ // mode & 4: return value when already ns object
55
- /******/ // mode & 8|1: behave like require
56
- /******/ __webpack_require__.t = function(value, mode) {
57
- /******/ if(mode & 1) value = __webpack_require__(value);
58
- /******/ if(mode & 8) return value;
59
- /******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
60
- /******/ var ns = Object.create(null);
61
- /******/ __webpack_require__.r(ns);
62
- /******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value });
63
- /******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
64
- /******/ return ns;
65
- /******/ };
66
- /******/
67
- /******/ // getDefaultExport function for compatibility with non-harmony modules
68
- /******/ __webpack_require__.n = function(module) {
69
- /******/ var getter = module && module.__esModule ?
70
- /******/ function getDefault() { return module['default']; } :
71
- /******/ function getModuleExports() { return module; };
72
- /******/ __webpack_require__.d(getter, 'a', getter);
73
- /******/ return getter;
74
- /******/ };
75
- /******/
76
- /******/ // Object.prototype.hasOwnProperty.call
77
- /******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
78
- /******/
79
- /******/ // __webpack_public_path__
80
- /******/ __webpack_require__.p = "";
81
- /******/
82
- /******/
83
- /******/ // Load entry module and return exports
84
- /******/ return __webpack_require__(__webpack_require__.s = "./_js/main.js");
85
- /******/ })
86
- /************************************************************************/
87
- /******/ ({
88
-
89
- /***/ "./_js/animations.js":
90
- /*!***************************!*\
91
- !*** ./_js/animations.js ***!
92
- \***************************/
93
- /*! no static exports found */
94
- /***/ (function(module, exports) {
95
-
96
- eval("let d = document;\nlet showThreshold = 150;\nlet hideThreshold = 100;\n\nlet runAnimations = (st) => {\n fadeIn('fade-in', st);\n};\n\nlet fadeIn = (className, st) => {\n let ea = d.querySelectorAll(`.${className}`);\n ea.forEach(ele => {\n // console.log(ele.offsetTop+showThreshold, st+window.innerHeight);\n if(st+window.innerHeight>ele.offsetTop+showThreshold){\n // console.log(\"show \", ele);\n ele.classList.add(\"in-view\");\n } else if(ele.offsetTop-hideThreshold>st+window.innerHeight) {\n // console.log(\"hide\", ele);\n ele.classList.remove(\"in-view\");\n }\n });\n \n};\n\nmodule.exports.init = () => {\n // console.log(\"animations init!\");\n window.onscroll = (e) => {\n runAnimations(window.pageYOffset);\n };\n runAnimations(window.pageYOffset);\n};\n\n//# sourceURL=webpack:///./_js/animations.js?");
97
-
98
- /***/ }),
99
-
100
- /***/ "./_js/comp-init.js":
101
- /*!**************************!*\
102
- !*** ./_js/comp-init.js ***!
103
- \**************************/
104
- /*! no static exports found */
105
- /***/ (function(module, exports) {
106
-
107
- eval("let carouselInit = () => {\n $(document).ready(() => {\n $('.carousel').carousel();\n });\n};\nlet popoverInit = () => {\n $(document).ready(() => {\n let options = {\n html: true,\n container: 'body',\n content: function() {\n return $(\"#\"+$(this).attr(\"data-pop\")).html();\n }\n };\n $('[data-toggle=\"popover\"]').popover(options)\n .on(\"mouseenter\", function () {\n if($(this).attr(\"data-trigger\")!=\"manual\")\n return;\n var _this = this;\n $(this).popover(\"show\");\n $(\".popover\").on(\"mouseleave\", function () {\n $(_this).popover('hide');\n });\n })\n .on(\"mouseleave\", function () {\n if($(this).attr(\"data-trigger\")!=\"manual\")\n return;\n var _this = this;\n setTimeout(function () {\n if (!$(\".popover:hover\").length) {\n $(_this).popover(\"hide\");\n }\n }, 300);\n });\n });\n};\n\nmodule.exports.init = () => {\n popoverInit();\n carouselInit();\n};\n\n//# sourceURL=webpack:///./_js/comp-init.js?");
108
-
109
- /***/ }),
110
-
111
- /***/ "./_js/insta-recent.js":
112
- /*!*****************************!*\
113
- !*** ./_js/insta-recent.js ***!
114
- \*****************************/
115
- /*! no static exports found */
116
- /***/ (function(module, exports) {
117
-
118
- eval("module.exports.init = () => {\n fetch(`https://api.instagram.com/v1/users/self/media/recent/?access_token=${config.insta_at}&count=8`)\n .then(response => {\n return response.json();\n })\n .then(imgs => {\n // console.log(imgs);\n let template = document.querySelector(\"#footer-insta-port\").innerHTML;\n let html = \"\";\n imgs.data.forEach(img => {\n html += `${template.replace('##__image_url__##', img.images.standard_resolution.url)\n .replace('##__insta_url__##', img.link)\n .replace('##__insta_comment__##', img.comments.count)\n .replace('##__insta_like__##', img.likes.count)}`;\n });\n document.querySelector(\"#footer-insta-port\").innerHTML = html;\n });\n};\n\n//# sourceURL=webpack:///./_js/insta-recent.js?");
119
-
120
- /***/ }),
121
-
122
- /***/ "./_js/main.js":
123
- /*!*********************!*\
124
- !*** ./_js/main.js ***!
125
- \*********************/
126
- /*! no exports provided */
127
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
128
-
129
- "use strict";
130
- eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _animations__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./animations */ \"./_js/animations.js\");\n/* harmony import */ var _animations__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_animations__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _insta_recent__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./insta-recent */ \"./_js/insta-recent.js\");\n/* harmony import */ var _insta_recent__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_insta_recent__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _comp_init__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./comp-init */ \"./_js/comp-init.js\");\n/* harmony import */ var _comp_init__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_comp_init__WEBPACK_IMPORTED_MODULE_2__);\n\n\n\n\n_comp_init__WEBPACK_IMPORTED_MODULE_2___default.a.init();\n_animations__WEBPACK_IMPORTED_MODULE_0___default.a.init();\n_insta_recent__WEBPACK_IMPORTED_MODULE_1___default.a.init();\n\n//# sourceURL=webpack:///./_js/main.js?");
131
-
132
- /***/ })
133
-
134
- /******/ });
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(),hljs.initHighlighting(),window.header=l.a}]);