@@ -7,81 +7,6 @@ import { appBasePath } from "@cocalc/frontend/customize/app-base-path";
7
7
const { Paragraph, Text } = Typography ;
8
8
export const BUY_A_LICENSE_URL = join ( appBasePath , "/store/site-license" ) ;
9
9
10
- // I'm just putting "CoCalc" since this is only for cocalc.com usage, and the
11
- // messages below literally only apply to cocalc.
12
-
13
- const VERSIONS = {
14
- hsy : (
15
- < >
16
- < Paragraph strong >
17
- This is a call to support CoCalc by{ " " }
18
- < A href = { BUY_A_LICENSE_URL } > purchasing a license</ A > .
19
- </ Paragraph >
20
- < Paragraph >
21
- Behind the scenes, < A href = { "/about/team" } > people are working hard</ A > { " " }
22
- to keep the service running and improve it constantly. Your files and
23
- computations < A href = { "/info/status" } > run in our cluster</ A > , which
24
- costs money as well.
25
- </ Paragraph >
26
- < Paragraph >
27
- CoCalc receives no funding from large organizations or charitable
28
- foundations. The site depends entirely{ " " }
29
- < Text strong > on your financial support</ Text > to continue operating.
30
- Without your financial support this service will not survive long-term!
31
- </ Paragraph >
32
- < Paragraph >
33
- < A
34
- href = {
35
- "/support/new?hideExtra=true&type=purchase&subject=Support+CoCalc&title=Support+CoCalc"
36
- }
37
- >
38
- Contact us
39
- </ A > { " " }
40
- if you can give support in other ways or have any questions or comments.
41
- </ Paragraph >
42
- </ >
43
- ) ,
44
- blaec : (
45
- < >
46
- < Paragraph strong >
47
- Please{ " " }
48
- < b >
49
- < A href = { BUY_A_LICENSE_URL } > purchase a CoCalc license</ A >
50
- </ b >
51
- !
52
- </ Paragraph >
53
- < Paragraph >
54
- Not only will you{ " " }
55
- < u >
56
- < b > have a better experience</ b >
57
- </ u >
58
- , but behind the scenes, a{ " " }
59
- < A href = { "/about/team" } > handful of individuals</ A > are continuously
60
- working to make Collaborative Calculation accessible for academics and
61
- researchers everywhere. Behind every computation is a{ " " }
62
- < A href = { "/info/status" } > cluster</ A > that takes resources to maintain,
63
- and believe it or not, our company receives no funding from large
64
- organizations, charitable foundations or institutional investors.
65
- </ Paragraph >
66
- < Paragraph >
67
- The site depends entirely < Text strong > on your financial support</ Text > { " " }
68
- to continue operating.
69
- </ Paragraph >
70
- < Paragraph >
71
- Unable to purchase a license?{ " " }
72
- < A
73
- href = {
74
- "/support/new?hideExtra=true&type=purchase&subject=Support+CoCalc&title=Support+CoCalc"
75
- }
76
- >
77
- Contact us
78
- </ A > { " " }
79
- if you can give support in other ways or have any questions or comments.
80
- </ Paragraph >
81
- </ >
82
- ) ,
83
- } ;
84
-
85
10
export function CallToSupport ( { onClose } : { onClose ? } ) {
86
11
return (
87
12
< Alert
@@ -90,7 +15,39 @@ export function CallToSupport({ onClose }: { onClose? }) {
90
15
banner
91
16
type = "warning"
92
17
showIcon = { false }
93
- message = { VERSIONS . blaec }
18
+ message = {
19
+ < >
20
+ < Paragraph strong >
21
+ Please{ " " }
22
+ < b >
23
+ < A href = { BUY_A_LICENSE_URL } > purchase a CoCalc license</ A >
24
+ </ b >
25
+ !
26
+ </ Paragraph >
27
+ < Paragraph >
28
+ Not only will you{ " " }
29
+ < u >
30
+ < b > have a better experience</ b >
31
+ </ u >
32
+ , but behind the scenes, a{ " " }
33
+ < A href = { "/about/team" } > handful of individuals</ A > are continuously
34
+ working to make Collaborative Calculation accessible for academics
35
+ and researchers everywhere. Behind every computation is a{ " " }
36
+ < A href = { "/info/status" } > cluster</ A > that takes resources to
37
+ maintain.
38
+ </ Paragraph >
39
+ < Paragraph >
40
+ < A
41
+ href = {
42
+ "/support/new?hideExtra=true&type=purchase&subject=Support+CoCalc&title=Support+CoCalc"
43
+ }
44
+ >
45
+ Contact us
46
+ </ A > { " " }
47
+ if you have any questions or comments.
48
+ </ Paragraph >
49
+ </ >
50
+ }
94
51
/>
95
52
) ;
96
53
}
0 commit comments