From 9442d56c5b4a9dc8b5111bb84ee0d24bcfc571af Mon Sep 17 00:00:00 2001 From: Matthew Lemon Date: Tue, 12 Nov 2024 21:15:19 +0000 Subject: Adds basic navbar --- app/views/layouts/_navbar.html.erb | 27 +++++++++++++++++++++++++++ app/views/layouts/application.html.erb | 5 +++-- 2 files changed, 30 insertions(+), 2 deletions(-) create mode 100644 app/views/layouts/_navbar.html.erb (limited to 'app') diff --git a/app/views/layouts/_navbar.html.erb b/app/views/layouts/_navbar.html.erb new file mode 100644 index 0000000..7a50848 --- /dev/null +++ b/app/views/layouts/_navbar.html.erb @@ -0,0 +1,27 @@ + + diff --git a/app/views/layouts/application.html.erb b/app/views/layouts/application.html.erb index cb9863e..64bcdd8 100644 --- a/app/views/layouts/application.html.erb +++ b/app/views/layouts/application.html.erb @@ -24,8 +24,9 @@ -
- <%= yield %> +
+ <%= render "layouts/navbar" %> + <%= yield %>
-- cgit v1.2.3