diff --git a/layers/components/atoms/icons/Stove.vue b/layers/components/atoms/icons/Stove.vue new file mode 100644 index 0000000..35ed446 --- /dev/null +++ b/layers/components/atoms/icons/Stove.vue @@ -0,0 +1,30 @@ + + + diff --git a/layers/components/blocks/CardNews.vue b/layers/components/blocks/CardNews.vue index 70dad2c..929e499 100644 --- a/layers/components/blocks/CardNews.vue +++ b/layers/components/blocks/CardNews.vue @@ -3,7 +3,7 @@ interface Props { title: string description: string | number imgPath: string - linkTarget?: string + linkTarget?: '_blank' | '_self' url?: string alt?: string class?: string @@ -13,6 +13,10 @@ const props = defineProps() const { locale } = useI18n() const { sendLog, useAnalyticsLogDataDirect } = useAnalytics() +const isShowOverlay = computed(() => { + return props.title || props.description +}) + const handleLinkClick = (title: string) => { const trackingData = { tracking: { @@ -26,17 +30,18 @@ const handleLinkClick = (title: string) => {