<script setup lang="ts">
const props = defineProps<{
    image: string
}>()
</script>

<template>
<img class="object-contain sm:max-w-[85%] max-w-[95%] m-auto" :src="props.image" />
<div class="ml-auto mr-auto mt-2 w-fit max-w-[80%] slot">
    <slot />
</div>
</template>

<style lang="css" scoped>
.slot > * {
  font-size: 16px;
}
</style>