---
const { ...rest } = Astro.props;
---

<div
  class="inline-block bg-primary text-secondary rounded-lg hover:bg-white transition-all duration-300"
>
  <a class="block font-body py-3 px-6 text-center" {...rest}> <slot /> →</a>
</div>
