rename page to home

This commit is contained in:
2021-09-10 00:28:53 -04:00
committed by oliviasculley
parent 192c25c9a9
commit 21a7160be4
14 changed files with 104 additions and 43 deletions

View File

@ -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)}

View File

@ -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 %>