diff --git a/components/ServiceTag.tsx b/components/ServiceTag.tsx deleted file mode 100644 index 797487e6d5dc92f6d0a5667849048185e5b4d896..0000000000000000000000000000000000000000 --- a/components/ServiceTag.tsx +++ /dev/null @@ -1,18 +0,0 @@ -import Chip from '@/components/Chip' -import { Tag } from 'types/content/' -import { translateLabel, translateTag } from '@/lib/utils/labelHelper' - -type ServiceTagOptions = { - tag: Tag, - style: string -} - -const formatLabel = (tag: Tag) => { - return `${translateLabel(tag.name)}: ${translateTag(tag)}` -} - -export default ({ tag, style }: ServiceTagOptions) => { - return ( - <Chip text={formatLabel(tag)} style={`${style} capitalize ${tag.name == 'label' && tag.value == 'external' ? 'hidden' : ''}`} /> - ) -}