<script setup>

defineProps({
  title: String,
  desc: String,
  href: URL
})
</script>

<template>
  <div class="nav-btn-item">
    <a :href="href">{{ title }}</a>
    <text>{{ desc }}</text>
  </div>
</template>

<style>
.nav-btn-item {
  padding: 12px;
  a {
    text-decoration: none;
    font-size: 1.2rem;
  }
  text {
    margin-top: .2rem;
    display: block;
  }
}
</style>