11<template >
2- <v-row justify =" center" justify-md =" space-around" >
3- <v-col v-for =" (item, n) in cards" :key =" n" cols =" 12" :md =" 12 / perRow" >
4- <v-card class =" rounded-xl cards-animation" height =" 270px" :style =" item.cardStyle" :ripple =" false" color =" #F2F3F4"
5- @click =" $emit('click', item.path)" >
6- <v-row style =" height : 200px " justify =" center" align =" center" >
7- <v-img max-height =" 150" :style =" item.imageStyle" :src =" require('../../assets/manager/' + item.image)" />
8- </v-row >
2+ <v-container >
3+ <v-row justify =" center" justify-md =" space-around" >
4+ <v-col v-for =" (item, n) in cards" :key =" n" cols =" 12" :md =" 12 / perRow" >
5+ <v-card :ripple =" false" @click =" $emit('click', item.path)" >
6+ <div class =" d-flex justify-center align-center pa-4" >
7+ <v-img height =" 120" max-width =" 120" :style =" item.imageStyle"
8+ :src =" require('../../assets/manager/' + item.image)" class =" mx-auto" />
9+ </div >
10+ <v-divider ></v-divider >
911
10- <div class =" text-white pl-4 footer" :style =" { 'background-color': item.bottom }" >
11- <!-- Prefer direct text if provided, otherwise fall back to translation keys -->
12- <h2 >
12+ <v-card-title >
1313 {{ item.titleDirect ? item.titleDirect : $t(`titles.${item.title}`) }}
14- </h2 >
14+ </v-card-title >
1515
16- <div >
16+ <v-card-text >
1717 {{ item.descriptionDirect ? item.descriptionDirect : $t(`descriptions.${item.description}`) }}
18- </div >
19- </div >
20- </v-card >
21- </v-col >
22- </v-row >
18+ </v-card-text >
19+ </v-card >
20+ </v-col >
21+ </v-row >
22+ </v-container >
2323</template >
2424
2525<script >
@@ -41,24 +41,3 @@ export default {
4141 emits: [' click' ],
4242}
4343 </script >
44-
45- <style >
46- .footer {
47- height : 90px ;
48- position : absolute ;
49- bottom : 0 ;
50- width : 100% ;
51- /* background-color: item.bottom; */
52- padding-top : 10px ;
53- border-top : .3px solid #505050 ;
54- }
55-
56- .cards-animation {
57- box-shadow : 0 ;
58- transition : box-shadow 0.5s ;
59- }
60-
61- .cards-animation :hover {
62- box-shadow : 0px 0px 35px 2px rgba (0 , 0 , 0 , 0.7 ) !important ;
63- }
64- </style >
0 commit comments