Make title a link

This commit is contained in:
Trevor Vallender 2023-08-18 19:36:24 +01:00
parent c4715b172d
commit 9d17c1d838
3 changed files with 8 additions and 3 deletions

View File

@ -70,6 +70,10 @@ a:hover {
text-decoration: none;
}
a:link:has(h1), a:visited:has(h1) {
text-decoration: none;
}
main {
padding: 1em;
}

View File

@ -33,8 +33,7 @@ class UsersController < ApplicationController
end
end
def show
end
def show; end
private

View File

@ -12,7 +12,9 @@
<body>
<header>
<%= link_to root_path do %>
<h1>Summon Player</h1>
<% end %>
<nav>
<ul>
<li><%= link_to t("home"), root_path %></li>