From 954cc0edce63f3baea8f6efae42fe52efc9af190 Mon Sep 17 00:00:00 2001 From: Aidan Westphal Date: Fri, 22 Nov 2024 22:13:43 +0000 Subject: [PATCH] Artist links and styling --- src/components/album_info.rs | 2 +- style/album_page.scss | 16 ++++++++++++++-- 2 files changed, 15 insertions(+), 3 deletions(-) diff --git a/src/components/album_info.rs b/src/components/album_info.rs index 03b2950..182cc75 100644 --- a/src/components/album_info.rs +++ b/src/components/album_info.rs @@ -13,7 +13,7 @@ pub fn AlbumInfo(albumdata: AlbumData) -> impl IntoView { { albumdata.artists.iter().map(|artist| { view! { -

{artist.name.clone()}

+ {artist.name.clone()} } }).collect::>() } diff --git a/style/album_page.scss b/style/album_page.scss index d00439e..b63e906 100644 --- a/style/album_page.scss +++ b/style/album_page.scss @@ -1,7 +1,5 @@ @import 'theme.scss'; - - .album-page-container { width: 90vw; @@ -65,4 +63,18 @@ } } + a { + color: $text-controls-color; + } + a:visited { + color: $text-controls-color; + } + a:hover { + color: $controls-hover-color; + } + + a:active { + color: $controls-click-color; + } + } \ No newline at end of file