@redocly/marketing-pages 0.1.41 → 0.1.43
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import e from"react";import t from"styled-components";import D from"dayjs";import{Product as z}from"../../pricing/types/types";function
|
|
1
|
+
import e from"react";import t from"styled-components";import D from"dayjs";import{Product as z}from"../../pricing/types/types";function i(l){return l%1===0?Math.floor(l).toLocaleString("en-US"):l.toLocaleString("en-US",{minimumFractionDigits:2,maximumFractionDigits:2})}const Y=({orgName:l,clientName:h,coreProducts:r,plan:u,numOfPages:y,numOfSeats:E,pagesPrice:s,projectsPrice:g,seatsPrice:d,projectsNumber:v,period:a})=>{const w=d+s+g,b=()=>r.length===3?`<span>${z.REALM}</span>`:r.length===2?`<span>${r[0]}</span>
|
|
2
2
|
<span style="font-weight: 400;">and</span>
|
|
3
|
-
<span>${
|
|
3
|
+
<span>${r[1]}</span>`:`<span>${r[0]}</span>`;return e.createElement(R,null,e.createElement(S,null,e.createElement(H,null,e.createElement(T,null,"Price Estimate"),e.createElement($,null,"Generated on: ",e.createElement("span",null,D().format("MMM D, YYYY")))),e.createElement(L,null,e.createElement("p",null,"Created for"),e.createElement("p",null,l),e.createElement("p",null,h))),e.createElement(C,null,e.createElement(f,null,e.createElement("p",null,"Products"),e.createElement(p,null)),e.createElement(c,null,e.createElement("div",null,e.createElement("p",null,e.createElement(n,{dangerouslySetInnerHTML:{__html:`<span>${u} plan: ${b()}</span>`}}),e.createElement(m,null,"x",E," seats"))),e.createElement("div",{style:{height:"24px"}},e.createElement("p",{style:{height:"24px"}},e.createElement(n,{style:{height:"24px"}},"$",i(d)),e.createElement(o,{style:{height:"22px"}},"/",a.toLowerCase())))),e.createElement(c,null,e.createElement("div",null,e.createElement("p",null,e.createElement(n,null,"Projects"),e.createElement(m,null,"x",v))),e.createElement("div",{style:{height:"24px"}},e.createElement("p",null,e.createElement(n,null,"$",i(g)),e.createElement(o,null,"/",a.toLowerCase())))),e.createElement(f,null,e.createElement("p",null,"Estimated usage"),e.createElement(p,null)),e.createElement(c,null,e.createElement("div",null,e.createElement("p",null,e.createElement(n,null,"Pages"),e.createElement(m,null,"x",y))),e.createElement("div",{style:{height:"24px"}},e.createElement("p",null,e.createElement(n,null,"$",i(s)),e.createElement(o,null,"/",a.toLowerCase())))),e.createElement(x,{style:{alignItems:"center",marginTop:"28px",marginBottom:"40px"}},e.createElement(p,null),e.createElement(j,null,e.createElement("p",null,"Total"),e.createElement("p",{style:{height:"24px"}},e.createElement(n,null,"$",i(w)," "),e.createElement(o,null,"/",a.toLowerCase())))),e.createElement(x,{style:{marginBottom:"82.47px"}},e.createElement("div",null,e.createElement("img",{src:require("../images/logo.svg")}),e.createElement("p",null,"team@redocly.com")),e.createElement(B,null,e.createElement("p",null,"Notes"),e.createElement("p",null,"Entitlements are described at"," ",e.createElement("a",{href:"https://redocly.com/pricing"},"redocly.com/pricing")," and are subject to the terms of the Redocly Subscription Agreement:"," ",e.createElement("a",{href:"https://redocly.com/subscription-agreement"},"redocly.com/subscription-agreement"),".",e.createElement("br",null),e.createElement("br",null),"This estimate is non-binding and intended for informational purposes only.\xA0Pricing excludes any applicable taxes. ",e.createElement("br",null),e.createElement("br",null),"All prices in USD.")))))},R=t.div`
|
|
4
4
|
padding: 8px;
|
|
5
5
|
width: 100%;
|
|
6
6
|
width: 595px;
|
|
@@ -70,7 +70,7 @@ import e from"react";import t from"styled-components";import D from"dayjs";impor
|
|
|
70
70
|
}
|
|
71
71
|
`,C=t.div`
|
|
72
72
|
padding: 4px 24px 40px 24px;
|
|
73
|
-
`,
|
|
73
|
+
`,f=t.div`
|
|
74
74
|
display: flex;
|
|
75
75
|
gap: 8px;
|
|
76
76
|
align-items: center;
|
|
@@ -86,18 +86,18 @@ import e from"react";import t from"styled-components";import D from"dayjs";impor
|
|
|
86
86
|
margin: 0;
|
|
87
87
|
white-space: nowrap;
|
|
88
88
|
}
|
|
89
|
-
`,
|
|
89
|
+
`,p=t.div`
|
|
90
90
|
height: 1px;
|
|
91
91
|
width: 100%;
|
|
92
92
|
background-color: var(--border-color-secondary);
|
|
93
|
-
`,
|
|
93
|
+
`,n=t.span`
|
|
94
94
|
color: var(--text-color-primary);
|
|
95
95
|
font-family: 'Red Hat Display';
|
|
96
96
|
font-size: 14px;
|
|
97
97
|
font-weight: 700;
|
|
98
98
|
line-height: 24px;
|
|
99
99
|
margin: 0;
|
|
100
|
-
`,
|
|
100
|
+
`,c=t.div`
|
|
101
101
|
display: grid;
|
|
102
102
|
grid-template-columns: 1.6fr 1.4fr;
|
|
103
103
|
margin-bottom: 16px;
|
|
@@ -116,21 +116,21 @@ import e from"react";import t from"styled-components";import D from"dayjs";impor
|
|
|
116
116
|
div:last-of-type {
|
|
117
117
|
justify-content: end;
|
|
118
118
|
}
|
|
119
|
-
`,
|
|
119
|
+
`,m=t.span`
|
|
120
120
|
color: var(--text-color-secondary);
|
|
121
121
|
font-family: 'Red Hat Display';
|
|
122
122
|
font-size: 14px;
|
|
123
123
|
font-weight: 500;
|
|
124
124
|
line-height: 24px;
|
|
125
125
|
margin: 0;
|
|
126
|
-
`,
|
|
126
|
+
`,o=t.span`
|
|
127
127
|
color: var(--text-color-primary);
|
|
128
128
|
font-family: 'Red Hat Display';
|
|
129
129
|
font-size: 12px;
|
|
130
130
|
font-weight: 400;
|
|
131
131
|
line-height: 22px;
|
|
132
132
|
margin: 0;
|
|
133
|
-
`,
|
|
133
|
+
`,x=t.div`
|
|
134
134
|
display: grid;
|
|
135
135
|
grid-template-columns: 1.2fr 1.8fr;
|
|
136
136
|
|
|
@@ -57,7 +57,6 @@ import e from"react";import n from"styled-components";import{breakpoints as t}fr
|
|
|
57
57
|
border-radius: 24px;
|
|
58
58
|
border: 1px solid var(--border-color-secondary);
|
|
59
59
|
max-width: 914px;
|
|
60
|
-
min-width: 600px;
|
|
61
60
|
width: 100%;
|
|
62
61
|
background-color: var(--color-white);
|
|
63
62
|
`,d=n.div`
|