IT4C.dev/docs/.vuepress/components/CaptionedImage.vue
Ulf Gebhardt ed3a46b5dc
fix(content): improve projects (#293)
* CaptionedImage component

Component for captioned images

* dreammall in-product image

padding in-product image

* Ocelot images

- Use Logo as main image for ocelot
- Have a captioned in-product image
- Fix some texts regarding ocelot
2025-03-18 12:20:06 +01:00

17 lines
277 B
Vue

<template>
<figure>
<img :src="src" alt="" :width="width"/>
<figcaption>{{ caption }}</figcaption>
</figure>
</template>
<script>
export default {
props: ['src', 'caption', 'width'],
}
</script>
<style lang="scss">
figcaption {
font-style: italic;
}
</style>