<template>
  <RouterLink
    :to="`/servers/${id}`"
    class="block p-3 hover:bg-sky-100 rounded-lg transition-colors duration-200 border border-transparent hover:border-sky-300"
  >
    <slot />
  </RouterLink>
</template>

<script setup lang="ts">
defineProps<{
  id: string | number;
}>();
</script>
