Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(NET-1495): show RAC download banner only pro #676

Merged
merged 1 commit into from
Jul 30, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
62 changes: 32 additions & 30 deletions src/pages/networks/NetworkDetailsPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2563,39 +2563,41 @@ export default function NetworkDetailsPage(props: PageProps) {
{!isEmpty && (
<>
<Row>
<Row style={{ width: '100%' }}>
<Col
style={{
marginBottom: '1rem',
background: 'linear-gradient(90deg, #52379F 0%, #B66666 100%)',
padding: '1rem',
width: '100%',
display: 'flex',
alignItems: 'center',
}}
>
<span>
Introducing the Remote Access Client (RAC) - a graphical user interface (GUI) tool designed for
convenient connectivity to a Netmaker network. RAC is particularly well-suited for offsite machines
requiring access to a Netmaker network and is compatible with Windows, Mac, Linux and mobile
(Android, iOS) operating systems.
</span>
<Button
// href={ExternalLinks.RAC_DOWNLOAD_DOCS_LINK}
onClick={() => setIsDownloadRemoteAccessClientModalOpen(true)}
target="_blank"
rel="noreferrer"
type="primary"
{isServerEE && (
<Row style={{ width: '100%' }}>
<Col
style={{
marginLeft: 'auto',
marginBottom: '1rem',
background: 'linear-gradient(90deg, #52379F 0%, #B66666 100%)',
padding: '1rem',
width: '100%',
display: 'flex',
alignItems: 'center',
}}
ref={remoteAccessTabDownloadClientRef}
>
{' '}
Download RAC
</Button>
</Col>
</Row>
<span>
Introducing the Remote Access Client (RAC) - a graphical user interface (GUI) tool designed for
convenient connectivity to a Netmaker network. RAC is particularly well-suited for offsite
machines requiring access to a Netmaker network and is compatible with Windows, Mac, Linux and
mobile (Android, iOS) operating systems.
</span>
<Button
// href={ExternalLinks.RAC_DOWNLOAD_DOCS_LINK}
onClick={() => setIsDownloadRemoteAccessClientModalOpen(true)}
target="_blank"
rel="noreferrer"
type="primary"
style={{
marginLeft: 'auto',
}}
ref={remoteAccessTabDownloadClientRef}
>
{' '}
Download RAC
</Button>
</Col>
</Row>
)}

<Row style={{ width: '100%' }}>
<Col xs={24} xl={12} style={{ marginBottom: '2rem' }}>
Expand Down
Loading