diff --git a/lib/chiya_web/components/layouts/public.html.heex b/lib/chiya_web/components/layouts/public.html.heex index 2372c82..b3ceea3 100644 --- a/lib/chiya_web/components/layouts/public.html.heex +++ b/lib/chiya_web/components/layouts/public.html.heex @@ -13,7 +13,7 @@ -
+
<.flash_group flash={@flash} /> <%= @inner_content %> diff --git a/lib/chiya_web/controllers/page_html/channel.html.heex b/lib/chiya_web/controllers/page_html/channel.html.heex index 6a9b1c9..2d02613 100644 --- a/lib/chiya_web/controllers/page_html/channel.html.heex +++ b/lib/chiya_web/controllers/page_html/channel.html.heex @@ -1,22 +1,20 @@ -
-
-

- <%= @channel.name %> -

-

- <%= @channel.content %> -

+
+

+ <%= @channel.name %> +

+

+ <%= @channel.content %> +

-
- <%= for note <- @channel.notes do %> - - <%= note.name %> - <%= pretty_date(note.published_at) %> - - <% end %> -
+
+ <%= for note <- @channel.notes do %> + + <%= note.name %> + <%= pretty_date(note.published_at) %> + + <% end %>
-
+
\ No newline at end of file diff --git a/lib/chiya_web/controllers/page_html/home.html.heex b/lib/chiya_web/controllers/page_html/home.html.heex index 8d7ec51..b318d55 100644 --- a/lib/chiya_web/controllers/page_html/home.html.heex +++ b/lib/chiya_web/controllers/page_html/home.html.heex @@ -1,42 +1,40 @@ -
-
-

- <%= @settings.title %> -

-

- <%= @settings.subtitle %> -

+
+

+ <%= @settings.title %> +

+

+ <%= @settings.subtitle %> +

-
-
- <%= for identity <- @identities do %> - - <% end %> -
-
- <%= if @channel do %> -
- <%= for note <- @channel.notes do %> +
+ + <% end %> +
+ <%= if @channel do %> +
+ <%= for note <- @channel.notes do %> + + + <%= note.name %> + + <%= pretty_date(note.published_at) %> + + <% end %> +
+ <% end %>
diff --git a/lib/chiya_web/controllers/page_html/note.html.heex b/lib/chiya_web/controllers/page_html/note.html.heex index 1f86eba..6dfaa55 100644 --- a/lib/chiya_web/controllers/page_html/note.html.heex +++ b/lib/chiya_web/controllers/page_html/note.html.heex @@ -1,43 +1,41 @@ -
-
-
-

- <%= @note.name %> -

-

- <%= pretty_date(@note.published_at) %> -

-
+
+
+

+ <%= @note.name %> +

+

+ <%= pretty_date(@note.published_at) %> +

+
-
- <%= Markdown.render(@note.content) |> raw %> -
+
+ <%= Markdown.render(@note.content) |> raw %> +
- <%= if !Enum.empty?(@note.images) do %> - <.line /> + <%= if !Enum.empty?(@note.images) do %> + <.line /> -
- <%= for image <- @note.images do %> -
-
+ <%= image.content %> + + + + <% end %> +
+ <% end %> +
\ No newline at end of file