Skip to content

Commit 5783766

Browse files
authored
Merge pull request #860 from devtron-labs/fix/freemium-license
feat: edit devtron reviews
2 parents ac8d45c + 2477c44 commit 5783766

File tree

8 files changed

+19
-54
lines changed

8 files changed

+19
-54
lines changed

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@devtron-labs/devtron-fe-common-lib",
3-
"version": "1.19.2",
3+
"version": "1.19.3",
44
"description": "Supporting common component library",
55
"type": "module",
66
"main": "dist/index.js",

src/Assets/IconV2/ic-apica.svg

Lines changed: 0 additions & 31 deletions
This file was deleted.

src/Shared/Components/Icon/Icon.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ import { ReactComponent as ICAborted } from '@IconsV2/ic-aborted.svg'
55
import { ReactComponent as ICActivity } from '@IconsV2/ic-activity.svg'
66
import { ReactComponent as ICAdd } from '@IconsV2/ic-add.svg'
77
import { ReactComponent as ICAmazonEks } from '@IconsV2/ic-amazon-eks.svg'
8-
import { ReactComponent as ICApica } from '@IconsV2/ic-apica.svg'
98
import { ReactComponent as ICAppGroup } from '@IconsV2/ic-app-group.svg'
109
import { ReactComponent as ICAppTemplate } from '@IconsV2/ic-app-template.svg'
1110
import { ReactComponent as ICArrowClockwise } from '@IconsV2/ic-arrow-clockwise.svg'
@@ -232,7 +231,6 @@ export const iconMap = {
232231
'ic-activity': ICActivity,
233232
'ic-add': ICAdd,
234233
'ic-amazon-eks': ICAmazonEks,
235-
'ic-apica': ICApica,
236234
'ic-app-group': ICAppGroup,
237235
'ic-app-template': ICAppTemplate,
238236
'ic-arrow-clockwise': ICArrowClockwise,

src/Shared/Components/License/DevtronLicenseCard.tsx

Lines changed: 15 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -73,17 +73,21 @@ const LicenseCardSubText = ({
7373
size={20}
7474
/>
7575
</div>
76-
<div className="mail-support">
77-
<Button
78-
dataTestId="mail-support"
79-
startIcon={<Icon name="ic-email" color={null} />}
80-
text={ENTERPRISE_SUPPORT_LINK}
81-
variant={ButtonVariantType.text}
82-
component={ButtonComponentType.anchor}
83-
anchorProps={{ href: `mailto:${ENTERPRISE_SUPPORT_LINK}` }}
84-
/>
85-
</div>
86-
<ContactSupportButton />
76+
{freemiumLimitReached && (
77+
<>
78+
<div className="mail-support">
79+
<Button
80+
dataTestId="mail-support"
81+
startIcon={<Icon name="ic-email" color={null} />}
82+
text={ENTERPRISE_SUPPORT_LINK}
83+
variant={ButtonVariantType.text}
84+
component={ButtonComponentType.anchor}
85+
anchorProps={{ href: `mailto:${ENTERPRISE_SUPPORT_LINK}` }}
86+
/>
87+
</div>
88+
<ContactSupportButton />
89+
</>
90+
)}
8791
</div>
8892
)
8993
}

src/Shared/Components/LoginBanner/LoginBanner.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,6 @@ const LoginBanner = () => {
162162
style={{
163163
maxHeight: '90%',
164164
}}
165-
loading="lazy"
166165
/>
167166
</div>
168167
<div className="p-40 dc__backdrop-filter bg__primary flex dc__gap-12 dc__zi-2">

src/Shared/Components/LoginBanner/constants.tsx

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -47,12 +47,6 @@ export const TESTIMONIAL_CARD_DATA: TestimonialCardConfig[] = [
4747
name: 'Vinod Vijapur',
4848
iconName: 'ic-73strings',
4949
},
50-
{
51-
quote: 'Partnering with Devtron has revolutionized the way we deliver solutions to our customers. Their Kubernetes-native platform has empowered us to automate and scale our deployments, reducing time-to-market and significantly boosting DevOps efficiency. The collaboration has not only streamlined our processes but also enhanced our ability to serve customers with agility and precision.',
52-
designation: 'CPTO at Apica',
53-
name: 'Ranjan Parthasarathy',
54-
iconName: 'ic-apica',
55-
},
5650
{
5751
quote: "Devtron CI has been instrumental in our migration to ARM architecture. The automation and efficiency it provides have not only cut costs but also significantly improved our system performance. Devtron's support made the transition smooth and effective, setting a new standard for our infrastructure operations.",
5852
designation: 'Principal Engineer at Spinny',

src/Shared/constants.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -529,6 +529,7 @@ export const EULA_LINK = 'https://devtron.ai/end-user-license-agreement-eula'
529529
export const CONTACT_SUPPORT_LINK = 'https://devtron.ai/enterprise-support'
530530
export const PRIVACY_POLICY_LINK = 'https://devtron.ai/privacy-policy'
531531
export const TERMS_OF_USE_LINK = 'https://devtron.ai/terms-of-use'
532+
export const CONTACT_SALES_LINK = 'https://devtron.ai/contact-sales'
532533

533534
export const enum DeleteComponentsName {
534535
Cluster = 'cluster',

0 commit comments

Comments
 (0)