Modals
1 month ago
skeletons
5 months ago
ActionButton.vue
5 months ago
ActionButtonsSection.vue
5 months ago
Banner.vue
3 months ago
FAQ.vue
5 months ago
FormItem.vue
2 months ago
FormsSection.vue
11 months ago
Hero.vue
1 month ago
Integrations.vue
4 months ago
Pagination.vue
10 months ago
PluginEntriesTable.vue
4 months ago
PluginEntry.vue
5 months ago
PluginExpansion.vue
8 months ago
ReachContactsSummary.vue
3 weeks ago
SyncStatusLabel.vue
7 months ago
Tabs.vue
9 months ago
Toggle.vue
10 months ago
UsageCard.vue
10 months ago
UsageCardsRow.vue
1 year ago
UsageCardsSection.vue
1 year ago
WooCommerce.vue
3 weeks ago
WooCommerceEntriesTable.vue
4 months ago
ReachContactsSummary.vue
53 lines
| 1 | <script setup lang="ts"> |
| 2 | import { HHyperlink } from '@hostinger/hcomponents'; |
| 3 | |
| 4 | import { useReachUrls } from '@/composables/useReachUrls'; |
| 5 | import { translate } from '@/utils/translate'; |
| 6 | |
| 7 | const { reachContactsLink } = useReachUrls(); |
| 8 | </script> |
| 9 | |
| 10 | <template> |
| 11 | <HCard class="reach-contacts-summary" padding="20px 24px" border-radius="20px"> |
| 12 | <div class="reach-contacts-summary__icon"> |
| 13 | <HIcon name="ic-user-double-16" color="primary--500" aria-hidden="true" /> |
| 14 | </div> |
| 15 | |
| 16 | <div class="reach-contacts-summary__description"> |
| 17 | <HText as="span" variant="body-2"> |
| 18 | {{ translate('hostinger_reach_woocommerce_subscribed_contacts_description') }} |
| 19 | </HText> |
| 20 | {{ ' ' }} |
| 21 | <HHyperlink :href="reachContactsLink" target="_blank" size="small" variant="bold" color="primary--400"> |
| 22 | {{ translate('hostinger_reach_woocommerce_view_contacts_link') }} |
| 23 | </HHyperlink> |
| 24 | </div> |
| 25 | </HCard> |
| 26 | </template> |
| 27 | |
| 28 | <style scoped lang="scss"> |
| 29 | .reach-contacts-summary { |
| 30 | display: flex; |
| 31 | align-items: center; |
| 32 | gap: 20px; |
| 33 | border: 1px solid var(--neutral--200); |
| 34 | |
| 35 | &__icon { |
| 36 | flex: 0 0 auto; |
| 37 | width: 40px; |
| 38 | height: 40px; |
| 39 | border-radius: 10px; |
| 40 | background: var(--primary--50); |
| 41 | display: flex; |
| 42 | align-items: center; |
| 43 | justify-content: center; |
| 44 | } |
| 45 | |
| 46 | &__description { |
| 47 | flex: 1 1 auto; |
| 48 | color: var(--neutral--600); |
| 49 | line-height: 1.4; |
| 50 | } |
| 51 | } |
| 52 | </style> |
| 53 |