PluginEntrySkeleton.vue
10 months ago
PluginIntegrationSkeleton.vue
10 months ago
PluginsSectionSkeleton.vue
10 months ago
PluginIntegrationSkeleton.vue
54 lines
| 1 | <script lang="ts" setup> |
| 2 | import { HSkeletonLoader } from '@hostinger/hcomponents'; |
| 3 | </script> |
| 4 | |
| 5 | <template> |
| 6 | <div class="plugin-integration-skeleton"> |
| 7 | <div class="plugin-integration-skeleton__info"> |
| 8 | <div class="plugin-integration-skeleton__icon"> |
| 9 | <HSkeletonLoader width="40px" height="40px" border-radius="sm" /> |
| 10 | </div> |
| 11 | <div class="plugin-integration-skeleton__details"> |
| 12 | <HSkeletonLoader width="120px" height="16px" border-radius="sm" /> |
| 13 | </div> |
| 14 | </div> |
| 15 | <div class="plugin-integration-skeleton__actions"> |
| 16 | <HSkeletonLoader width="60px" height="24px" border-radius="lg" /> |
| 17 | <HSkeletonLoader width="80px" height="32px" border-radius="sm" /> |
| 18 | </div> |
| 19 | </div> |
| 20 | </template> |
| 21 | |
| 22 | <style lang="scss" scoped> |
| 23 | .plugin-integration-skeleton { |
| 24 | display: flex; |
| 25 | align-items: center; |
| 26 | justify-content: space-between; |
| 27 | padding: 16px; |
| 28 | width: 100%; |
| 29 | |
| 30 | &__info { |
| 31 | display: flex; |
| 32 | align-items: center; |
| 33 | gap: 12px; |
| 34 | } |
| 35 | |
| 36 | &__icon { |
| 37 | flex-shrink: 0; |
| 38 | } |
| 39 | |
| 40 | &__details { |
| 41 | display: flex; |
| 42 | flex-direction: column; |
| 43 | gap: 4px; |
| 44 | } |
| 45 | |
| 46 | &__actions { |
| 47 | display: flex; |
| 48 | align-items: center; |
| 49 | gap: 12px; |
| 50 | flex-shrink: 0; |
| 51 | } |
| 52 | } |
| 53 | </style> |
| 54 |