<script setup lang="ts">
defineProps({
    imgSrc: {
        type: String,
        required: true
    },
    link: {
        type: String,
        required: true
    }
})
</script>

<template>
  <div>
    <a :href="link">
      <img :src="imgSrc" class="h-8 lg:h-14 mx-auto"/>
      <div class="text-md lg:text-lg text-white text-center">
        <slot></slot>
      </div>
    </a>
  </div>
</template>
