Skip to content

Commit

Permalink
fix issues
Browse files Browse the repository at this point in the history
  • Loading branch information
lissteilor committed Sep 6, 2021
1 parent 1e222a8 commit 8028aea
Show file tree
Hide file tree
Showing 26 changed files with 77 additions and 24 deletions.
Binary file modified .sass-cache/1c9ac02e8359addf9bb28b7beb5e9c9a556b96ed/_base.scssc
Binary file not shown.
12 changes: 11 additions & 1 deletion _includes/hero-page.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@

<div id="hero-page" class="uk-height-viewport uk-flex uk-flex-center uk-inline uk-flex-middle uk-background-cover animate__animated animate__fadeIn animate__delay-2s fast" data-src="{{site.baseurl_root}}/assets/images/hero/{{include.hero_desktop}}" uk-parallax="bgy: -100;" uk-img>
<div id="hero-page" class="uk-visible@m uk-height-viewport uk-flex uk-flex-center uk-inline uk-flex-middle uk-background-cover animate__animated animate__fadeIn animate__delay-2s fast" data-src="{{site.baseurl_root}}/assets/images/hero/{{include.hero_desktop}}" uk-parallax="bgy: -100;" uk-img>
<div class="uk-container uk-text-center uk-width-2-3@m">
<div class="">
<h1 class="font-white"> {{ include.title }} </h1>
<p class="welcome-page-subtitle font-white"><span> {{ include.subtitle }} </span></p>
</div>
</div>
</div>


<div id="hero-page" class="uk-hidden@m uk-height-viewport uk-flex uk-flex-center uk-inline uk-flex-middle uk-background-cover animate__animated animate__fadeIn animate__delay-2s fast" data-src="{{site.baseurl_root}}/assets/images/hero/{{include.hero_mobile}}" uk-parallax="bgy: -100;" uk-img>
<div class="uk-container uk-text-center uk-width-2-3@m">
<div class="">
<h1 class="font-white"> {{ include.title }} </h1>
Expand Down
8 changes: 4 additions & 4 deletions _includes/home/news_home.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,19 +10,19 @@ <h2 class="font-black">{% t home.news.title %}</h2>
</div>
<div class="uk-flex uk-flex-center" uk-grid>
<div class="uk-width-5-6@m">
<div class="uk-flex uk-flex-center" uk-grid>
<div class="uk-flex uk-flex-center" style="margin-bottom: 50px" uk-grid>
{% assign active_news-l = site.noticias | where: "active-l", true %}
{% for n in active_news-l limit: 1 %}
<div class="uk-width-2-3@m" style="max-width: max-content">
<div class="uk-width-2-3@m">
<div class="uk-inline-clip uk-transition-toggle uk-light" tabindex="0">
<a href="{{n.url}}">
<img data-src="{{n.image_thumbnail}}" class="uk-transition-scale-up uk-transition-opaque" alt="" uk-img>
<img data-src="{{n.image_thumbnail}}" class="uk-transition-scale-up uk-transition-opaque" alt="" style="width: 640px;" uk-img>
</a>
</div>
</div>
<div class="uk-width-1-3@m">
{% if site.lang == "es" %}
<p class="font-label-grey featured news">{{ n.date | date_to_string }} · <span class="font-label-black-soft">{{n.category_es}}</span></p>
<p class="font-label-grey featured-news">{{ n.date | date_to_string }} · <span class="font-label-black-soft">{{n.category_es}}</span></p>
<div class="dash {{ n.color}}">
<svg width="30" height="6" viewBox="0 0 30 6" fill="none" xmlns="http://www.w3.org/2000/svg">
<rect width="30" height="6" fill="none"/>
Expand Down
2 changes: 1 addition & 1 deletion _includes/home/publications_home.html
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ <h3 class="font-white">{{p.title_es}}</h3>
{% endif %}
{% endif %}
<a href="{{p.url}}" class="uk-button uk-button-small button-line-white" style="margin-bottom: 10px">{% t home.publications.read %} <i class="uil uil-arrow-right"></i></a>
<a href="{{p.pdf_publication}}" target="_blank" class="uk-button uk-button-small button-line-white">{% t home.publications.download %} <i class="uil uil-arrow-to-bottom"></i></a>
<a href="{{p.pdf_publication}}" target="_blank" class="uk-button uk-button-small button-line-white" style="margin-bottom: 10px">{% t home.publications.download %} <i class="uil uil-arrow-to-bottom"></i></a>
</div>
</div>
</div>
Expand Down
20 changes: 19 additions & 1 deletion _layouts/home.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,25 @@
---
<!--Hero Desktop-->
<div id="hero">
<div class="uk-height-viewport uk-flex uk-flex-center uk-inline uk-flex-middle uk-background-cover animate__animated animate__fadeIn animate__delay-2s fast" data-src="assets/images/hero/hero-home-desktop.jpg" uk-parallax="bgy: -100;" uk-img style="background-size:cover !important>">
<div class="uk-visible@m uk-height-viewport uk-flex uk-flex-center uk-inline uk-flex-middle uk-background-cover animate__animated animate__fadeIn animate__delay-2s fast" data-src="assets/images/hero/hero-home-desktop.jpg" uk-parallax="bgy: -100;" uk-img style="background-size:cover !important>">
<div class="uk-container uk-text-center uk-width-2-3@m">
<div>
<h1 class="welcome-home-title animate__animated animate__fadeInUp animate__delay-2s animate__fast"><span>{% t home.hero.title %}</span></h1>
<p class="welcome-home-subtitle animate__animated animate__fadeInUp animate__delay-2s animate__fast">{% t home.hero.subtitle %}</p>
<a class="icon-hero" href="#initiatives" uk-scroll>
<svg class="animate__animated animate__fadeInUp animate__delay-2s animate__fast" width="17" height="18" viewBox="0 0 17 18" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M8.25 1L8.25 17" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M15.25 10L8.25 17L1.25 10" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
</svg>
</a>
</div>
</div>
</div>
</div>

