Skip to content

Commit 5801552

Browse files
authored
Added static help link to Transistor integration setting (#26368)
ref https://linear.app/ghost/issue/NY-1017/transistor-turn-on-and-customize-flow - The flow to turn on the Transistor integration happens in many places and people should be aware of the steps. In this first version, we are adding a bookmark-like link to the Transistor integration help page.
1 parent 64c69e8 commit 5801552

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed
208 KB
Loading

apps/admin-x-settings/src/components/settings/advanced/integrations/transistor-modal.tsx

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import APIKeys from './api-keys';
2+
import BookmarkThumb from '../../../../assets/images/integrations/ghost-transistor.png';
23
import IntegrationHeader from './integration-header';
34
import NiceModal from '@ebay/nice-modal-react';
45
import {ConfirmationModal, Form, Icon, Modal, Toggle} from '@tryghost/admin-x-design-system';
@@ -119,6 +120,19 @@ const TransistorModal = NiceModal.create(() => {
119120
]} />
120121
)}
121122
</Form>
123+
{enabled &&
124+
<div className='mt-5 flex flex-col items-center'>
125+
<a className='w-100 flex flex-col items-stretch justify-between overflow-hidden rounded-md bg-grey-75 transition-all hover:border-grey-400 hover:bg-grey-100 md:flex-row' href="https://ghost.org/integrations/transistor/" rel="noopener noreferrer" target="_blank">
126+
<div className='order-2 px-7 py-5 md:order-1'>
127+
<div className='font-semibold'>How to use Transistor in Ghost</div>
128+
<div className='mt-1 text-sm text-grey-800 dark:text-grey-500'>Learn how to connect Transistor with Ghost to offer private podcasts in Portal and embed Transistor cards in your posts and pages.</div>
129+
</div>
130+
<div className='order-1 hidden w-[200px] shrink-0 items-center justify-center overflow-hidden md:!visible md:order-2 md:!flex'>
131+
<img alt="Bookmark Thumb" className='min-h-full min-w-full shrink-0' src={BookmarkThumb} />
132+
</div>
133+
</a>
134+
</div>
135+
}
122136
</div>
123137
</Modal>
124138
);

0 commit comments

Comments
 (0)