diff --git a/app/pages/solutions/index.vue b/app/pages/solutions/index.vue index 3bff38e..25507e0 100644 --- a/app/pages/solutions/index.vue +++ b/app/pages/solutions/index.vue @@ -8,41 +8,59 @@ -
- - -
- + + + +
@@ -56,7 +74,9 @@ { label: $t('navigation.solutions') }, ]; - const { data: solutions, pending, error } = await useSolutionList(); + const { data, pending, error } = useSolutionList(); + + const solutions = computed(() => data.value ?? []); const activeName = ref('all'); @@ -123,4 +143,34 @@ margin-bottom: 2rem; gap: 40px; } + + .skeleton-group-list { + display: flex; + flex-wrap: wrap; + gap: 20px; + justify-content: flex-start; + margin-bottom: 2rem; + } + + .skeleton-card { + width: 30%; + height: 200px; + } + + @media (max-width: 1200px) { + .skeleton-card { + width: 45%; + } + } + + @media (max-width: 768px) { + .skeleton-group-list { + justify-content: center; + align-items: center; + } + + .skeleton-card { + width: 90%; + } + }