1- import { Card , Layout , Statistic } from "antd" ;
1+ import { Alert , Card , Layout , Statistic } from "antd" ;
22import { observer } from "mobx-react" ;
33import * as React from "react" ;
44import { IUserLicense , UserLicensesAPI } from "../../api/v1/UserLicensesAPI" ;
5- import { Licenses } from "../../ui/Licenses" ;
65import { Loading } from "../../ui/Loading" ;
6+ import { Link } from "react-router-dom" ;
7+ import { Routes } from "../../routing/Routes" ;
78
89export const UserLicensesSite = observer ( ( ) => {
910 const [ userLicenses , setUserLicenses ] = React . useState < IUserLicense [ ] > ( ) ;
@@ -75,15 +76,32 @@ export const UserLicensesSite = observer(() => {
7576 return (
7677 < Layout style = { { padding : "0 24px 24px" , margin : "0" , width : "100%" } } >
7778 < Layout . Content style = { { margin : "24px 16px 0" } } >
78- < h1 > Get a license</ h1 >
79+ < h1 > On-Premise license</ h1 >
7980 < p style = { { maxWidth : 480 , marginTop : 16 } } >
80- Setup Texterify in your own infrastructure. Make sure that your data never leaves your own
81- infrastructure. Requires technical experience for installation. You can also get a subscription for
82- the cloud version of Texterify in the subscription tab of your organization.
81+ Get an on-premise license and make sure that your data never leaves your infrastructure.
82+ < br />
83+ < br />
84+ Contact us at{ " " }
85+ < a href = "mailto:support@texterify.com" target = "_blank" >
86+ support@texterify.com
87+ </ a > { " " }
88+ to get your on-premise license.
8389 </ p >
8490
91+ < Alert
92+ showIcon
93+ type = "info"
94+ message = {
95+ < >
96+ To get a monthly subscription for the cloud click{ " " }
97+ < Link to = { Routes . DASHBOARD . ORGANIZATIONS } > here</ Link > and select your organization. On the
98+ left then click on < b > Subscription</ b > .
99+ </ >
100+ }
101+ />
102+
85103 < div style = { { display : "flex" } } >
86- { userLicenses ? .length > 0 && (
104+ { userLicenses && userLicenses . length > 0 && (
87105 < div style = { { width : 600 , marginRight : 40 } } >
88106 < h3 style = { { marginTop : 24 } } > Your licenses</ h3 >
89107 { userLicenses . map ( ( license , index ) => {
@@ -94,10 +112,10 @@ export const UserLicensesSite = observer(() => {
94112 </ div >
95113 ) }
96114
97- < div style = { { flexGrow : 1 , maxWidth : 1000 } } >
115+ { /* <div style={{ flexGrow: 1, maxWidth: 1000 }}>
98116 <h3 style={{ marginTop: 24 }}>Get a new license</h3>
99117 <Licenses hostingType="on-premise" annualBilling />
100- </ div >
118+ </div> */ }
101119 </ div >
102120 </ Layout . Content >
103121 </ Layout >
0 commit comments