jekyll-waterfall 0.7.0 → 0.8.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 +4 -4
- data/_config.yml +7 -0
- data/_includes/experience.html +7 -1
- data/_includes/last_posts.html +7 -1
- data/_includes/projects.html +24 -13
- data/assets/styles.css +92 -22
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 54a43a2dd979ad431214a1cd0a55fb2174ad9764e0e02f6da0e54b22124b5637
|
4
|
+
data.tar.gz: 3a10e4738cf5f47b079cdf56674b687d136efdae68db17f7f12f9e332178f4c5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 75afe01ef0f9d1b53c2b7da9cb2b9fb13e4382046286242c4cb1200ca96a01e29120a32f171d269d6b4ce1ed551d01d6ac08ce3d3e06d42ad9ebe8a4dd9a97d6
|
7
|
+
data.tar.gz: 65f52162ddb1461f64f7bcac839f43d7f86e48b65ae24eb5650c72fff448ddaa239c4d627d304e521b7c08b08a7afd83a3a16ad299288022391a3d159483752c
|
data/_config.yml
CHANGED
@@ -1,5 +1,8 @@
|
|
1
1
|
title: Waterfall Theme
|
2
2
|
|
3
|
+
enable_multi_language: true
|
4
|
+
lang: &LANG "pt"
|
5
|
+
|
3
6
|
exclude: ['front']
|
4
7
|
|
5
8
|
collections:
|
@@ -17,6 +20,7 @@ defaults:
|
|
17
20
|
- scope:
|
18
21
|
path: ""
|
19
22
|
values:
|
23
|
+
lang: *LANG
|
20
24
|
layout: "default"
|
21
25
|
|
22
26
|
# Uncomment the section below to add items on your top navigation
|
@@ -40,6 +44,9 @@ waterfall:
|
|
40
44
|
linkedin: jekyll
|
41
45
|
email: jekyll@jekyll.io
|
42
46
|
|
47
|
+
home:
|
48
|
+
last_posts_items: 4
|
49
|
+
|
43
50
|
analytics:
|
44
51
|
tracking_id: "UX-12345678"
|
45
52
|
|
data/_includes/experience.html
CHANGED
@@ -1,10 +1,16 @@
|
|
1
|
+
{%- assign experiences = site.experiences -%}
|
2
|
+
|
3
|
+
{%- if site.enable_multi_language == true && page.lang != null -%}
|
4
|
+
{%- assign experiences = site.experiences | where: "lang", page.lang -%}
|
5
|
+
{%- endif -%}
|
6
|
+
|
1
7
|
<div id="experience" class="min-h-screen pt-32">
|
2
8
|
<h2 class="text-primary-700 mb-10 text-3xl">Where I've Worked</h2>
|
3
9
|
|
4
10
|
<div class="flex flex-wrap">
|
5
11
|
<div class="w-1/4">
|
6
12
|
<div class="nav flex flex-col nav-pills" id="v-pills-tab" role="tablist" aria-orientation="vertical">
|
7
|
-
{% for experience in
|
13
|
+
{% for experience in experiences %}
|
8
14
|
<a class="px-4 py-2 text-gray-400 nav-link" data-toggle="pill" href="#v-pills-{{ experience.slug }}"
|
9
15
|
aria-controls="v-pills-settings" aria-selected="false">{{ experience.company.name }}</a>
|
10
16
|
{% endfor %}
|
data/_includes/last_posts.html
CHANGED
@@ -1,8 +1,14 @@
|
|
1
|
+
{%- assign posts = site.posts -%}
|
2
|
+
|
3
|
+
{%- if site.enable_multi_language == true && page.lang != null -%}
|
4
|
+
{%- assign posts = site.posts | where: "lang", page.lang -%}
|
5
|
+
{%- endif -%}
|
6
|
+
|
1
7
|
<div id="last-posts" class="min-h-screen pt-32">
|
2
8
|
<h2 class="text-primary-700 mb-10 text-3xl">Last Posts</h2>
|
3
9
|
|
4
10
|
<div class="row">
|
5
|
-
{% for post in site.
|
11
|
+
{% for post in posts limit: site.waterfall.home.last_posts_items %}
|
6
12
|
<div class="col w-full sm:w-1/2 md:w-1/3">
|
7
13
|
<a href="{{ post.url }}" class="card p-5 bg-gray-50 hover:shadow-lg rounded-md relative transition-all border-t-4 border-primary-600 block mb-3">
|
8
14
|
<h2 class="text-gray-800 text-xl mb-3">{{ post.title }}</h2>
|
data/_includes/projects.html
CHANGED
@@ -1,21 +1,32 @@
|
|
1
|
+
{%- assign projects = site.projects -%}
|
2
|
+
|
3
|
+
{%- if site.enable_multi_language == true && page.lang != null -%}
|
4
|
+
{%- assign projects = site.projects | where: "lang", page.lang -%}
|
5
|
+
{%- endif -%}
|
6
|
+
|
1
7
|
<div id="projects" class="min-h-screen pt-32">
|
2
8
|
<h2 class="text-primary-700 mb-10 text-3xl">Some Things I've Built</h2>
|
3
9
|
|
10
|
+
|
4
11
|
<div class="row">
|
5
|
-
{% for project in
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
12
|
+
{% for project in projects | where: "featured", true %}
|
13
|
+
<div class="col w-full sm:w-1/2">
|
14
|
+
<a href="{{ project.permalink }}" class="card featured">
|
15
|
+
<div class="py-5 pt-2">
|
16
|
+
{% for category in project.categories %}
|
17
|
+
<span class="text-gray-300 text-sm pr-5 py-1">{{ category }}</span>
|
18
|
+
{% endfor %}
|
19
|
+
</div>
|
11
20
|
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
21
|
+
<h2 class="text-gray-800 text-2xl mb-3">{{ project.title }}</h2>
|
22
|
+
|
23
|
+
<div class="absolute bottom-0">
|
24
|
+
<div class="h-36 overflow-hidden w-4/5 mx-auto">
|
25
|
+
<img src="{{ project.thumbnail }}" alt="{{ project.title }}">
|
26
|
+
</div>
|
27
|
+
</div>
|
28
|
+
</a>
|
29
|
+
</div>
|
19
30
|
{% endfor %}
|
20
31
|
</div>
|
21
32
|
|
data/assets/styles.css
CHANGED
@@ -198,8 +198,7 @@ select { /* 1 */
|
|
198
198
|
Correct the inability to style clickable types in iOS and Safari.
|
199
199
|
*/
|
200
200
|
|
201
|
-
button
|
202
|
-
[type='button'] {
|
201
|
+
button {
|
203
202
|
-webkit-appearance: button;
|
204
203
|
}
|
205
204
|
|
@@ -644,6 +643,10 @@ video {
|
|
644
643
|
justify-content: center;
|
645
644
|
}
|
646
645
|
|
646
|
+
.h-36 {
|
647
|
+
height: 9rem;
|
648
|
+
}
|
649
|
+
|
647
650
|
.h-full {
|
648
651
|
height: 100%;
|
649
652
|
}
|
@@ -667,6 +670,11 @@ video {
|
|
667
670
|
line-height: 1.75rem;
|
668
671
|
}
|
669
672
|
|
673
|
+
.text-2xl {
|
674
|
+
font-size: 1.5rem;
|
675
|
+
line-height: 2rem;
|
676
|
+
}
|
677
|
+
|
670
678
|
.text-3xl {
|
671
679
|
font-size: 1.875rem;
|
672
680
|
line-height: 2.25rem;
|
@@ -707,6 +715,10 @@ video {
|
|
707
715
|
opacity: 0.6;
|
708
716
|
}
|
709
717
|
|
718
|
+
.overflow-hidden {
|
719
|
+
overflow: hidden;
|
720
|
+
}
|
721
|
+
|
710
722
|
.p-3 {
|
711
723
|
padding: 0.75rem;
|
712
724
|
}
|
@@ -735,6 +747,10 @@ video {
|
|
735
747
|
padding-right: 2rem;
|
736
748
|
}
|
737
749
|
|
750
|
+
.pt-2 {
|
751
|
+
padding-top: 0.5rem;
|
752
|
+
}
|
753
|
+
|
738
754
|
.pr-5 {
|
739
755
|
padding-right: 1.25rem;
|
740
756
|
}
|
@@ -805,6 +821,11 @@ video {
|
|
805
821
|
text-align: right;
|
806
822
|
}
|
807
823
|
|
824
|
+
.text-gray-300 {
|
825
|
+
--tw-text-opacity: 1;
|
826
|
+
color: rgba(209, 213, 219, var(--tw-text-opacity));
|
827
|
+
}
|
828
|
+
|
808
829
|
.text-gray-400 {
|
809
830
|
--tw-text-opacity: 1;
|
810
831
|
color: rgba(156, 163, 175, var(--tw-text-opacity));
|
@@ -851,6 +872,10 @@ video {
|
|
851
872
|
width: 75%;
|
852
873
|
}
|
853
874
|
|
875
|
+
.w-4\/5 {
|
876
|
+
width: 80%;
|
877
|
+
}
|
878
|
+
|
854
879
|
.w-full {
|
855
880
|
width: 100%;
|
856
881
|
}
|
@@ -1026,6 +1051,71 @@ svg:not(:root).svg-inline--fa {
|
|
1026
1051
|
letter-spacing: 0.025em
|
1027
1052
|
}
|
1028
1053
|
|
1054
|
+
.row {
|
1055
|
+
display: flex;
|
1056
|
+
flex-wrap: wrap;
|
1057
|
+
margin-left: -0.75rem;
|
1058
|
+
margin-right: -0.75rem
|
1059
|
+
}
|
1060
|
+
|
1061
|
+
.col {
|
1062
|
+
padding-left: 0.75rem;
|
1063
|
+
padding-right: 0.75rem
|
1064
|
+
}
|
1065
|
+
|
1066
|
+
.card {
|
1067
|
+
min-height: 16rem
|
1068
|
+
}
|
1069
|
+
|
1070
|
+
.card.featured {
|
1071
|
+
--tw-bg-opacity: 1;
|
1072
|
+
background-color: rgba(249, 250, 251, var(--tw-bg-opacity));
|
1073
|
+
border-radius: 0.375rem;
|
1074
|
+
display: block;
|
1075
|
+
margin-bottom: 0.75rem;
|
1076
|
+
padding: 1.25rem;
|
1077
|
+
padding-bottom: 12rem;
|
1078
|
+
position: relative;
|
1079
|
+
--tw-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
|
1080
|
+
box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
|
1081
|
+
--tw-translate-x: 0;
|
1082
|
+
--tw-translate-y: 0;
|
1083
|
+
--tw-rotate: 0;
|
1084
|
+
--tw-skew-x: 0;
|
1085
|
+
--tw-skew-y: 0;
|
1086
|
+
--tw-scale-x: 1;
|
1087
|
+
--tw-scale-y: 1;
|
1088
|
+
transform: translateX(var(--tw-translate-x)) translateY(var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
|
1089
|
+
transition-property: all;
|
1090
|
+
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
1091
|
+
transition-duration: 150ms;
|
1092
|
+
transition-duration: 300ms;
|
1093
|
+
}
|
1094
|
+
|
1095
|
+
.card.featured h2, .card.featured p, .card.featured span {
|
1096
|
+
transition-property: all;
|
1097
|
+
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
1098
|
+
transition-duration: 150ms;
|
1099
|
+
transition-duration: 300ms
|
1100
|
+
}
|
1101
|
+
|
1102
|
+
.card.featured:hover {
|
1103
|
+
--tw-bg-opacity: 1;
|
1104
|
+
background-color: rgba(79, 70, 229, var(--tw-bg-opacity));
|
1105
|
+
--tw-scale-x: 0.98;
|
1106
|
+
--tw-scale-y: 0.98;
|
1107
|
+
}
|
1108
|
+
|
1109
|
+
.card.featured:hover h2 {
|
1110
|
+
--tw-text-opacity: 1;
|
1111
|
+
color: rgba(255, 255, 255, var(--tw-text-opacity))
|
1112
|
+
}
|
1113
|
+
|
1114
|
+
.card.featured:hover p, .card.featured:hover span {
|
1115
|
+
--tw-text-opacity: 1;
|
1116
|
+
color: rgba(165, 180, 252, var(--tw-text-opacity))
|
1117
|
+
}
|
1118
|
+
|
1029
1119
|
.btn {
|
1030
1120
|
border-radius: 0.5rem;
|
1031
1121
|
padding-top: 0.5rem;
|
@@ -1120,26 +1210,6 @@ body {
|
|
1120
1210
|
--gray-900: #111827;
|
1121
1211
|
}
|
1122
1212
|
|
1123
|
-
.transition-all {
|
1124
|
-
transition: all 0.5s !important;
|
1125
|
-
}
|
1126
|
-
|
1127
|
-
.row {
|
1128
|
-
display: flex;
|
1129
|
-
flex-wrap: wrap;
|
1130
|
-
margin-left: -0.75rem;
|
1131
|
-
margin-right: -0.75rem
|
1132
|
-
}
|
1133
|
-
|
1134
|
-
.col {
|
1135
|
-
padding-left: 0.75rem;
|
1136
|
-
padding-right: 0.75rem
|
1137
|
-
}
|
1138
|
-
|
1139
|
-
.card {
|
1140
|
-
min-height: 16rem
|
1141
|
-
}
|
1142
|
-
|
1143
1213
|
@media (min-width: 640px) {
|
1144
1214
|
.sm\:left-3 {
|
1145
1215
|
left: 0.75rem;
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jekyll-waterfall
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.8.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Rodrigo-Vargas
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-12-
|
11
|
+
date: 2020-12-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|