From ccdac87c52d7b7d169c96f69959a849748d4d976 Mon Sep 17 00:00:00 2001 From: clkim Date: Tue, 28 Oct 2025 19:02:14 +0900 Subject: [PATCH] =?UTF-8?q?feat.=20GR=5FBOARD=5F01=20=ED=85=9C=ED=94=8C?= =?UTF-8?q?=EB=A6=BF=20=EC=A0=9C=EC=9E=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- layers/components/atoms/icons/Stove.vue | 30 ++++ layers/components/blocks/CardNews.vue | 36 ++-- layers/components/blocks/slide/Default.vue | 24 +-- layers/composables/useBreakpoints.ts | 29 ++-- layers/composables/useResourcesData.ts | 62 +++++++ layers/composables/useTemplateRegistry.ts | 4 +- layers/templates/GrBoard01/index.vue | 184 +++++++++++++++------ layers/templates/GrVisual03/index.vue | 1 - layers/types/api/gameData.ts | 1 + layers/types/api/resourcesData.ts | 84 +++++++++- 10 files changed, 359 insertions(+), 96 deletions(-) create mode 100644 layers/components/atoms/icons/Stove.vue 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) => {