From 3fa0c8692be4a0473842594c290f72df233ccf22 Mon Sep 17 00:00:00 2001 From: dnoneill Date: Fri, 20 Dec 2024 19:28:25 -0500 Subject: [PATCH] have header title/subtitle link to home page --- app/assets/stylesheets/spotlight/_header.scss | 13 +++++++++++++ app/components/spotlight/title_component.html.erb | 6 ++++-- 2 files changed, 17 insertions(+), 2 deletions(-) diff --git a/app/assets/stylesheets/spotlight/_header.scss b/app/assets/stylesheets/spotlight/_header.scss index 3305ac40e..7d2119f74 100644 --- a/app/assets/stylesheets/spotlight/_header.scss +++ b/app/assets/stylesheets/spotlight/_header.scss @@ -143,3 +143,16 @@ width: 1px; } } + +.link-unstyled { + &, + &:visited, + &:hover, + &:active, + &:focus, + &:active:hover { + color: inherit; + text-decoration: none; + font-weight: inherit; + } +} diff --git a/app/components/spotlight/title_component.html.erb b/app/components/spotlight/title_component.html.erb index 956008dee..a5a0e09ab 100644 --- a/app/components/spotlight/title_component.html.erb +++ b/app/components/spotlight/title_component.html.erb @@ -1,6 +1,8 @@
- <%= title %> - <%= subtitle %> + + <%= title %> + <%= subtitle %> +