Skip to content

Commit

Permalink
Reorder menu items and highlighting about item ProjectPODER#4
Browse files Browse the repository at this point in the history
  • Loading branch information
Marisol Carrillo committed Oct 2, 2019
1 parent 9e3cd6e commit d4a3863
Show file tree
Hide file tree
Showing 13 changed files with 48 additions and 33 deletions.
4 changes: 2 additions & 2 deletions 2-slider.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
{{ first-slide.content }}
</div>
<div class="col-lg-7 col-md-7 col-sm-12 text-center">
<img src="{{ site.baseurl }}/assets/img/{{first-slide.image}}" alt="" class="img-fluid">
<img data-src="{{ site.baseurl }}/assets/img/{{first-slide.image}}" class="img-fluid">
</div>
{%- else -%}
<div class="col-lg-12 col-md-12 col-sm-12 text-center">
Expand All @@ -29,7 +29,7 @@

<script type="text/javascript">
//Inicializing sliders
$(function() {
$(document).ready(function() {
$('#fullpage-slider').fullpage({
verticalCentered: true,
navigation: true,
Expand Down
2 changes: 1 addition & 1 deletion 3-visualization-slider.html
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
{{ visualization-slide.content }}
</div>
<div class="col-lg-7 col-md-7 col-sm-12 d-block d-lg-none mb-5">
<img src="{{ site.baseurl }}/assets/img/{{visualization-slide.image}}" alt="" class="img-fluid">
<img data-src="{{ site.baseurl }}/assets/img/{{visualization-slide.image}}" alt="" class="img-fluid">
</div>
{%- else -%}
<div class="col-lg-5 col-md-5 col-sm-12 vis-text">
Expand Down
File renamed without changes.
11 changes: 11 additions & 0 deletions 7-documentation.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
layout: page
title: Documentation
permalink: /documentation/
---

# Documentation

Lear more about how to generate websites like Tower Builder with our documentation:

[https://towerbuilder.readthedocs.io/en/latest/index.html](https://towerbuilder.readthedocs.io/en/latest/index.html)
11 changes: 11 additions & 0 deletions 8-github.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
layout: page
title: Github
permalink: /github/
---

# Github

Visit our repository in Github:

[https://github.com/ProjectPODER/TowerBuilder](https://github.com/ProjectPODER/TowerBuilder)
11 changes: 11 additions & 0 deletions 9-español.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
layout: page
title: Español
permalink: /español/
---

# Demo

You can see our demo in spanish:

[http://es.towerbuilder.projectpoder.org/](http://es.towerbuilder.projectpoder.org/)
2 changes: 1 addition & 1 deletion 6-about.md → 9.1-about.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ Contact us to add your project created with TowerBuilder through the following e

## Demos

Spanish: <https://projectpoder.github.io/TowerBuilder_ES/>
Spanish: <http://es.towerbuilder.projectpoder.org/>

English: <https://towerbuilder.projectpoder.org/>

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ Contáctanos para añadir tu proyecto creado con TowerBuilder a través de la si
### Demos
Puedes ver una página de ejemplo en:

Español: <https://projectpoder.github.io/TowerBuilder_ES/>
Español: <http://es.towerbuilder.projectpoder.org/>

Inglés: <https://towerbuilder.projectpoder.org/>

Expand Down
27 changes: 2 additions & 25 deletions _includes/header.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,22 +17,11 @@
{%- for path in page_paths -%}
{%- assign my_page = site.pages | where: "path", path | first -%}
{%- if my_page.title -%}
<li class="nav-item {% if my_page.url == page.url %}active{% endif %}">
<li class="nav-item {% if my_page.url == page.url %}active{% endif %} {% if my_page.title == "About" %}line{% endif %}">
<a class="nav-link" href="{{ my_page.url | relative_url }}">{{ my_page.title | escape }}</a>
</li>
{%- endif -%}
{%- endfor -%}
<!-- Extra links -->
<li class="nav-item">
<a class="nav-link" href="https://towerbuilder.readthedocs.io/en/latest/index.html" target="_blank">Documentation</a>
</li>
<li class="nav-item">
<a class="nav-link" href="https://github.com/ProjectPODER/TowerBuilder" target="_blank">Github</a>
</li>
<li class="nav-item">
<a class="nav-link" href="https://projectpoder.github.io/TowerBuilder_ES/">Español</a>
</li>
<!-- Ends extra links -->
</ul>
{%- endif -%}
</div>
Expand All @@ -55,24 +44,12 @@
{%- for path in page_paths -%}
{%- assign my_page = site.pages | where: "path", path | first -%}
{%- if my_page.title -%}
<li class="nav-item {% if my_page.url == page.url %}active{% endif %}">
<li class="nav-item {% if my_page.url == page.url %}active{% endif %} {% if my_page.title == "About" %}line{% endif %}">
<a class="nav-link" href="{{ my_page.url | relative_url }}">{{ my_page.title | escape }}</a>
</li>
{%- endif -%}
{%- endfor -%}

<!-- Extra links -->
<li class="nav-item">
<a class="nav-link" href="https://towerbuilder.readthedocs.io/en/latest/index.html" target="_blank">Documentation</a>
</li>
<li class="nav-item">
<a class="nav-link" href="https://github.com/ProjectPODER/TowerBuilder" target="_blank">Github</a>
</li>
<li class="nav-item">
<a class="nav-link" href="https://projectpoder.github.io/TowerBuilder_ES/">Español</a>
</li>
<!-- Ends extra links -->

<li class="nav-item dropdown d-none">
<a class="nav-link dropdown-toggle" href="#" id="navbarDropdownMenu" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
Más información
Expand Down
5 changes: 5 additions & 0 deletions _sass/_navbar.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,8 @@
width: 80px;
padding: 5px 20px 5px 0;
}

.line{
border-bottom: 2px solid;
border-color: $primary;
}
2 changes: 1 addition & 1 deletion docs/Intro/Seccion1.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ Contáctanos para añadir tu proyecto creado con TowerBuilder a través de la si
## Demos
Puedes ver una página de ejemplo en:

Español: <https://projectpoder.github.io/TowerBuilder_ES/>
Español: <http://es.towerbuilder.projectpoder.org/>

Inglés: <https://towerbuilder.projectpoder.org/>

Expand Down
2 changes: 1 addition & 1 deletion docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ Demos

Puedes ver una página de ejemplo en:

Español: <https://projectpoder.github.io/TowerBuilder_ES/>
Español: <http://es.towerbuilder.projectpoder.org/>

Inglés: <https://towerbuilder.projectpoder.org/>

Expand Down
2 changes: 1 addition & 1 deletion docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ Demos

Puedes ver una página de ejemplo en:

Español: https://projectpoder.github.io/TowerBuilder_ES/
Español: http://es.towerbuilder.projectpoder.org/

Inglés: https://towerbuilder.projectpoder.org/

Expand Down

0 comments on commit d4a3863

Please sign in to comment.