rename page to home
This commit is contained in:
@ -1,7 +1,7 @@
|
||||
defmodule CanneryWeb.Live.Component.Topbar do
|
||||
use CanneryWeb, :live_component
|
||||
|
||||
alias CanneryWeb.{PageLive}
|
||||
alias CanneryWeb.{HomeLive}
|
||||
|
||||
def mount(socket) do
|
||||
{:ok, socket |> assign(results: [], title_content: nil)}
|
||||
|
@ -2,7 +2,7 @@
|
||||
<nav role="navigation">
|
||||
<div class="flex flex-row justify-between items-center space-x-4">
|
||||
<div class="flex flex-row justify-start items-center space-x-2">
|
||||
<%= link to: Routes.page_path(CanneryWeb.Endpoint, :index) do %>
|
||||
<%= link to: Routes.home_path(CanneryWeb.Endpoint, :index) do %>
|
||||
<h1 class="leading-5 text-xl text-white hover:underline">Cannery</h1>
|
||||
<% end %>
|
||||
|
||||
|
Reference in New Issue
Block a user