summaryrefslogtreecommitdiff
path: root/app/views
diff options
context:
space:
mode:
Diffstat (limited to 'app/views')
-rw-r--r--app/views/application/_navbar.html.erb3
-rw-r--r--app/views/characters/hearth/index.html.erb6
2 files changed, 9 insertions, 0 deletions
diff --git a/app/views/application/_navbar.html.erb b/app/views/application/_navbar.html.erb
index 104c349..ef81d6c 100644
--- a/app/views/application/_navbar.html.erb
+++ b/app/views/application/_navbar.html.erb
@@ -9,5 +9,8 @@
<li class="mr-6 inline">
<%= link_to "Inventory", character_items_path(current_char) %>
</li>
+ <li class="mr-6 inline">
+ <%= link_to "Hearth", character_hearth_path(current_char) %>
+ </li>
<% end %>
</ul>
diff --git a/app/views/characters/hearth/index.html.erb b/app/views/characters/hearth/index.html.erb
new file mode 100644
index 0000000..ec055d1
--- /dev/null
+++ b/app/views/characters/hearth/index.html.erb
@@ -0,0 +1,6 @@
+<h1 class="text-3xl">Hearth</h1>
+
+<% if current_char.hearth %>
+<% else %>
+ <p>You haven't built your hearth yet. First, you'll need to start with a foundation.</p>
+<% end %>