<!--Hero Desktop-->
<div id="hero">
<div class="uk-hidden@m uk-height-viewport uk-flex uk-flex-center uk-inline uk-flex-middle uk-background-cover animate__animated animate__fadeIn animate__delay-2s fast" data-src="assets/images/hero/hero-home-mobile.jpg" uk-parallax="bgy: -100;" uk-img style="background-size:cover !important>">
<div class="uk-container uk-text-center uk-width-2-3@m">
<div>
<h1 class="welcome-home-title animate__animated animate__fadeInUp animate__delay-2s animate__fast"><span>{% t home.hero.title %}</span></h1>
Expand Down
4 changes: 4 additions & 0 deletions _sass/project/_base.scss
Original file line number Diff line number Diff line change
Expand Up @@ -293,6 +293,10 @@ strong{
color: $grey;
}

em {
color: $purple;
}

.font-white{
color: white !important;
}
Expand Down
Binary file removed _site/assets/images/hero/hero-desktop.jpg
Binary file not shown.
3 changes: 3 additions & 0 deletions _site/assets/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -246,6 +246,9 @@ strong {
font-size: 0.65rem;
color: #8A969C; }

em {
color: #6738EB; }

.font-white {
color: white !important; }

Expand Down
2 changes: 1 addition & 1 deletion _site/feed.xml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom" xml:lang="es"><generator uri="https://jekyllrb.com/" version="3.8.5">Jekyll</generator><link href="http://localhost:4000/feed.xml" rel="self" type="application/atom+xml" /><link href="http://localhost:4000/" rel="alternate" type="text/html" hreflang="es" /><updated>2021-09-03T12:16:59-04:00</updated><id>http://localhost:4000/feed.xml</id><title type="html">Distrito Global</title><subtitle>Impulsamos los derechos económicos, sociales, culturales y ambientales en el proceso constituyente chileno</subtitle></feed>
<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom" xml:lang="es"><generator uri="https://jekyllrb.com/" version="3.8.5">Jekyll</generator><link href="http://localhost:4000/feed.xml" rel="self" type="application/atom+xml" /><link href="http://localhost:4000/" rel="alternate" type="text/html" hreflang="es" /><updated>2021-09-06T10:48:11-03:00</updated><id>http://localhost:4000/feed.xml</id><title type="html">Distrito Global</title><subtitle>Impulsamos los derechos económicos, sociales, culturales y ambientales en el proceso constituyente chileno</subtitle></feed>
36 changes: 27 additions & 9 deletions _site/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,25 @@
</header>
<!--Hero Desktop-->
<div id="hero">
<div class="uk-height-viewport uk-flex uk-flex-center uk-inline uk-flex-middle uk-background-cover animate__animated animate__fadeIn animate__delay-2s fast" data-src="assets/images/hero/hero-home-desktop.jpg" uk-parallax="bgy: -100;" uk-img style="background-size:cover !important>">
<div class="uk-visible@m uk-height-viewport uk-flex uk-flex-center uk-inline uk-flex-middle uk-background-cover animate__animated animate__fadeIn animate__delay-2s fast" data-src="assets/images/hero/hero-home-desktop.jpg" uk-parallax="bgy: -100;" uk-img style="background-size:cover !important>">
<div class="uk-container uk-text-center uk-width-2-3@m">
<div>
<h1 class="welcome-home-title animate__animated animate__fadeInUp animate__delay-2s animate__fast"><span>Impulsamos los derechos económicos, sociales, culturales y ambientales en el proceso constituyente chileno</span></h1>
<p class="welcome-home-subtitle animate__animated animate__fadeInUp animate__delay-2s animate__fast">Distrito Global es un programa de GI-ESCR que documenta, monitorea e incide en el avance de los derechos económicos y sociales en el contexto chileno para escalar sus lecciones a nivel global</p>
<a class="icon-hero" href="#initiatives" uk-scroll>
<svg class="animate__animated animate__fadeInUp animate__delay-2s animate__fast" width="17" height="18" viewBox="0 0 17 18" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M8.25 1L8.25 17" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M15.25 10L8.25 17L1.25 10" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
</svg>
</a>
</div>
</div>
</div>
</div>

<!--Hero Desktop-->
<div id="hero">
<div class="uk-hidden@m uk-height-viewport uk-flex uk-flex-center uk-inline uk-flex-middle uk-background-cover animate__animated animate__fadeIn animate__delay-2s fast" data-src="assets/images/hero/hero-home-mobile.jpg" uk-parallax="bgy: -100;" uk-img style="background-size:cover !important>">
<div class="uk-container uk-text-center uk-width-2-3@m">
<div>
<h1 class="welcome-home-title animate__animated animate__fadeInUp animate__delay-2s animate__fast"><span>Impulsamos los derechos económicos, sociales, culturales y ambientales en el proceso constituyente chileno</span></h1>
Expand Down Expand Up @@ -369,7 +387,7 @@ <h3 class="font-white">Constituyamos Otra Educación... Una Mejor Sociedad es Po
<p class="font-white" style="margin-bottom:30px;">10 nudos constitucionales en educación y experiencias internacionales destacadas para inspirar el debate nacional</p>

<a href="/publicaciones/constituyamos-otra-educacion-una-mejor-sociedad-es-posible.html" class="uk-button uk-button-small button-line-white" style="margin-bottom: 10px">Leer publicación <i class="uil uil-arrow-right"></i></a>
<a href="https://www.summaedu.org/wp-content/uploads/2020/10/CONSTITUYENTE-DOC_FINAL_PAG.pdf" target="_blank" class="uk-button uk-button-small button-line-white">Descargar <i class="uil uil-arrow-to-bottom"></i></a>
<a href="https://www.summaedu.org/wp-content/uploads/2020/10/CONSTITUYENTE-DOC_FINAL_PAG.pdf" target="_blank" class="uk-button uk-button-small button-line-white" style="margin-bottom: 10px">Descargar <i class="uil uil-arrow-to-bottom"></i></a>
</div>
</div>
</div>
Expand All @@ -378,7 +396,7 @@ <h3 class="font-white">Constituyamos Otra Educación... Una Mejor Sociedad es Po
<li>
<div class="uk-card uk-card-default uk-grid-collapse uk-child-width-1-2@s uk-margin" uk-grid>
<div class="uk-card-media-left uk-cover-container">
<img src="/assets/uploads/slider-techo-1-.jpg" alt="" uk-cover>
<img src="/assets/uploads/slider-techo.jpg" alt="" uk-cover>
<canvas width="600" height="400"></canvas>
</div>
<div>
Expand All @@ -394,7 +412,7 @@ <h3 class="font-white">Habitar en dignidad</h3>
<p class="font-white" style="margin-bottom:30px;">Hacia el derecho a la vivienda en la Nueva Constitución</p>

<a href="/publicaciones/habitar-en-dignidad.html" class="uk-button uk-button-small button-line-white" style="margin-bottom: 10px">Leer publicación <i class="uil uil-arrow-right"></i></a>
<a href="https://ceschile.org/wp-content/uploads/2020/11/Habitar-en-dignidad.pdf" target="_blank" class="uk-button uk-button-small button-line-white">Descargar <i class="uil uil-arrow-to-bottom"></i></a>
<a href="https://ceschile.org/wp-content/uploads/2020/11/Habitar-en-dignidad.pdf" target="_blank" class="uk-button uk-button-small button-line-white" style="margin-bottom: 10px">Descargar <i class="uil uil-arrow-to-bottom"></i></a>
</div>
</div>
</div>
Expand All @@ -419,7 +437,7 @@ <h3 class="font-white">Por un reglamento feminista</h3>
<p class="font-white" style="margin-bottom:30px;">Articulación Territorial Feminista Elena Caffarena</p>

<a href="/publicaciones/por-un-reglamento-feminista.html" class="uk-button uk-button-small button-line-white" style="margin-bottom: 10px">Leer publicación <i class="uil uil-arrow-right"></i></a>
<a href="https://nadasinnosotras.cl/wp-content/uploads/2019/08/Reglamento-Feminista.3.0.pdf" target="_blank" class="uk-button uk-button-small button-line-white">Descargar <i class="uil uil-arrow-to-bottom"></i></a>
<a href="https://nadasinnosotras.cl/wp-content/uploads/2019/08/Reglamento-Feminista.3.0.pdf" target="_blank" class="uk-button uk-button-small button-line-white" style="margin-bottom: 10px">Descargar <i class="uil uil-arrow-to-bottom"></i></a>
</div>
</div>
</div>
Expand Down Expand Up @@ -460,19 +478,19 @@ <h2 class="font-black">Noticias</h2>
</div>
<div class="uk-flex uk-flex-center" uk-grid>
<div class="uk-width-5-6@m">
<div class="uk-flex uk-flex-center" uk-grid>
<div class="uk-flex uk-flex-center" style="margin-bottom: 50px" uk-grid>


<div class="uk-width-2-3@m" style="max-width: max-content">
<div class="uk-width-2-3@m">
<div class="uk-inline-clip uk-transition-toggle uk-light" tabindex="0">
<a href="/noticias/2021-09-02-la-constituci%C3%B3n-es-nuestra-plataforma-articula-a-organizaciones-sociales-chilenas-para-incidir-en-la-nueva-constituci%C3%B3n.html">
<img data-src="/assets/uploads/thumb-10.jpg" class="uk-transition-scale-up uk-transition-opaque" alt="" uk-img>
<img data-src="/assets/uploads/thumb-10.jpg" class="uk-transition-scale-up uk-transition-opaque" alt="" style="width: 640px;" uk-img>
</a>
</div>
</div>
<div class="uk-width-1-3@m">

<p class="font-label-grey featured news">09 Jul 2021 · <span class="font-label-black-soft">Noticias</span></p>
<p class="font-label-grey featured-news">09 Jul 2021 · <span class="font-label-black-soft">Noticias</span></p>
<div class="dash dash-pink">
<svg width="30" height="6" viewBox="0 0 30 6" fill="none" xmlns="http://www.w3.org/2000/svg">
<rect width="30" height="6" fill="none"/>
Expand Down
2 changes: 1 addition & 1 deletion about.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
layout: page
permalink: /somos/
hero_desktop: hero-somos.jpg
hero_mobile: hero-mobile.jpg
hero_mobile: hero-somos-mobile.jpg
title_en: We are
title_es: Somos
title_tab_en: We are
Expand Down
2 changes: 1 addition & 1 deletion alliances.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
layout: page
permalink: /alianzas/
hero_desktop: hero-alianzas.jpg
hero_mobile: hero-mobile.jpg
hero_mobile: hero-alianzas-mobile.jpg
title_en: Alliances
title_es: Nuestras alianzas
title_tab_en: Alliances
Expand Down
Binary file added assets/images/hero/hero-alianzas-mobile.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed assets/images/hero/hero-desktop.jpg
Binary file not shown.
Binary file added assets/images/hero/hero-escribenos-mobile.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/hero/hero-home-mobile.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/hero/hero-iniciativas-mobile.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/hero/hero-noticias-mobile.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/hero/hero-publicaciones-mobile.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/hero/hero-somos-mobile.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/hero/hero-unete-mobile.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion contact.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
layout: page
permalink: /contacto/
hero_desktop: hero-escribenos.jpg
hero_mobile: hero-mobile.jpg
hero_mobile: hero-escribenos-mobile.jpg
title_en: Write us
title_es: Escríbenos
title_tab_en: Write us
Expand Down
2 changes: 1 addition & 1 deletion initiatives.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
layout: page
permalink: /iniciativas/
hero_desktop: hero-iniciativas.jpg
hero_mobile: hero-mobile.jpg
hero_mobile: hero-iniciativas-mobile.jpg
title_en: Initiatives
title_es: Conoce nuestras iniciativas
title_tab_en: Initiatives
Expand Down
2 changes: 1 addition & 1 deletion join.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
layout: page
permalink: /unete/
hero_desktop: hero-unete.jpg
hero_mobile: hero-mobile.jpg
hero_mobile: hero-unete-mobile.jpg
title_en: Join the team
title_es: Únete al equipo
title_tab_en: Join the team
Expand Down
2 changes: 1 addition & 1 deletion news.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
layout: page
permalink: /noticias/
hero_desktop: hero-noticias.jpg
hero_mobile: hero-mobile.jpg
hero_mobile: hero-noticias-mobile.jpg
title_en: News
title_es: Noticias
title_tab_en: News
Expand Down
2 changes: 1 addition & 1 deletion publications.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
layout: page
permalink: /publicaciones/
hero_desktop: hero-publicaciones.jpg
hero_mobile: hero-mobile.jpg
hero_mobile: hero-publicaciones-mobile.jpg
title_en: Publications
title_es: Nuestras publicaciones
title_tab_en: Publications
Expand Down

0 comments on commit 8028aea

Please sign in to comment.