mirror of
https://github.com/ngthanhvu/kr-phim.git
synced 2026-08-10 13:27:46 +00:00
Add new icon in WEBP format to public directory
This commit is contained in:
@@ -153,7 +153,7 @@ useHead(() => ({
|
||||
{ name: 'description', content: movie.value ? `Xem ${movie.value.name} online` : 'Xem phim Hàn Quốc online' },
|
||||
{ property: 'og:title', content: movie.value ? `${movie.value.name} - CineK` : 'CineK' },
|
||||
{ property: 'og:description', content: movie.value?.content || '' },
|
||||
{ property: 'og:image', content: movie.value?.poster || movie.value?.thumb || '/icon.png' },
|
||||
{ property: 'og:image', content: movie.value?.poster || movie.value?.thumb || '/icon.webp' },
|
||||
],
|
||||
}))
|
||||
</script>
|
||||
|
||||
@@ -59,7 +59,7 @@ const avatarGrid = computed(() => {
|
||||
'viet-nam': ['01', '02', '03', '04', '05', '06', '07', '08', '09', '10', '11', '12', '13', '14', '15', '16'],
|
||||
}
|
||||
const nums = categoryMap[selectedAvatarCategory.value] || []
|
||||
return nums.map(n => `/avatars/${selectedAvatarCategory.value}/${n}.jpg`)
|
||||
return nums.map(n => `/avatars/${selectedAvatarCategory.value}/${n}.webp`)
|
||||
})
|
||||
|
||||
const sidebarItems = [
|
||||
|
||||
@@ -401,7 +401,7 @@ watch([movie, activeEpisode], () => { if (hasStarted.value) saveWatchHistory() }
|
||||
watch(libraryItem, () => { refreshFavoriteState() })
|
||||
useHead(() => ({
|
||||
title: movie.value ? `Xem ${movie.value.name} - CineK` : 'Đang tải - CineK',
|
||||
meta: [{ name: 'description', content: movie.value ? `Xem ${movie.value.name} online` : '' }, { property: 'og:title', content: movie.value ? `${movie.value.name} - CineK` : 'CineK' }, { property: 'og:image', content: movie.value?.poster || movie.value?.thumb || '/icon.png' }],
|
||||
meta: [{ name: 'description', content: movie.value ? `Xem ${movie.value.name} online` : '' }, { property: 'og:title', content: movie.value ? `${movie.value.name} - CineK` : 'CineK' }, { property: 'og:image', content: movie.value?.poster || movie.value?.thumb || '/icon.webp' }],
|
||||
}))
|
||||
</script>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user