1
0
mirror of https://github.com/uetchy/namae.git synced 2025-03-17 04:30:31 +09:00

feat: add brew cask

This commit is contained in:
uetchy 2019-07-31 02:40:54 +09:00
parent c2a1e281df
commit 2686db2a24

View File

@ -12,6 +12,13 @@ export default function HomebrewCard({ name }) {
url={`https://formulae.brew.sh/formula/${name}`} url={`https://formulae.brew.sh/formula/${name}`}
icon={<IoIosBeer />} icon={<IoIosBeer />}
/> />
<ExistenceAvailability
name={name}
target={`https://formulae.brew.sh/api/cask/${name}.json`}
url={`https://formulae.brew.sh/cask/${name}`}
suffix=" (Cask)"
icon={<IoIosBeer />}
/>
</Card> </Card>
) )
} }