---
export interface Props {
  tag: string;
}

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


<a
  href={`/tags/${tag}/`}
  transition:name={tag}
>
  #<span>{tag}</span>
</a>

<style>
    a {
        color: grey;
    }
    a:hover {
        color: blue;
    }
</style>