Enable the pocket importer on the web

This commit is contained in:
Jackson Harper
2023-06-13 16:28:21 +08:00
parent 9ad516520f
commit dbafc9a40b

View File

@ -161,23 +161,22 @@ export default function Integrations(): JSX.Element {
},
},
},
// {
// icon: '/static/icons/pocket.svg',
// title: 'Pocket',
// subText:
// 'Pocket is a place to save articles, videos, and more. Our Pocket integration allows importing your Pocket library to Omnivore. Once connected we will asyncronously import all your Pocket articles into Omnivore, as this process is resource intensive it can take some time. You will receive an email when the process is completed.',
// button: {
// text: pocketConnected ? 'Import' : 'Connect to Pocket',
// icon: <Link size={16} weight={'bold'} />,
// style: 'ctaDarkYellow',
// action: () => {
// pocketConnected
// ? importFromIntegration(pocketConnected.id)
// : redirectToPocket()
// },
// },
// },
{
icon: '/static/icons/pocket.svg',
title: 'Pocket',
subText:
'Pocket is a place to save articles, videos, and more. Our Pocket integration allows importing your Pocket library to Omnivore. Once connected we will asyncronously import all your Pocket articles into Omnivore, as this process is resource intensive it can take some time. You will receive an email when the process is completed.',
button: {
text: pocketConnected ? 'Import' : 'Connect to Pocket',
icon: <Link size={16} weight={'bold'} />,
style: 'ctaDarkYellow',
action: () => {
pocketConnected
? importFromIntegration(pocketConnected.id)
: redirectToPocket()
},
},
},
{
icon: '/static/icons/webhooks.svg',
title: 'Webhooks',