Skip to content

Commit

Permalink
chore: use the blog as the default page
Browse files Browse the repository at this point in the history
  • Loading branch information
kainlite committed Dec 1, 2024
1 parent 444115d commit 618f602
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions lib/tr_web/router.ex
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,8 @@ defmodule TrWeb.Router do
scope "/", TrWeb do
pipe_through :browser

live "/", HomeLive, :index
# live "/", HomeLive, :index
live "/", BlogLive, :index

live "/blog/search", SearchLive, :index

Expand All @@ -118,7 +119,8 @@ defmodule TrWeb.Router do
scope "/:locale", TrWeb, host: ["local.redbeard.team", "redbeard.team"] do
pipe_through :browser

live "/", BeardLive, :index
# live "/", BeardLive, :index
live "/", BlogLive, :index
live "/blog/search", SearchLive, :index

live "/blog/", BlogLive, :index
Expand All @@ -128,7 +130,8 @@ defmodule TrWeb.Router do
scope "/:locale", TrWeb do
pipe_through :browser

live "/", HomeLive, :index
# live "/", HomeLive, :index
live "/", BlogLive, :index

live "/blog/search", SearchLive, :index

Expand Down

0 comments on commit 618f602

Please sign in to comment.