jekyll-waterfall 0.6.0 → 0.7.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 564913bd5ad55325eab72f7554905a54840bc90a10ada80d714c55b680b5bde8
4
- data.tar.gz: 6569884ecbfb60abb1f4dc338b433640bb2520db1f8237427b5167e82769f476
3
+ metadata.gz: '025443497663b19b75088206d41a578f915bb6e92178903357579cc83b2d41b5'
4
+ data.tar.gz: ca6152734a548ee16d5431669e6f10de498813cd54892924231958446b6fd6d9
5
5
  SHA512:
6
- metadata.gz: 5f3d71d31196911d2fd6818b432a47700a5eb49d71c3ef1d585b3a5239d3c60060585fc2ce68fa683a050581084e242c2fb3a110ff72f9b520ee8841e0655451
7
- data.tar.gz: 373dd987a445c1d9efddc164fc9e3de6a4080596fca69a7d8e1f43ee47ff5dadef9f60bbf81722526dc7c2e2bbec0b66c7133e3dbf063c574ceb42700648e149
6
+ metadata.gz: e567fd11fdb93d131d7100d62e67d835dc97fead45ac513e951b2871df15f1d1dcb4af60cfccced1c84e43388c05297e0c32cfbedb7e43a1bb925584e631451e
7
+ data.tar.gz: 57d2d7074b50273c268c026c5bba35c900bdf27a5b76b74610d4138c3ca2b37d8931c7f1e8830206102f7ed6da6c6b67f0a806649d9b2959f603f9a6ab630d9d
@@ -8,6 +8,17 @@ collections:
8
8
  projects:
9
9
  output: false
10
10
 
11
+ defaults:
12
+ - scope:
13
+ path: ""
14
+ type: "posts"
15
+ values:
16
+ layout: "post"
17
+ - scope:
18
+ path: ""
19
+ values:
20
+ layout: "default"
21
+
11
22
  # Uncomment the section below to add items on your top navigation
12
23
  # header_items:
13
24
  # -
@@ -27,4 +38,10 @@ waterfall:
27
38
  social_links:
28
39
  github: jekyll
29
40
  linkedin: jekyll
30
- email: jekyll@jekyll.io
41
+ email: jekyll@jekyll.io
42
+
43
+ analytics:
44
+ tracking_id: "UX-12345678"
45
+
46
+ disqus:
47
+ shortname: jekyll
@@ -0,0 +1,11 @@
1
+ <!-- Global site tag (gtag.js) - Google Analytics -->
2
+ {%- if jekyll.environment == 'production' and site.analytics.tracking_id -%}
3
+ <script async src="https://www.googletagmanager.com/gtag/js?id={{ site.analytics.google.tracking_id }}"></script>
4
+ <script>
5
+ window.dataLayer = window.dataLayer || [];
6
+ function gtag(){dataLayer.push(arguments);}
7
+ gtag('js', new Date());
8
+
9
+ gtag('config', '{{ site.analytics.tracking_id }}');
10
+ </script>
11
+ {%- endif -%}
@@ -0,0 +1,20 @@
1
+ {%- if page.comments != false and jekyll.environment == "production" -%}
2
+
3
+ <div id="disqus_thread"></div>
4
+ <script>
5
+ var disqus_config = function () {
6
+ this.page.url = '{{ page.url | absolute_url }}';
7
+ this.page.identifier = '{{ page.url | absolute_url }}';
8
+ };
9
+
10
+ (function() {
11
+ var d = document, s = d.createElement('script');
12
+
13
+ s.src = 'https://{{ site.disqus.shortname }}.disqus.com/embed.js';
14
+
15
+ s.setAttribute('data-timestamp', +new Date());
16
+ (d.head || d.body).appendChild(s);
17
+ })();
18
+ </script>
19
+ <noscript>Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript" rel="nofollow">comments powered by Disqus.</a></noscript>
20
+ {%- endif -%}
@@ -17,4 +17,10 @@
17
17
  </div>
