From 7bf98f3a0524057ced31b25500fff8f8c385da43 Mon Sep 17 00:00:00 2001 From: Daniel Savory Date: Sat, 11 Jan 2025 13:40:43 +1100 Subject: [PATCH] add book route --- lib/wild_web/components/layouts/app.html.heex | 28 +------- .../components/layouts/root.html.heex | 71 +++++++------------ lib/wild_web/live/books.ex | 3 + lib/wild_web/live/books.html.heex | 1 + lib/wild_web/router.ex | 2 + 5 files changed, 34 insertions(+), 71 deletions(-) create mode 100644 lib/wild_web/live/books.ex create mode 100644 lib/wild_web/live/books.html.heex diff --git a/lib/wild_web/components/layouts/app.html.heex b/lib/wild_web/components/layouts/app.html.heex index 3b3b607..5fbc721 100644 --- a/lib/wild_web/components/layouts/app.html.heex +++ b/lib/wild_web/components/layouts/app.html.heex @@ -1,31 +1,5 @@ -
-
-
- - - -

- v{Application.spec(:phoenix, :vsn)} -

-
- -
-
-
+
<.flash_group flash={@flash} /> {@inner_content}
diff --git a/lib/wild_web/components/layouts/root.html.heex b/lib/wild_web/components/layouts/root.html.heex index 1592342..84a3e27 100644 --- a/lib/wild_web/components/layouts/root.html.heex +++ b/lib/wild_web/components/layouts/root.html.heex @@ -4,55 +4,38 @@ - <.live_title default="Call of the Wild" suffix=""> + <.live_title default="BookSocial" suffix=""> {assigns[:page_title]} - +