From 4a6c06eb681575dbf1ee58d3b1f667e79051b1e2 Mon Sep 17 00:00:00 2001 From: David Gay Date: Tue, 18 May 2021 18:16:04 -0400 Subject: Hearths, HearthAmenities, and BuiltHearthAmenities --- app/views/application/_navbar.html.erb | 3 +++ app/views/characters/hearth/index.html.erb | 6 ++++++ 2 files changed, 9 insertions(+) create mode 100644 app/views/characters/hearth/index.html.erb (limited to 'app/views') 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 @@
  • <%= link_to "Inventory", character_items_path(current_char) %>
  • +
  • + <%= link_to "Hearth", character_hearth_path(current_char) %> +
  • <% end %> 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 @@ +

    Hearth

    + +<% if current_char.hearth %> +<% else %> +

    You haven't built your hearth yet. First, you'll need to start with a foundation.

    +<% end %> -- cgit v1.2.3