From 48494bd17d0aca308f0913fb393c671cefb142c5 Mon Sep 17 00:00:00 2001 From: Chris Lowis Date: Fri, 9 Aug 2024 16:25:57 +0100 Subject: [PATCH] Restyle SectionComponent To more closely match the designs we have in Figma. --- .../section_component/section_component.html.erb | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/app/components/section_component/section_component.html.erb b/app/components/section_component/section_component.html.erb index 3b1df632..4a78f033 100644 --- a/app/components/section_component/section_component.html.erb +++ b/app/components/section_component/section_component.html.erb @@ -1,9 +1,9 @@ -
-

<%= @title %>

- - <%= content %> - -
- <%= text_link_to @link_text, @link_path %> +
+
+

<%= @title %>

+ <%= link_to @link_text, @link_path, class: 'text-red-400 hover:underline' %> +
+
+ <%= content %>