From 384ad63ac46f28792064be70b1165b83666045b4 Mon Sep 17 00:00:00 2001 From: Zee Spencer <50284+zspencer@users.noreply.github.com> Date: Sat, 13 Jan 2024 22:20:43 -0800 Subject: [PATCH] `CardComponent`: Gray the Footer, pull Classes into HTML --- app/components/card_component.html.erb | 8 +++--- app/components/card_component.rb | 34 ++++++-------------------- 2 files changed, 12 insertions(+), 30 deletions(-) diff --git a/app/components/card_component.html.erb b/app/components/card_component.html.erb index d6c11f364..399bf1500 100644 --- a/app/components/card_component.html.erb +++ b/app/components/card_component.html.erb @@ -1,6 +1,6 @@ -
> +
> <% if header? %> -
+
<%= header%>
@@ -9,12 +9,12 @@ NOTE: content? is not always working as described, and is returning a proc in some cases rather than a boolean %> <% if content.present? %> -
+
<%= content %>
<% end %> <% if footer? %> -