From 3886a5325d029e552501cff32a22769ef1888a06 Mon Sep 17 00:00:00 2001 From: David Gay Date: Sun, 25 Apr 2021 12:44:03 -0400 Subject: Layout and styles --- app/views/application/_chat.html.erb | 8 ++++++++ app/views/application/_game_info.html.erb | 3 +++ app/views/application/_header.html.erb | 25 +++++++++++++++++++++++++ app/views/application/_navbar.html.erb | 16 ++++++++++++++++ 4 files changed, 52 insertions(+) create mode 100644 app/views/application/_chat.html.erb create mode 100644 app/views/application/_game_info.html.erb create mode 100644 app/views/application/_header.html.erb create mode 100644 app/views/application/_navbar.html.erb (limited to 'app/views/application') diff --git a/app/views/application/_chat.html.erb b/app/views/application/_chat.html.erb new file mode 100644 index 0000000..868986b --- /dev/null +++ b/app/views/application/_chat.html.erb @@ -0,0 +1,8 @@ +
+
+ Chat output will go here. +
+
+ Chat input will go here. +
+
diff --git a/app/views/application/_game_info.html.erb b/app/views/application/_game_info.html.erb new file mode 100644 index 0000000..fdbdd1b --- /dev/null +++ b/app/views/application/_game_info.html.erb @@ -0,0 +1,3 @@ +
+ Game info will go here. +
diff --git a/app/views/application/_header.html.erb b/app/views/application/_header.html.erb new file mode 100644 index 0000000..b2b2cf8 --- /dev/null +++ b/app/views/application/_header.html.erb @@ -0,0 +1,25 @@ +
+
+ <%= link_to "Esoterra", home_index_path, class: "no-underline" %> +
+
+
+
+
    + <% if user_signed_in? %> +
  • + <%= link_to "Logout", logout_path %> +
  • + <% else %> +
  • + <%= link_to "Login", login_path %> +
  • + <% end %> + <% if user_signed_in? %> +
  • + <%= link_to "Characters", "#" %> +
  • + <% end %> +
+
+
diff --git a/app/views/application/_navbar.html.erb b/app/views/application/_navbar.html.erb new file mode 100644 index 0000000..5d3a2cb --- /dev/null +++ b/app/views/application/_navbar.html.erb @@ -0,0 +1,16 @@ + -- cgit v1.2.3