aboutsummaryrefslogtreecommitdiffstats
path: root/app/views/layouts
diff options
context:
space:
mode:
authorMatthew Lemon <y@yulqen.org>2024-11-23 16:53:39 +0000
committerMatthew Lemon <y@yulqen.org>2024-11-23 16:53:39 +0000
commit462ba9835e36ca3b42ceb59f33c03a98a22c19af (patch)
tree7ba54e5e35e4a410d1152a1204d464294518a293 /app/views/layouts
parent8ea33a576682005ffaf406541bf21b1be27e19f9 (diff)
Adds a new home page and more_info page
Diffstat (limited to 'app/views/layouts')
-rw-r--r--app/views/layouts/_navbar.html.erb3
-rw-r--r--app/views/layouts/application.html.erb2
2 files changed, 2 insertions, 3 deletions
diff --git a/app/views/layouts/_navbar.html.erb b/app/views/layouts/_navbar.html.erb
index 0609d63..af7a0e4 100644
--- a/app/views/layouts/_navbar.html.erb
+++ b/app/views/layouts/_navbar.html.erb
@@ -6,7 +6,7 @@
<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>
+ <%= link_to "Home", home_path, class: "block py-2 px-3 rounded" %>
</li>
<li>
<%= link_to "Resources", pdfresources_path, class: "block py-2 px-3 rounded" %>
@@ -30,4 +30,3 @@
</div>
</div>
</nav>
-
diff --git a/app/views/layouts/application.html.erb b/app/views/layouts/application.html.erb
index 64bcdd8..33d963e 100644
--- a/app/views/layouts/application.html.erb
+++ b/app/views/layouts/application.html.erb
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
- <title><%= content_for(:title) || "Alphabetlearning" %></title>
+ <title><%= content_for(:title) || "Alphabet Learning" %></title>
<meta name="viewport" content="width=device-width,initial-scale=1">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="mobile-web-app-capable" content="yes">