text: import Link from "next/link";
  
  const TagItem = ({ tag }) => (
    <Link href={`/tag/${encodeURIComponent(tag)}`} passHref>
      <a>
        <p className="uppercase mr-1 bg-primary text-day rounded px-1 py-0  border-pink-400 font-bold text-xs dark:border-gray-600 drop-shadow">
          {tag}
        </p>
      </a>
    </Link>
  );
  
  export default TagItem;
  