diff --git a/lib/berrypod_web/live/admin/newsletter.ex b/lib/berrypod_web/live/admin/newsletter.ex index c740125..f64fdb6 100644 --- a/lib/berrypod_web/live/admin/newsletter.ex +++ b/lib/berrypod_web/live/admin/newsletter.ex @@ -205,7 +205,10 @@ defmodule BerrypodWeb.Admin.Newsletter do - +
@@ -82,11 +82,11 @@ />
- +
- +
<%= for {value, title, desc} <- [ @@ -131,7 +131,7 @@ <% end %>
- + <%= if @theme_settings.logo_mode in ["logo-text", "logo-only"] do %>
@@ -215,10 +215,14 @@ <%= for err <- upload_errors(@uploads.logo_upload) do %>

{error_to_string(err)}

<% end %> - + <%= if @logo_image do %> -
+
Logo size {@theme_settings.logo_size}px @@ -233,7 +237,7 @@ style="width: 100%;" /> - + <%= if @logo_image.is_svg do %>
@@ -275,14 +279,14 @@
<% end %>
- +

Your icon appears in browser tabs and on home screens.

- + - + <%= if !@theme_settings.use_logo_as_icon do %>
@@ -363,7 +367,7 @@ <% end %>
<% end %> - +
@@ -381,7 +385,7 @@ />
- +
- +
- + <%= if @theme_settings.header_background_enabled do %>
@@ -478,7 +482,7 @@ Missing alt text — add a description for accessibility

- +
@@ -559,7 +563,7 @@ <% end %>
<% end %> - +
@@ -580,7 +584,7 @@ <% end %>
- +
@@ -644,7 +648,7 @@
- +
- + @@ -685,7 +695,10 @@ phx-click="update_setting" phx-value-field="typography" phx-value-setting_value={typo} - class={["theme-chip", @theme_settings.typography == typo && "theme-chip-active"]} + class={[ + "theme-chip", + @theme_settings.typography == typo && "theme-chip-active" + ]} > {typo} @@ -702,7 +715,10 @@ phx-click="update_setting" phx-value-field="font_size" phx-value-setting_value={value} - class={["theme-chip", @theme_settings.font_size == value && "theme-chip-active"]} + class={[ + "theme-chip", + @theme_settings.font_size == value && "theme-chip-active" + ]} > {label} @@ -719,7 +735,10 @@ phx-click="update_setting" phx-value-field="heading_weight" phx-value-setting_value={value} - class={["theme-chip", @theme_settings.heading_weight == value && "theme-chip-active"]} + class={[ + "theme-chip", + @theme_settings.heading_weight == value && "theme-chip-active" + ]} > {label} @@ -727,11 +746,17 @@
- +
- + @@ -755,11 +780,17 @@
- +
- + @@ -776,7 +807,10 @@ phx-click="update_setting" phx-value-field="grid_columns" phx-value-setting_value={cols} - class={["theme-chip", @theme_settings.grid_columns == cols && "theme-chip-active"]} + class={[ + "theme-chip", + @theme_settings.grid_columns == cols && "theme-chip-active" + ]} > {cols} columns @@ -793,7 +827,10 @@ phx-click="update_setting" phx-value-field="density" phx-value-setting_value={density} - class={["theme-chip", @theme_settings.density == density && "theme-chip-active"]} + class={[ + "theme-chip", + @theme_settings.density == density && "theme-chip-active" + ]} > {density} @@ -810,7 +847,10 @@ phx-click="update_setting" phx-value-field="header_layout" phx-value-setting_value={layout} - class={["theme-chip", @theme_settings.header_layout == layout && "theme-chip-active"]} + class={[ + "theme-chip", + @theme_settings.header_layout == layout && "theme-chip-active" + ]} > {layout} @@ -844,11 +884,17 @@
- +
- + Shape @@ -880,7 +926,10 @@ phx-click="update_setting" phx-value-field="card_shadow" phx-value-setting_value={value} - class={["theme-chip", @theme_settings.card_shadow == value && "theme-chip-active"]} + class={[ + "theme-chip", + @theme_settings.card_shadow == value && "theme-chip-active" + ]} > {label} @@ -897,7 +946,10 @@ phx-click="update_setting" phx-value-field="button_style" phx-value-setting_value={value} - class={["theme-chip", @theme_settings.button_style == value && "theme-chip-active"]} + class={[ + "theme-chip", + @theme_settings.button_style == value && "theme-chip-active" + ]} > {label} @@ -905,11 +957,17 @@
- +
- + @@ -927,7 +985,10 @@ phx-click="update_setting" phx-value-field="layout_width" phx-value-setting_value={width} - class={["theme-chip", @theme_settings.layout_width == width && "theme-chip-active"]} + class={[ + "theme-chip", + @theme_settings.layout_width == width && "theme-chip-active" + ]} > {width} @@ -944,7 +1005,10 @@ phx-click="update_setting" phx-value-field="image_aspect_ratio" phx-value-setting_value={value} - class={["theme-chip", @theme_settings.image_aspect_ratio == value && "theme-chip-active"]} + class={[ + "theme-chip", + @theme_settings.image_aspect_ratio == value && "theme-chip-active" + ]} > {label} @@ -961,7 +1025,10 @@ phx-click="update_setting" phx-value-field="product_text_align" phx-value-setting_value={value} - class={["theme-chip", @theme_settings.product_text_align == value && "theme-chip-active"]} + class={[ + "theme-chip", + @theme_settings.product_text_align == value && "theme-chip-active" + ]} > {label} @@ -995,11 +1062,17 @@
- +
- + @@ -1047,7 +1120,7 @@
- +
Current combination
@@ -1066,7 +1139,7 @@
<% end %> - +
@@ -1097,7 +1170,7 @@ <% end %>
- +
@@ -1106,7 +1179,13 @@
- + @@ -1115,7 +1194,7 @@
- +