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; text-decoration: none;
} }
a:link:has(h1), a:visited:has(h1) {
text-decoration: none;
}
main { main {
padding: 1em; padding: 1em;
} }

View File

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

View File

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