fix. [PWT-150] 개별 메타태그 등록 시 미적용 오류
This commit is contained in:
@@ -76,10 +76,10 @@ const setupAllMetaData = (data: GameDataValue) => {
|
||||
{ name: 'description', content: meta.page_desc },
|
||||
{ property: 'og:title', content: meta.og_title },
|
||||
{ property: 'og:description', content: meta.og_desc },
|
||||
{ property: 'og:image', content: meta.og_image },
|
||||
{ property: 'og:image', content: getResourceHost(meta.og_image) },
|
||||
{ name: 'twitter:title', content: meta.x_title },
|
||||
{ name: 'twitter:description', content: meta.x_desc },
|
||||
{ name: 'twitter:image', content: meta.x_image },
|
||||
{ name: 'twitter:image', content: getResourceHost(meta.x_image) },
|
||||
],
|
||||
htmlAttrs: {
|
||||
'data-game': data.game_name || '',
|
||||
|
||||
@@ -100,7 +100,7 @@ onMounted(async () => {
|
||||
}
|
||||
.item-thumbnail {
|
||||
@apply overflow-hidden relative w-[148px] h-[75px] rounded-[10px] bg-[#333333]
|
||||
after:content-[''] after:absolute after:top-0 after:left-0 after:w-full after:h-full after:rounded-[10px] after:border-[1px] after:border-[rgba(255,255,255,0.08)] after:transition-all after:duration-300 after:ease-in-out;
|
||||
after:content-[''] after:absolute after:top-0 after:left-0 after:w-full after:h-full after:rounded-[10px] after:border-[1px] after:border-white/[0.08] after:transition-all after:duration-300 after:ease-in-out;
|
||||
}
|
||||
.item-thumbnail img {
|
||||
@apply opacity-50 transition-opacity duration-300 ease-in-out;
|
||||
@@ -123,11 +123,8 @@ onMounted(async () => {
|
||||
@apply pointer-events-none opacity-0;
|
||||
}
|
||||
|
||||
.item-link:hover .item-thumbnail {
|
||||
@apply after:border-[rgba(255,255,255,1)];
|
||||
}
|
||||
.router-link-active .item-thumbnail {
|
||||
@apply after:border-[var(--primary)] !important;
|
||||
@apply after:border-[var(--primary)];
|
||||
}
|
||||
.router-link-active .item-thumbnail img,
|
||||
.item-link:hover .item-thumbnail img {
|
||||
|
||||
@@ -53,9 +53,9 @@ const setupSeoMeta = (metaTag: PageDataMetaTag) => {
|
||||
description: metaTag?.page_desc ?? '',
|
||||
ogTitle: metaTag?.og_title ?? '',
|
||||
ogDescription: metaTag?.og_desc ?? '',
|
||||
ogImage: metaTag?.og_image ?? '',
|
||||
ogImage: getResourceHost(metaTag?.og_image) ?? '',
|
||||
twitterTitle: metaTag?.x_title ?? '',
|
||||
twitterImage: metaTag?.x_image ?? '',
|
||||
twitterImage: getResourceHost(metaTag?.x_image) ?? '',
|
||||
twitterDescription: metaTag?.x_desc ?? '',
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user