Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion docs/.vitepress/theme/components/CachedImage.vue
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,6 @@ onMounted(() => {
isLoading.value = false;
}
});
});

watch(() => props.src, (newSrc) => {
if (newSrc) {
Expand Down
13 changes: 4 additions & 9 deletions docs/.vitepress/theme/components/KikoHero.vue
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,10 @@ defineProps<{
<div class="image-bg animate-image-bg"/>
<slot name="home-hero-image">
<CachedImage
v-if="image"
class="image-src animate-image"
:src="typeof image === 'string' ? image : image.src"
:alt="typeof image === 'string' ? 'Hero Image' : (image.alt || 'Hero Image')"
v-if="image"
class="image-src animate-image"
:src="typeof image === 'string' ? image : image.src"
:alt="typeof image === 'string' ? 'Hero Image' : (image.alt || 'Hero Image')"
/>
</slot>
</div>
Expand Down Expand Up @@ -315,11 +315,6 @@ defineProps<{
}
}

.action {
flex-shrink: 0;
padding: 6px;
}

.image {
order: 1;
margin: -76px -24px -48px;
Expand Down