-
+
-
-
+
+
<%= render_slot(col, @row_item.(row)) %>
|
-
+
<%= render_slot(action, @row_item.(row)) %>
@@ -600,10 +600,10 @@ defmodule ChiyaWeb.CoreComponents do
def list(assigns) do
~H"""
-
+
- - <%= item.title %>
- - <%= render_slot(item) %>
+ - <%= item.title %>
+ - <%= render_slot(item) %>
@@ -625,7 +625,7 @@ defmodule ChiyaWeb.CoreComponents do
<.link
navigate={@navigate}
- class="text-sm font-semibold leading-6 text-zinc-900 hover:text-zinc-700"
+ class="text-sm font-semibold leading-6 text-gray-900 hover:text-gray-700"
>
<.icon name="hero-arrow-left-solid" class="w-3 h-3" />
<%= render_slot(@inner_block) %>
diff --git a/lib/chiya_web/components/layouts/app.html.heex b/lib/chiya_web/components/layouts/app.html.heex
index 28ca73c..44bcf70 100644
--- a/lib/chiya_web/components/layouts/app.html.heex
+++ b/lib/chiya_web/components/layouts/app.html.heex
@@ -1,5 +1,5 @@
-
+
Chiya
@@ -9,25 +9,25 @@
<.link
href={~p"/admin/notes"}
- class="text-xs font-semibold leading-6 text-zinc-900 hover:text-zinc-700"
+ class="text-xs font-semibold leading-6 text-gray-900 hover:text-gray-700"
>
Notes
<.link
href={~p"/admin/channels"}
- class="text-xs font-semibold leading-6 text-zinc-900 hover:text-zinc-700"
+ class="text-xs font-semibold leading-6 text-gray-900 hover:text-gray-700"
>
Channels
<.link
href={~p"/admin/identities"}
- class="text-xs font-semibold leading-6 text-zinc-900 hover:text-zinc-700"
+ class="text-xs font-semibold leading-6 text-gray-900 hover:text-gray-700"
>
Identities
<.link
href={~p"/admin/settings"}
- class="text-xs font-semibold leading-6 text-zinc-900 hover:text-zinc-700"
+ class="text-xs font-semibold leading-6 text-gray-900 hover:text-gray-700"
>
Settings
diff --git a/lib/chiya_web/components/layouts/public.html.heex b/lib/chiya_web/components/layouts/public.html.heex
index ef86d76..f2daefe 100644
--- a/lib/chiya_web/components/layouts/public.html.heex
+++ b/lib/chiya_web/components/layouts/public.html.heex
@@ -1,5 +1,5 @@
-
+
Chiya
diff --git a/lib/chiya_web/components/layouts/root.html.heex b/lib/chiya_web/components/layouts/root.html.heex
index d0223a2..817a0a3 100644
--- a/lib/chiya_web/components/layouts/root.html.heex
+++ b/lib/chiya_web/components/layouts/root.html.heex
@@ -14,13 +14,13 @@
<%= if @current_user do %>
- -
+
-
<%= @current_user.email %>
-
<.link
href={~p"/user"}
- class="text-xs leading-6 text-zinc-100 font-semibold hover:text-zinc-300"
+ class="text-xs leading-6 text-gray-100 font-semibold hover:text-gray-300"
>
Profile
@@ -28,7 +28,7 @@
-
<.link
href={~p"/admin"}
- class="text-xs leading-6 text-zinc-100 font-semibold hover:text-zinc-300"
+ class="text-xs leading-6 text-gray-100 font-semibold hover:text-gray-300"
>
Admin
@@ -37,7 +37,7 @@
<.link
href={~p"/user/log_out"}
method="delete"
- class="text-xs leading-6 text-zinc-100 font-semibold hover:text-zinc-300"
+ class="text-xs leading-6 text-gray-100 font-semibold hover:text-gray-300"
>
Log out
@@ -46,7 +46,7 @@
-
<.link
href={~p"/user/register"}
- class="text-xs leading-6 text-zinc-100 font-semibold hover:text-zinc-300"
+ class="text-xs leading-6 text-gray-100 font-semibold hover:text-gray-300"
>
Register
@@ -54,7 +54,7 @@
-
<.link
href={~p"/user/log_in"}
- class="text-xs leading-6 text-zinc-100 font-semibold hover:text-zinc-300"
+ class="text-xs leading-6 text-gray-100 font-semibold hover:text-gray-300"
>
Log in
diff --git a/lib/chiya_web/controllers/page_controller.ex b/lib/chiya_web/controllers/page_controller.ex
index 922a85f..3000dd3 100644
--- a/lib/chiya_web/controllers/page_controller.ex
+++ b/lib/chiya_web/controllers/page_controller.ex
@@ -8,7 +8,6 @@ defmodule ChiyaWeb.PageController do
channel =
if settings.home_channel_id != nil do
- IO.inspect(settings)
Chiya.Channels.get_channel_preloaded!(settings.home_channel_id)
else
nil
diff --git a/lib/chiya_web/controllers/page_html/channel.html.heex b/lib/chiya_web/controllers/page_html/channel.html.heex
index 2f3c171..c16a3d5 100644
--- a/lib/chiya_web/controllers/page_html/channel.html.heex
+++ b/lib/chiya_web/controllers/page_html/channel.html.heex
@@ -1,9 +1,9 @@
-
+
<%= @channel.name %>
-
+
<%= @channel.content %>
diff --git a/lib/chiya_web/controllers/page_html/home.html.heex b/lib/chiya_web/controllers/page_html/home.html.heex
index ecdd612..77bc933 100644
--- a/lib/chiya_web/controllers/page_html/home.html.heex
+++ b/lib/chiya_web/controllers/page_html/home.html.heex
@@ -1,20 +1,20 @@
-
+
<%= @settings.title %>
-
+
<%= @settings.subtitle %>
-
+
<%= for identity <- @identities do %>
|