diff --git a/frontend/i18n/en/common.json b/frontend/i18n/en/common.json index 39f7d00a0..00c831c0e 100644 --- a/frontend/i18n/en/common.json +++ b/frontend/i18n/en/common.json @@ -60,6 +60,10 @@ "privacy": { "description": "Information about napari hub's website privacy notice." + }, + + "collections": { + "description": "Useful, awesome, and interesting plugins curated by the napari community." } } } diff --git a/frontend/scripts/create-collection-data.mjs b/frontend/scripts/create-collection-data.mjs index 2ddbd33ea..b5c68190f 100644 --- a/frontend/scripts/create-collection-data.mjs +++ b/frontend/scripts/create-collection-data.mjs @@ -162,6 +162,12 @@ for (let i = 0; i < titles.length; i += 1) { ...data.curator.affiliation, institution: curatorInstitutions[i], }, + links: { + orcid: '0000-0002-4638-7015', + twitter: 'https://twitter.com/neuromusic', + github: 'https://github.com/neuromusic', + website: 'https://justinkiggins.com', + }, }, }); } diff --git a/frontend/src/components/CollectionsPage/CollectionsPage.tsx b/frontend/src/components/CollectionsPage/CollectionsPage.tsx index 23c7376ee..aea69b48f 100644 --- a/frontend/src/components/CollectionsPage/CollectionsPage.tsx +++ b/frontend/src/components/CollectionsPage/CollectionsPage.tsx @@ -3,6 +3,7 @@ import { Button } from 'czifui'; import { useTranslation } from 'react-i18next'; import { I18n } from '@/components/I18n'; +import { usePlausible } from '@/hooks'; import { I18nKeys } from '@/types/i18n'; import { CollectionCard } from './CollectionCard'; @@ -52,6 +53,7 @@ function Intro() { */ function CreateCollectionButton() { const { t } = useTranslation(['collections']); + const plausible = usePlausible(); return (