Reviewed-on: #277 Reviewed-by: Mikolaj Widla <widlam@noreply.example.com> Co-authored-by: Adam Bem <adam.bem@zoho.eu> Co-committed-by: Adam Bem <adam.bem@zoho.eu>
17 lines
518 B
Vue
17 lines
518 B
Vue
<script setup lang="ts">
|
|
|
|
const props = defineProps(
|
|
{
|
|
imgPath: {type: String, required: true},
|
|
label: {type: String, required: true}
|
|
}
|
|
)
|
|
|
|
</script>
|
|
|
|
<template>
|
|
<div class="flex flex-col gap-2 w-fit h-fit shadow-sm bg-slate-200 dark:bg-slate-800 p-2 rounded-md my-2 text-center self-center">
|
|
<img id="url_section" class="rounded-md" :src="imgPath" />
|
|
<label for="url_section" class="text-sm mb-0 text-slate-600 dark:text-slate-300">{{ label }}</label>
|
|
</div>
|
|
</template> |