18
18
  {% endfor %}
19
19
  </div>
20
+
21
+ {%- if page.posts -%}
22
+ <div class="flex justify-center my-5">
23
+ <a href="{{ page.posts.url }}" class="btn border-primary-700 border rounded-md text-center text-primary-700 hover:bg-primary-700 hover:text-white transition-all">{{ page.posts.see_more_label }}</a>
24
+ </div>
25
+ {%- endif -%}
20
26
  </div>
@@ -2,13 +2,15 @@
2
2
 
3
3
  {%- for item in header_items -%}
4
4
  {%- assign cssClass = '' -%}
5
+ {%- assign target = '' -%}
5
6
  {%- if item.title -%}
6
7
  {%- assign title = item.title | escape -%}
7
8
  {%- assign href = item.href | escape -%}
9
+ {%- assign target = item.target -%}
8
10
 
9
11
  {%- if item.featured -%}
10
12
  {%- assign cssClass = 'btn btn-primary inline-block' -%}
11
- {%- endif -%}
13
+ {%- endif -%}
12
14
  {%- else -%}
13
15
  {%- assign page = site.pages | where: "path", item | first -%}
14
16
  {%- assign title = page.title | escape -%}
@@ -16,7 +18,7 @@
16
18
  {%- endif -%}
17
19
 
18
20
  <li class="pl-5">
19
- <a class="nav-link {{ cssClass }}" href="{{ href }}">
21
+ <a class="nav-link {{ cssClass }}" href="{{ href }}" target="{{ target }}">
20
22
  <span class="text-gray-500">{{ title }}</span>
21
23
  </a>
22
24
  </li>
@@ -18,4 +18,10 @@
18
18
  </div>
19
19
  {% endfor %}
20
20
  </div>
21
+
22
+ {%- if page.posts -%}
23
+ <div class="flex justify-center my-5">
24
+ <a href="{{ page.projects.url }}" class="btn border-primary-700 border rounded-md text-center text-primary-700 hover:bg-primary-700 hover:text-white transition-all">{{ page.projects.see_more_label }}</a>
25
+ </div>
26
+ {%- endif -%}
21
27
  </div>
@@ -8,7 +8,7 @@
8
8
 
9
9
  <link rel="stylesheet" href="/assets/styles.css">
10
10
  <link rel="preconnect" href="https://fonts.gstatic.com">
11
- <link href="https://fonts.googleapis.com/css2?family=Poppins:wght@500&display=swap" rel="stylesheet">
11
+ <link href="https://fonts.googleapis.com/css2?family=Poppins:wght@300;500;600&display=swap" rel="stylesheet">
12
12
  </head>
13
13
 
14
14
  <body class="bg-gray-100">
@@ -22,6 +22,7 @@
22
22
 
23
23
  <div class="overlay hidden bg-gray-900 opacity-60 absolute top-0 bottom-0 w-full z-0 transition-all"></div>
24
24
 
25
+ {% include analytics.html %}
25
26
  <script async src="/assets/scripts.bundle.js"></script>
26
27
  </body>
27
28
 
@@ -0,0 +1,12 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+ <article class="post">
5
+ <h1>{{ page.title }}</h1>
6
+
7
+ {{ content }}
8
+
9
+ {%- if site.disqus.shortname -%}
10
+ {%- include disqus_comments.html -%}
11
+ {%- endif -%}
12
+ </article>
@@ -21,8 +21,7 @@ Use a more readable tab size (opinionated).
21
21
 
22
22
  :root {
23
23
  -moz-tab-size: 4;
24
- -o-tab-size: 4;
25
- tab-size: 4;
24
+ tab-size: 4;
26
25
  }
27
26
 
28
27
  /**
@@ -54,7 +53,8 @@ Improve consistency of default fonts in all browsers. (https://github.com/sindre
54
53
 
55
54
  body {
56
55
  font-family:
57
- system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, sans-serif,
56
+ system-ui,
57
+ -apple-system, /* Firefox supports this but not yet `system-ui` */
58
58
  'Segoe UI',
