diff options
author | Matthew Lemon <y@yulqen.org> | 2024-11-14 08:50:25 +0000 |
---|---|---|
committer | Matthew Lemon <y@yulqen.org> | 2024-11-14 08:50:25 +0000 |
commit | e2c2aaedece3a971e45072b11ca5e514b12715f6 (patch) | |
tree | 83f7e0d09235500f852f24011d54a689544ef6ef | |
parent | 5a1862223c89d1b2570b99c6e95b997bf4b42c3c (diff) |
Adds Resources link to navbar
-rw-r--r-- | app/views/layouts/_navbar.html.erb | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/app/views/layouts/_navbar.html.erb b/app/views/layouts/_navbar.html.erb index 0bc947a..0609d63 100644 --- a/app/views/layouts/_navbar.html.erb +++ b/app/views/layouts/_navbar.html.erb @@ -6,12 +6,15 @@ <div class="w-full md:block md:w-auto" id="navbar-default"> <ul class="font-medium flex flex-col p-4 md:p-0 mt-4 border rounded-lg md:flex-row md:space-x-8 rtl:space-x-reverse md:mt-0 md:border-0 md:bg-white"> <li> - <a href="#" class="block py-2 px-3 text-black aria-current="page">Home</a> + <a href="#" class="block py-2 px-3 text-black aria-current='page'">Home</a> + </li> + <li> + <%= link_to "Resources", pdfresources_path, class: "block py-2 px-3 rounded" %> </li> <li> <a href="#" class="block py-2 px-3 rounded">About</a> </li> - <li + <li> <a href="#" class="block py-2 px-3 rounded">Services</a> </li> <li> |