From 91db6f89a320769b027803bc0a2fa7b744935bc4 Mon Sep 17 00:00:00 2001 From: Kagameow Date: Wed, 17 Jul 2024 18:32:22 +0200 Subject: [PATCH] home view responsivnes updates --- src/components/AppCardLink.vue | 23 ++++++++++++++++++++++- src/views/home-view/HomeViewDesktop.vue | 3 ++- src/views/home-view/HomeViewMobile.vue | 5 ++--- 3 files changed, 26 insertions(+), 5 deletions(-) diff --git a/src/components/AppCardLink.vue b/src/components/AppCardLink.vue index 49ab6df..64079d8 100644 --- a/src/components/AppCardLink.vue +++ b/src/components/AppCardLink.vue @@ -37,11 +37,13 @@ defineProps({ icon + @@ -52,7 +54,7 @@ defineProps({ flex-direction: column; gap: 5px; position: relative; - padding: 30px; + padding: 20px; width: 366px; height: 250px; background: #000; @@ -60,6 +62,10 @@ defineProps({ cursor: pointer; text-decoration: none; color: var(--color-text); + + &:hover { + transform: scale(1.05); + } } .app-card-link__title { @@ -75,7 +81,22 @@ defineProps({ font-weight: 600; } +.app-card-link__icon { + width: 50px; + height: 50px; +} + .app-card-link__body { text-align: left; } + +.app-card-link__footer { + display: flex; + flex-direction: row-reverse; + font-size: 0.875rem; + font-style: normal; + font-weight: 400; + line-height: normal; + text-decoration-line: underline; +} diff --git a/src/views/home-view/HomeViewDesktop.vue b/src/views/home-view/HomeViewDesktop.vue index eb5da26..bd806ea 100644 --- a/src/views/home-view/HomeViewDesktop.vue +++ b/src/views/home-view/HomeViewDesktop.vue @@ -34,6 +34,7 @@ const { industry, energyGrid, city, agriculture, health } = customerCards;