From 98d39d139ef66394f07841855715523f3a8b0fcd Mon Sep 17 00:00:00 2001 From: Alexander Sorokin <10401817+brawaru@users.noreply.github.com> Date: Sat, 25 Nov 2023 04:15:46 +0100 Subject: [PATCH] Convert ProjectCard component to TypeScript and Composition API --- lib/components/base/ProjectCard.vue | 207 +++++++++------------------- 1 file changed, 66 insertions(+), 141 deletions(-) diff --git a/lib/components/base/ProjectCard.vue b/lib/components/base/ProjectCard.vue index 35f660f9a..b38c78df7 100644 --- a/lib/components/base/ProjectCard.vue +++ b/lib/components/base/ProjectCard.vue @@ -8,7 +8,7 @@ :class="{ 'no-image': !featuredImage }" tabindex="-1" :to="`/${projectTypeUrl}/${id}`" - :style="color ? `background-color: ${toColor};` : ''" + :style="color ? `background-color: ${rgbColor};` : ''" > gallery image @@ -57,7 +57,7 @@