From 41101d3b237a6cf7106ee171835ec67ad106e1c5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mathilde=20Hauk=C3=B8=20Haugum?= <69193134+mathildehaugum@users.noreply.github.com> Date: Wed, 25 Oct 2023 14:42:04 +0200 Subject: [PATCH] 193 list frontend (#206) --- frontend/src/app/globals.css | 2 +- .../src/components/ConsultantListElement.tsx | 56 ++++++++++++------- .../components/FilteredConsultantsList.tsx | 8 ++- 3 files changed, 43 insertions(+), 23 deletions(-) diff --git a/frontend/src/app/globals.css b/frontend/src/app/globals.css index 92284dcb..0bc63034 100644 --- a/frontend/src/app/globals.css +++ b/frontend/src/app/globals.css @@ -66,7 +66,7 @@ .body-bold { font-size: 0.9rem; - font-family: "Graphik-SemiBold"; + font-family: "Graphik-Medium"; line-height: 1rem; } diff --git a/frontend/src/components/ConsultantListElement.tsx b/frontend/src/components/ConsultantListElement.tsx index eb8b0fa3..65b93cef 100644 --- a/frontend/src/components/ConsultantListElement.tsx +++ b/frontend/src/components/ConsultantListElement.tsx @@ -11,32 +11,50 @@ export default function ConsultantListElement({ consultant, }: ConsultantListElementProps) { const [isListElementVisible, setIsListElementVisible] = useState(false); + const [isButtonHovered, setIsButtonHovered] = useState(false); function toggleListElementVisibility() { setIsListElementVisible(!isListElementVisible); } return ( -