Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#7685 replace placeholders #7698

Merged
merged 12 commits into from
Nov 1, 2023
2 changes: 2 additions & 0 deletions components/collection/CollectionHeader/CollectionBanner.vue
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,8 @@ useSeoMeta({
width: 5.5rem;
height: 5.5rem;
border: 1px solid;
padding: 1rem;
object-fit: contain;
}
}

Expand Down
2 changes: 1 addition & 1 deletion composables/useTheme.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export default function () {
}

const placeholder = computed(() => {
return isDarkMode.value ? '/placeholder.webp' : '/placeholder-white.webp'
return isDarkMode.value ? '/Kdark.webp' : '/Klight.webp'
})

return {
Expand Down
2 changes: 1 addition & 1 deletion libs/ui/src/components/MediaItem/type/ImageMedia.vue
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ const onError = (e: Event) => {

<style>
.image-container.is-square.is-detail > img {
object-fit: contain;
object-fit: none;
}

.image-container.is-square > img {
Expand Down
Binary file added public/Kdark.webp
Binary file not shown.
Binary file added public/Klight.webp
Binary file not shown.
2 changes: 1 addition & 1 deletion utils/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export const dotHubDenyList = [
]

export const IPFS_KODADOT_IMAGE_PLACEHOLDER =
'bafkreifahjdjerrz65puqznmsu2acoktrxjbo3vvp2f2j4eb7h5tc345fi'
'bafkreigbvowevtdh5ktnr5kyfxf2b56lp4424zj2gb6wona6if4lh35mbe'

export const MIN_CAROUSEL_NFT = 3

Expand Down