<script setup>
import { RouterLink } from 'vue-router'
</script>

<template>
  <div class="tile-grid">
    <RouterLink to="/tasks" class="tile">Tasks</RouterLink>
  </div>
</template>

<style scoped>
.tile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 1rem;
}

.tile {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  font-size: 1.125rem;
  background: var(--breadcrumb-bg);
}

.tile:hover {
  border-color: var(--text);
}
</style>
