diff --git a/src/components/CardCategory6.tsx b/src/components/CardCategory6.tsx new file mode 100644 index 0000000..1d86d9e --- /dev/null +++ b/src/components/CardCategory6.tsx @@ -0,0 +1,40 @@ +import React, { FC } from "react"; +import { TaxonomyType } from "@/data/types"; +import convertNumbThousand from "@/utils/convertNumbThousand"; +import Link from "next/link"; +import Image from "next/image"; + +export interface CardCategory6Props { + className?: string; + taxonomy: TaxonomyType; +} + +const CardCategory6: FC = ({ + className = "flex-1", + taxonomy, +}) => { + const { count, name, href = "/", thumbnail } = taxonomy; + return ( + +
+ +
+ +

{name}

+ + {convertNumbThousand(count)} properties + +
+ + ); +}; + +export default CardCategory6;