Skip to content

Commit 1ec2206

Browse files
committed
link change
1 parent a9cbba6 commit 1ec2206

File tree

1 file changed

+25
-8
lines changed

1 file changed

+25
-8
lines changed

src/cloud/components/Onboarding/FolderPageExportSection.tsx

Lines changed: 25 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,18 +6,35 @@ import Button from '../../../design/components/atoms/Button'
66
import { mdiExport } from '@mdi/js'
77
import ExportModal from '../Modal/contents/ExportModal'
88
import { useModal } from '../../../design/lib/stores/modal'
9+
import { ExternalLink } from '../../../design/components/atoms/Link'
910

1011
const FolderPageExportSection = () => {
1112
const { openModal } = useModal()
1213

1314
return (
1415
<FolderPageExportSectionContainer>
1516
<ColoredBlock variant='danger' className='export__section__block'>
16-
<Flexbox alignItems='flex-start' justifyContent='space-between'>
17+
<Flexbox alignItems='baseline' justifyContent='space-between'>
1718
<h5>BoostNote is getting discontinued</h5>
1819

20+
<ExternalLink
21+
href='https://intercom.help/boostnote-for-teams/en/articles/11579215-important-service-termination-notice-for-boost-note'
22+
showIcon={true}
23+
>
24+
Learn more
25+
</ExternalLink>
26+
</Flexbox>
27+
<Flexbox
28+
style={{ justifyContent: 'space-between', alignItems: 'center' }}
29+
>
30+
<p style={{ marginRight: '10px' }}>
31+
We thank you for your continued support. We regret to inform you
32+
that the service will end at the end of September. As such we
33+
recommend for users to export their data to make sure nothing is
34+
being lost.
35+
</p>
1936
<Button
20-
variant='icon'
37+
variant='secondary'
2138
iconPath={mdiExport}
2239
onClick={() => {
2340
return openModal(<ExportModal />, {
@@ -27,14 +44,9 @@ const FolderPageExportSection = () => {
2744
}}
2845
iconSize={16}
2946
>
30-
Learn more
47+
Download
3148
</Button>
3249
</Flexbox>
33-
<p>
34-
We thank you for your continued support. We regret to inform you that
35-
the service will end at the end of September. As such we recommend for
36-
users to export their data to make sure nothing is being lost.
37-
</p>
3850
</ColoredBlock>
3951
</FolderPageExportSectionContainer>
4052
)
@@ -43,6 +55,7 @@ const FolderPageExportSection = () => {
4355
const FolderPageExportSectionContainer = styled.div`
4456
margin: ${({ theme }) => theme.sizes.spaces.df}px
4557
${({ theme }) => theme.sizes.spaces.sm}px;
58+
4659
.export__section__block {
4760
input {
4861
color: ${({ theme }) => theme.colors.text.subtle};
@@ -64,6 +77,10 @@ const FolderPageExportSectionContainer = styled.div`
6477
flex-wrap: wrap;
6578
}
6679
}
80+
81+
.link {
82+
color: ${({ theme }) => theme.colors.text.subtle} !important;
83+
}
6784
`
6885

6986
export default FolderPageExportSection

0 commit comments

Comments
 (0)