59
59
  Roboto,
60
60
  Helvetica,
@@ -89,8 +89,7 @@ Add the correct text decoration in Chrome, Edge, and Safari.
89
89
  */
90
90
 
91
91
  abbr[title] {
92
- -webkit-text-decoration: underline dotted;
93
- text-decoration: underline dotted;
92
+ text-decoration: underline dotted;
94
93
  }
95
94
 
96
95
  /**
@@ -404,14 +403,6 @@ textarea {
404
403
  resize: vertical;
405
404
  }
406
405
 
407
- input::-moz-placeholder, textarea::-moz-placeholder {
408
- color: #9ca3af;
409
- }
410
-
411
- input:-ms-input-placeholder, textarea:-ms-input-placeholder {
412
- color: #9ca3af;
413
- }
414
-
415
406
  input::placeholder,
416
407
  textarea::placeholder {
417
408
  color: #9ca3af;
@@ -577,6 +568,11 @@ video {
577
568
  background-color: rgba(67, 56, 202, var(--tw-bg-opacity));
578
569
  }
579
570
 
571
+ .hover\:bg-primary-700:hover {
572
+ --tw-bg-opacity: 1;
573
+ background-color: rgba(67, 56, 202, var(--tw-bg-opacity));
574
+ }
575
+
580
576
  .border-gray-200 {
581
577
  --tw-border-opacity: 1;
582
578
  border-color: rgba(229, 231, 235, var(--tw-border-opacity));
@@ -587,6 +583,11 @@ video {
587
583
  border-color: rgba(79, 70, 229, var(--tw-border-opacity));
588
584
  }
589
585
 
586
+ .border-primary-700 {
587
+ --tw-border-opacity: 1;
588
+ border-color: rgba(67, 56, 202, var(--tw-border-opacity));
589
+ }
590
+
590
591
  .rounded-md {
591
592
  border-radius: 0.375rem;
592
593
  }
@@ -595,6 +596,10 @@ video {
595
596
  border-radius: 0.5rem;
596
597
  }
597
598
 
599
+ .border {
600
+ border-width: 1px;
601
+ }
602
+
598
603
  .border-t-4 {
599
604
  border-top-width: 4px;
600
605
  }
@@ -710,6 +715,11 @@ video {
710
715
  padding: 1.25rem;
711
716
  }
712
717
 
718
+ .py-1 {
719
+ padding-top: 0.25rem;
720
+ padding-bottom: 0.25rem;
721
+ }
722
+
713
723
  .py-4 {
714
724
  padding-top: 1rem;
715
725
  padding-bottom: 1rem;
@@ -725,6 +735,10 @@ video {
725
735
  padding-right: 2rem;
726
736
  }
727
737
 
738
+ .pr-5 {
739
+ padding-right: 1.25rem;
740
+ }
741
+
728
742
  .pl-5 {
729
743
  padding-left: 1.25rem;
730
744
  }
@@ -766,13 +780,12 @@ video {
766
780
  }
767
781
 
768
782
  * {
769
- --tw-shadow: 0 0 rgba(0,0,0,0);
783
+ --tw-shadow: 0 0 #0000;
770
784
  }
771
785
 
772
786
  .hover\:shadow-lg:hover {
773
787
  --tw-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
774
- box-shadow: 0 0 rgba(0,0,0,0), 0 0 rgba(0,0,0,0), var(--tw-shadow);
775
- box-shadow: var(--tw-ring-offset-shadow, 0 0 rgba(0,0,0,0)), var(--tw-ring-shadow, 0 0 rgba(0,0,0,0)), var(--tw-shadow);
788
+ box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
776
789
  }
777
790
 
778
791
  * {
@@ -780,8 +793,8 @@ video {
780
793
  --tw-ring-offset-width: 0px;
781
794
  --tw-ring-offset-color: #fff;
782
795
  --tw-ring-color: rgba(59, 130, 246, 0.5);
783
- --tw-ring-offset-shadow: 0 0 rgba(0,0,0,0);
784
- --tw-ring-shadow: 0 0 rgba(0,0,0,0);
796
+ --tw-ring-offset-shadow: 0 0 #0000;
797
+ --tw-ring-shadow: 0 0 #0000;
785
798
  }
786
799
 
787
800
  .text-center {
@@ -817,6 +830,11 @@ video {
817
830
  color: rgba(255, 255, 255, var(--tw-text-opacity));
818
831
  }
819
832
 
833
+ .hover\:text-white:hover {
834
+ --tw-text-opacity: 1;
835
+ color: rgba(255, 255, 255, var(--tw-text-opacity));
836
+ }
837
+
820
838
  .w-64 {
821
839
  width: 16rem;
822
840
  }
@@ -859,25 +877,12 @@ video {
859
877
  transition-duration: 150ms;
860
878
  }
861
879
 
862
- @-webkit-keyframes spin {
863
- to {
864
- transform: rotate(360deg);
865
- }
866
- }
867
-
868
880
  @keyframes spin {
869
881
  to {
870
882
  transform: rotate(360deg);
871
883
  }
872
884
  }
873
885
 
874
- @-webkit-keyframes ping {
875
- 75%, 100% {
876
- transform: scale(2);
877
- opacity: 0;
878
- }
879
- }
880
-
881
886
  @keyframes ping {
882
887
  75%, 100% {
883
888
  transform: scale(2);
@@ -885,44 +890,67 @@ video {
885
890
  }
886
891
  }
887
892
 
888
- @-webkit-keyframes pulse {
889
- 50% {
890
- opacity: .5;
891
- }
892
- }
893
-
894
893
  @keyframes pulse {
895
894
  50% {
896
895
  opacity: .5;
897
896
  }
898
897
  }
899
898
 
900
- @-webkit-keyframes bounce {
899
+ @keyframes bounce {
901
900
  0%, 100% {
902
901
  transform: translateY(-25%);
903
- -webkit-animation-timing-function: cubic-bezier(0.8,0,1,1);
904
- animation-timing-function: cubic-bezier(0.8,0,1,1);
902
+ animation-timing-function: cubic-bezier(0.8,0,1,1);
905
903
  }
906
904
 
907
905
  50% {
908
906
  transform: none;
909
- -webkit-animation-timing-function: cubic-bezier(0,0,0.2,1);
910
- animation-timing-function: cubic-bezier(0,0,0.2,1);
907
+ animation-timing-function: cubic-bezier(0,0,0.2,1);
911
908
  }
912
909
  }
913
910
 
914
- @keyframes bounce {
915
- 0%, 100% {
916
- transform: translateY(-25%);
917
- -webkit-animation-timing-function: cubic-bezier(0.8,0,1,1);
918
- animation-timing-function: cubic-bezier(0.8,0,1,1);
919
- }
911
+ pre {
912
+ background: #222;
913
+ color: #ffffff;
914
+ padding: 10px;
915
+ overflow: auto;
916
+ width: 100%;
917
+ }
920
918
 
921
- 50% {
922
- transform: none;
923
- -webkit-animation-timing-function: cubic-bezier(0,0,0.2,1);
924
- animation-timing-function: cubic-bezier(0,0,0.2,1);
925
- }
919
+ pre code {
920
+ width: auto;
921
+ }
922
+
923
+ .highlight .cm {
924
+ color: #608B4E;
925
+ }
926
+
927
+ .highlight .kd,
928
+ .highlight .kc {
929
+ color: #3F9CCA;
930
+ }
931
+
932
+ .highlight .nx {
933
+ color: #68D0FE;
934
+ }
935
+
936
+ .highlight .k {
937
+ color: #C586A1;
938
+ }
939
+
940
+ .highlight .p {
941
+ color: #DCD285;
942
+ }
943
+
944
+ .highlight .s2 {
945
+ color: #CE743A;
946
+ }
947
+
948
+ .highlight .mi {
949
+ color: #B5CEA8;
950
+ }
951
+
952
+ .highlighter-rouge {
953
+ margin-bottom: 1.25rem
926
954
  }
927
955
 
928
956
  svg:not(:root).svg-inline--fa {
@@ -971,6 +999,33 @@ svg:not(:root).svg-inline--fa {
971
999
  border-left: solid 4.2426px #4338ca;
972
1000
  }
973
1001
 
1002
+ .post h1 {
1003
+ font-weight: 600;
1004
+ font-size: 1.875rem;
1005
+ line-height: 2.25rem;
1006
+ margin-bottom: 1.25rem;
1007
+ --tw-text-opacity: 1;
1008
+ color: rgba(67, 56, 202, var(--tw-text-opacity))
1009
+ }
1010
+
1011
+ .post h2 {
1012
+ font-weight: 600;
1013
+ font-size: 1.25rem;
1014
+ line-height: 1.75rem;
1015
+ margin-bottom: 1.25rem;
1016
+ margin-top: 2.5rem;
1017
+ --tw-text-opacity: 1;
1018
+ color: rgba(67, 56, 202, var(--tw-text-opacity))
1019
+ }
1020
+
1021
+ .post p {
1022
+ font-weight: 300;
1023
+ line-height: 2.25rem;
1024
+ --tw-text-opacity: 1;
1025
+ color: rgba(17, 24, 39, var(--tw-text-opacity));
1026
+ letter-spacing: 0.025em
1027
+ }
1028
+
974
1029
  .btn {
975
1030
  border-radius: 0.5rem;
976
1031
  padding-top: 0.5rem;
@@ -1018,15 +1073,15 @@ p {
1018
1073
  }
1019
1074
 
1020
1075
  .experience ul {
1021
- list-style-type: disc;
1022
- padding-left: 0.75rem;
1023
- --tw-text-opacity: 1;
1024
- color: rgba(107, 114, 128, var(--tw-text-opacity))
1025
- }
1076
+ list-style-type: disc;
1077
+ padding-left: 0.75rem;
1078
+ --tw-text-opacity: 1;
1079
+ color: rgba(107, 114, 128, var(--tw-text-opacity))
1080
+ }
1026
1081
 
1027
1082
  .experience li {
1028
- margin-bottom: 0.75rem
1029
- }
1083
+ margin-bottom: 0.75rem
1084
+ }
1030
1085
 
1031
1086
  .btn-primary {
1032
1087
  --tw-bg-opacity: 1;
@@ -1034,12 +1089,12 @@ p {
1034
1089
  }
1035
1090
 
1036
1091
  .nav-opened aside {
1037
- right: 0;
1038
- }
1092
+ right: 0;
1093
+ }
1039
1094
 
1040
1095
  .nav-opened .overlay {
1041
- display: block;
1042
- }
1096
+ display: block;
1097
+ }
1043
1098
 
1044
1099
  body {
1045
1100
  --white: #fff;
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-waterfall
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.0
4
+ version: 0.7.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rodrigo-Vargas
@@ -34,6 +34,8 @@ files:
34
34
  - LICENSE.txt
35
35
  - README.md
36
36
  - _config.yml
37
+ - _includes/analytics.html
38
+ - _includes/disqus_comments.html
37
39
  - _includes/experience.html
38
40
  - _includes/header.html
39
41
  - _includes/last_posts.html
@@ -46,6 +48,7 @@ files:
46
48
  - _includes/svg/linkedin.svg
47
49
  - _layouts/default.html
48
50
  - _layouts/home.html
51
+ - _layouts/post.html
49
52
  - assets/scripts.bundle.js
50
53
  - assets/styles.css
51
54
  homepage: https://rodrigovargas.com.br