Browse Source

Add the folk tale comic

And now that we have more than two sections, mark tag pages as
belonging to the "Index" section.
master
parent
commit
12b89aca50
9 changed files with 32 additions and 1 deletions
  1. +8
    -0
      source/folk-tale/index.html.erb
  2. BIN
      source/folk-tale/page1.png
  3. +9
    -0
      source/folk-tale/page2.html.erb
  4. BIN
      source/folk-tale/page2.png
  5. +8
    -0
      source/folk-tale/page3.html.erb
  6. BIN
      source/folk-tale/page3.png
  7. +2
    -1
      source/layouts/layout.erb
  8. +4
    -0
      source/stylesheets/main.css
  9. +1
    -0
      tag.html.erb

+ 8
- 0
source/folk-tale/index.html.erb View File

@@ -0,0 +1,8 @@
---
title: Folk Tale comic by Esteban Manchado
active_menu_item: folk-tale
---

<img src="page1.png" />

<a href="page2.html"><img src="/img/next.png" class="next-link" alt="Next" /></a>

BIN
source/folk-tale/page1.png View File

Before After
Width: 1448  |  Height: 2048  |  Size: 1.1MB

+ 9
- 0
source/folk-tale/page2.html.erb View File

@@ -0,0 +1,9 @@
---
title: Folk Tale comic by Esteban Manchado
active_menu_item: folk-tale
---

<img src="page2.png" />

<a href="index.html"><img src="/img/prev.png" class="prev-link" alt="Previous" /></a>
<a href="page3.html"><img src="/img/next.png" class="next-link" alt="Next" /></a>

BIN
source/folk-tale/page2.png View File

Before After
Width: 1447  |  Height: 2046  |  Size: 854KB

+ 8
- 0
source/folk-tale/page3.html.erb View File

@@ -0,0 +1,8 @@
---
title: Folk Tale comic by Esteban Manchado
active_menu_item: folk-tale
---

<img src="page3.png" />

<a href="page2.html"><img src="/img/prev.png" class="prev-link" alt="Previous" /></a>

BIN
source/folk-tale/page3.png View File

Before After
Width: 1448  |  Height: 2048  |  Size: 880KB

+ 2
- 1
source/layouts/layout.erb View File

@@ -43,7 +43,8 @@
<nav class="menu">
<div class="menu__wrap">
<a href="/"
class="menu__item<%= current_page.data.active_menu_item != 'about' ? " menu__item--active" : "" %>">Index</a>
class="menu__item<%= current_page.data.active_menu_item == 'index' ? " menu__item--active" : "" %>">Index</a>
<a href="/folk-tale/" class="menu__item<%= current_page.data.active_menu_item == 'folk-tale' ? " menu__item--active" : "" %>">Folk tale comic</a>
<a href="/about" class="menu__item<%= current_page.data.active_menu_item == 'about' ? " menu__item--active" : "" %>">About</a>
</div>
</nav>


+ 4
- 0
source/stylesheets/main.css View File

@@ -725,3 +725,7 @@ ul {
width: 100%;
}
}

.next-link {
float: right;
}

+ 1
- 0
tag.html.erb View File

@@ -1,5 +1,6 @@
---
title: Drawings tagged '%TAG%'
active_menu_item: index
---

<h2>Drawings tagged '%TAG%'</h2>


Loading…
Cancel
Save