From d52f7d4a2def2b9038415bad510481c43c9e6650 Mon Sep 17 00:00:00 2001 From: elcuervo Date: Tue, 13 May 2025 16:10:19 -0300 Subject: [PATCH 1/6] Main page does not have menu --- _layouts/default.html | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/_layouts/default.html b/_layouts/default.html index 8b66cd6..d7ea46d 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -3,11 +3,7 @@ {% include head.html %} - {% include nav.html %} - -
- {{ content }} -
+
{{ content }}
{% include footer.html %} From 5d823679d6ddfa9c7a1b6ad6fbbb72d0a454519e Mon Sep 17 00:00:00 2001 From: elcuervo Date: Tue, 13 May 2025 16:10:28 -0300 Subject: [PATCH 2/6] Basic logo for meetup pages --- _includes/nav.html | 21 ++---------- _sass/nav.scss | 81 +--------------------------------------------- 2 files changed, 4 insertions(+), 98 deletions(-) diff --git a/_includes/nav.html b/_includes/nav.html index e95ae05..6ed6777 100644 --- a/_includes/nav.html +++ b/_includes/nav.html @@ -1,24 +1,9 @@ diff --git a/_sass/nav.scss b/_sass/nav.scss index 0fe28ca..4a6e7ac 100644 --- a/_sass/nav.scss +++ b/_sass/nav.scss @@ -1,84 +1,5 @@ nav { ul { - display: flex; - height: 5rem; - color: #2E2E2E; - font-size: 1.5rem; - font-family: 'Syncopate', sans-serif; - border: 4px solid #2E2E2E; - box-sizing: border-box; - - li { - border-right: 4px solid #2E2E2E; - height: 100%; - justify-content: center; - align-items: center; - display: flex; - background: #fff; - box-sizing: border-box; - - &:first-child { flex: 3; background: #F6EEEC; a:hover { background-color: inherit; } } - &:nth-child(2) { background: #F6EEEC; flex: 10; } - &:nth-child(n+3):not(:last-child) { flex: 6 } - &:nth-last-child(2) { border: 0; } - &:last-child { display: none; } - - img { - width: 35px; - } - - a { - align-items: center; - color: inherit; - display: flex; - height: 100%; - justify-content: center; - text-decoration: none; - width: 100%; - - &:hover { - background-color: rgba(57, 126, 120, 0.5); - } - } - - button { - background: transparent; - width: 100%; - height: 100%; - border: 0; - } - } - - @media (max-width: 712px) { - li { - &:nth-child(n+3):not(:last-child) { - position: absolute; - height: 4rem; - width: 100%; - border-left: 4px solid #2E2E2E; - border-right: 4px solid #2E2E2E; - left: 0; - display: none; - z-index: 10; - } - - &:nth-last-child(2) { - border-bottom: 4px solid #2E2E2E; - } - - &:last-child { - display: flex; - border: 0; - flex: 2; - background: #F6EEEC; - } - } - - @for $i from 3 through 5 { - li:nth-child(#{$i}) { - top: calc(5rem + if($i == 3, 5rem, 4rem) * ($i - 3)); - } - } - } + text-align: center } } From 316838b62690fcbe8586886c6a827909c4f10316 Mon Sep 17 00:00:00 2001 From: elcuervo Date: Tue, 13 May 2025 16:33:34 -0300 Subject: [PATCH 3/6] Like I know css --- _includes/nav.html | 18 +++--- _layouts/default.html | 1 - _layouts/meetup.html | 1 + _sass/nav.scss | 147 +++++++++++++++++++++++++++++++++++++++++- 4 files changed, 154 insertions(+), 13 deletions(-) diff --git a/_includes/nav.html b/_includes/nav.html index 6ed6777..9f985a3 100644 --- a/_includes/nav.html +++ b/_includes/nav.html @@ -1,9 +1,9 @@ - +
+
+

+ + + + +
+
diff --git a/_layouts/default.html b/_layouts/default.html index d7ea46d..bf3eaab 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -7,5 +7,4 @@ {% include footer.html %} - diff --git a/_layouts/meetup.html b/_layouts/meetup.html index f2feb13..3c3615a 100644 --- a/_layouts/meetup.html +++ b/_layouts/meetup.html @@ -59,4 +59,5 @@

{{ talk.title }} - {{ speakers | join: ", " }}

+ {% include footer.html %} diff --git a/_sass/nav.scss b/_sass/nav.scss index 4a6e7ac..b5f8780 100644 --- a/_sass/nav.scss +++ b/_sass/nav.scss @@ -1,5 +1,146 @@ -nav { - ul { - text-align: center +.meetup__default { + display: flex; + flex-direction: column; + font: 1rem 'Syncopate', sans-serif; + width: 100%; + + > div { + display: flex; + width: 100%; + + &:first-child { + background: #3967D1; + align-items: center; + position: relative; + + h1 { + color: #fcc24e; + font: 700 6rem/1 'Syncopate', sans-serif; + margin-left: 52px; + padding: 50px 0; + width: 55%; + + @media (max-width: 992px) { + font-size: 75px; + } + + @media (max-width: 768px) { + font-size: 2rem; + margin: 0; + padding: 36px 0; + width: 85%; + } + } + + img { + position: absolute; + right: 15%; + width: 350px; + z-index: 1; + + @media (max-width: 1300px) { + top: 68%; + width: 430px; + right: 15%; + } + + @media (max-width: 992px) { + top: 75%; + width: 330px; + right: 10%; + } + + @media (max-width: 768px) { + position: relative; + left: -25%; + padding: 15px; + } + } + + @media (max-width: 768px) { + justify-content: center; + } + } + + &:last-child { + flex-direction: row; + + div { + align-items: center; + border: 4px solid #2E2E2E; + display: flex; + flex-wrap: wrap; + flex-basis: 50%; + padding: 96px 0; + + &:first-child { + border-left-width: 0; + background-color: #F6EEEC; + justify-content: flex-start; + + h2 { + color: #3967D1; + font: 900 4rem/1 'Syncopate', sans-serif; + margin-left: 52px; + width: 35%; + + @media (max-width: 992px) { + font-size: 2.5rem; + margin-left: 26px; + } + + @media (max-width: 768px) { + font-size: 1.5rem; + } + } + + @media (max-width: 768px) { + width: 100%; + padding: 30px 0; + } + } + + &:last-child { + background: rgb(57, 126, 120); + border-width: 4px 0; + justify-content: flex-start; + padding: 4rem 2rem; + gap: 1rem; + + @media (max-width: 992px) { + justify-content: space-around; + padding: 2rem 1rem; + gap: 0; + } + + a { + align-items: center; + border: 3.3px solid #FFF; + border-radius: 59.396px; + color: #fff; + display: inline-flex; + font-weight: 900; + padding: 0.75rem 1.5rem; + text-decoration: none; + min-width: 9rem; + justify-content: space-between; + + &:hover { + background-color: rgba(0,0,0,0.5); + } + + @media (max-width: 992px) { + font-size: 14px; + margin-top: 12px; + } + + img { + width: 2rem; + padding-left: 0.5rem; + } + } + } + } + } } } From 671352f3cdcd0fbcdf6560f60924ccf780c3ad65 Mon Sep 17 00:00:00 2001 From: elcuervo Date: Tue, 13 May 2025 16:42:15 -0300 Subject: [PATCH 4/6] Editions per year --- _includes/meetups.html | 40 +++++++++++++++++++++++++--------------- _sass/meetups.scss | 8 ++++++++ 2 files changed, 33 insertions(+), 15 deletions(-) diff --git a/_includes/meetups.html b/_includes/meetups.html index d866f85..808e3cc 100644 --- a/_includes/meetups.html +++ b/_includes/meetups.html @@ -4,19 +4,29 @@

EDICIONES PASADAS

Conocé el contenido de las ediciones pasadas.

- + {%- assign meetups_by_year = site.meetups + | group_by_exp: "m", "m.date | date: '%Y'" + | sort: "name" + | reverse + -%} + + {%- for year in meetups_by_year -%} +

{{ year.name }}

+ + + {%- endfor -%} diff --git a/_sass/meetups.scss b/_sass/meetups.scss index 603a60c..349b8f8 100644 --- a/_sass/meetups.scss +++ b/_sass/meetups.scss @@ -34,6 +34,14 @@ } } + .meetup-event__date_year { + align-items: center; + display: flex; + padding: 1.5rem 8rem; + font-weight: bold; + justify-content: space-between; + } + ul { li { align-items: center; From e0a0a7761af60a4979db7f6c7a808bb6d0d5186d Mon Sep 17 00:00:00 2001 From: elcuervo Date: Tue, 13 May 2025 16:48:22 -0300 Subject: [PATCH 5/6] Not so aggressive padding --- _sass/header.scss | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/_sass/header.scss b/_sass/header.scss index 88d2e8c..f0598fa 100644 --- a/_sass/header.scss +++ b/_sass/header.scss @@ -19,7 +19,7 @@ body { color: #fcc24e; font: 700 6rem/1 'Syncopate', sans-serif; margin-left: 52px; - padding: 250px 0; + padding: 150px 0; width: 55%; @media (max-width: 992px) { @@ -27,16 +27,13 @@ body { } @media (max-width: 768px) { - font-size: 2rem; - margin: 0; - padding: 36px 0; - width: 85%; + display: none; } } img { position: absolute; - top: 53%; + top: 36%; left: 57%; width: 550px; z-index: 1; @@ -53,7 +50,9 @@ body { } @media (max-width: 768px) { - display: none; + position: relative; + left: 0; + padding: 15px; } } From 9e6b40d8773b23e69b22903ea5f3dd58a7175f75 Mon Sep 17 00:00:00 2001 From: elcuervo Date: Tue, 13 May 2025 17:20:28 -0300 Subject: [PATCH 6/6] Make the order make sense --- _includes/meetups.html | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/_includes/meetups.html b/_includes/meetups.html index 808e3cc..19e3446 100644 --- a/_includes/meetups.html +++ b/_includes/meetups.html @@ -4,17 +4,18 @@

EDICIONES PASADAS

Conocé el contenido de las ediciones pasadas.

- {%- assign meetups_by_year = site.meetups + {% assign meetups_sorted = site.meetups | sort: "date" | reverse %} + + {% assign meetups_by_year = meetups_sorted | group_by_exp: "m", "m.date | date: '%Y'" | sort: "name" - | reverse - -%} + | reverse %} - {%- for year in meetups_by_year -%} + {% for year in meetups_by_year | reverse %}

{{ year.name }}

    - {%- for meetup in year.items -%} + {% for meetup in year.items %}