@eventcatalog/core 2.32.2 → 2.33.1
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.
- package/dist/analytics/analytics.cjs +1 -1
- package/dist/analytics/analytics.js +2 -2
- package/dist/analytics/log-build.cjs +8 -4
- package/dist/analytics/log-build.d.cts +3 -2
- package/dist/analytics/log-build.d.ts +3 -2
- package/dist/analytics/log-build.js +3 -3
- package/dist/{chunk-JJKQS722.js → chunk-IVIWGH2J.js} +1 -1
- package/dist/{chunk-IHJ2QDXX.js → chunk-R3X2SCY6.js} +8 -4
- package/dist/{chunk-DSBB2TAS.js → chunk-VDBGM3NV.js} +1 -1
- package/dist/{chunk-NJGR7XUU.js → chunk-ZIZUBYNO.js} +52 -9
- package/dist/constants.cjs +1 -1
- package/dist/constants.js +1 -1
- package/dist/eventcatalog.cjs +79 -23
- package/dist/eventcatalog.js +27 -16
- package/dist/features.cjs +54 -10
- package/dist/features.d.cts +3 -2
- package/dist/features.d.ts +3 -2
- package/dist/features.js +5 -3
- package/eventcatalog/public/images/eventcatalog-upgrade.png +0 -0
- package/eventcatalog/src/components/Lists/CustomSideBarSectionList.astro +1 -13
- package/eventcatalog/src/components/MDX/ResourceGroupTable/ResourceGroupTable.astro +1 -13
- package/eventcatalog/src/components/MDX/ResourceLink/ResourceLink.astro +1 -12
- package/eventcatalog/src/components/MDX/SchemaViewer/SchemaViewer.astro +3 -29
- package/eventcatalog/src/components/MDX/components.tsx +1 -1
- package/eventcatalog/src/enterprise/ai-assistant/components/ChatSidebar.tsx +59 -61
- package/eventcatalog/src/enterprise/custom-documentation/pages/docs/custom/index.astro +26 -1
- package/eventcatalog/src/layouts/VerticalSideBarLayout.astro +72 -34
- package/eventcatalog/src/pages/chat/feature.astro +159 -0
- package/eventcatalog/src/pages/chat/index.astro +6 -2
- package/eventcatalog/src/pages/docs/custom/[...path]/index.astro +3 -9
- package/eventcatalog/src/pages/docs/custom/[...path].mdx.ts +32 -0
- package/eventcatalog/src/pages/docs/custom/feature.astro +165 -0
- package/eventcatalog/src/pages/docs/custom/index.astro +6 -2
- package/eventcatalog/src/pages/docs/llm/llms-full.txt.ts +19 -2
- package/eventcatalog/src/pages/docs/llm/llms.txt.ts +10 -0
- package/eventcatalog/src/pages/plans/index.astro +292 -0
- package/eventcatalog/src/utils/collections/util.ts +12 -0
- package/eventcatalog/src/utils/feature.ts +21 -5
- package/eventcatalog/src/utils/markdown.ts +30 -0
- package/package.json +1 -1
- package/eventcatalog/src/pages/pro/index.astro +0 -272
|
@@ -0,0 +1,292 @@
|
|
|
1
|
+
---
|
|
2
|
+
import VerticalSideBarLayout from '@layouts/VerticalSideBarLayout.astro';
|
|
3
|
+
import {
|
|
4
|
+
Rocket,
|
|
5
|
+
Users,
|
|
6
|
+
Bot,
|
|
7
|
+
ScrollText,
|
|
8
|
+
Component,
|
|
9
|
+
Cpu,
|
|
10
|
+
Code,
|
|
11
|
+
LifeBuoy,
|
|
12
|
+
ExternalLink,
|
|
13
|
+
Network,
|
|
14
|
+
Github,
|
|
15
|
+
Flag,
|
|
16
|
+
} from 'lucide-react';
|
|
17
|
+
---
|
|
18
|
+
|
|
19
|
+
<VerticalSideBarLayout title="EventCatalog Pro">
|
|
20
|
+
<div class="min-h-[calc(100vh-60px)] bg-white">
|
|
21
|
+
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-16">
|
|
22
|
+
{/* Hero Section */}
|
|
23
|
+
<div class="grid grid-cols-1 lg:grid-cols-2 gap-12 items-center mb-16">
|
|
24
|
+
<div>
|
|
25
|
+
<div class="inline-flex items-center px-4 py-2 rounded-full bg-purple-100 text-purple-700 font-medium text-sm mb-6">
|
|
26
|
+
<Rocket className="w-4 h-4 mr-2" />
|
|
27
|
+
Upgrade your Catalog
|
|
28
|
+
</div>
|
|
29
|
+
<h1 class="text-4xl font-bold text-gray-900 tracking-tight mb-4">Supercharge your EventCatalog</h1>
|
|
30
|
+
<p class="text-xl text-gray-600 mb-8">
|
|
31
|
+
Unlock advanced features like automated docs (e.g OpenAPI, AsyncAPI), Custom documentation, AI assistant, and catalog
|
|
32
|
+
federation — all designed to help you scale without complexity.
|
|
33
|
+
</p>
|
|
34
|
+
|
|
35
|
+
{/* Integration Sources */}
|
|
36
|
+
<div class="mb-8">
|
|
37
|
+
<p class="text-sm font-medium text-gray-500 mb-4">Generate documentation from:</p>
|
|
38
|
+
<div class="grid grid-cols-2 md:grid-cols-3 gap-4">
|
|
39
|
+
<a
|
|
40
|
+
href="https://www.eventcatalog.dev/integrations/openapi"
|
|
41
|
+
class="flex items-center space-x-2 bg-gray-50 rounded-lg px-4 py-2 hover:bg-gray-100 transition-colors duration-150"
|
|
42
|
+
>
|
|
43
|
+
<img src="/icons/openapi.svg" alt="OpenAPI" class="w-6 h-6" />
|
|
44
|
+
<span class="text-sm font-medium">OpenAPI</span>
|
|
45
|
+
</a>
|
|
46
|
+
<a
|
|
47
|
+
href="https://www.eventcatalog.dev/integrations/asyncapi"
|
|
48
|
+
class="flex items-center space-x-2 bg-gray-50 rounded-lg px-4 py-2 hover:bg-gray-100 transition-colors duration-150"
|
|
49
|
+
>
|
|
50
|
+
<img src="/icons/asyncapi.svg" alt="AsyncAPI" class="w-6 h-6" />
|
|
51
|
+
<span class="text-sm font-medium">AsyncAPI</span>
|
|
52
|
+
</a>
|
|
53
|
+
<a
|
|
54
|
+
href="https://www.eventcatalog.dev/integrations"
|
|
55
|
+
class="flex items-center space-x-2 bg-gray-50 rounded-lg px-4 py-2 hover:bg-gray-100 transition-colors duration-150"
|
|
56
|
+
>
|
|
57
|
+
<Component className="w-6 h-6 text-purple-600" />
|
|
58
|
+
<span class="text-sm font-medium">And more...</span>
|
|
59
|
+
</a>
|
|
60
|
+
</div>
|
|
61
|
+
</div>
|
|
62
|
+
|
|
63
|
+
<div class="flex flex-col sm:flex-row gap-4 mb-8">
|
|
64
|
+
<a
|
|
65
|
+
href="https://www.eventcatalog.cloud"
|
|
66
|
+
target="_blank"
|
|
67
|
+
class="inline-flex items-center justify-center px-6 py-3 border border-transparent text-base font-medium rounded-lg text-white bg-purple-600 hover:bg-purple-700 transition-colors duration-150"
|
|
68
|
+
>
|
|
69
|
+
Try for free
|
|
70
|
+
<svg class="ml-2 w-4 h-4" viewBox="0 0 20 20" fill="currentColor">
|
|
71
|
+
<path
|
|
72
|
+
fill-rule="evenodd"
|
|
73
|
+
d="M10.293 3.293a1 1 0 011.414 0l6 6a1 1 0 010 1.414l-6 6a1 1 0 01-1.414-1.414L14.586 11H3a1 1 0 110-2h11.586l-4.293-4.293a1 1 0 010-1.414z"
|
|
74
|
+
clip-rule="evenodd"></path>
|
|
75
|
+
</svg>
|
|
76
|
+
</a>
|
|
77
|
+
<a
|
|
78
|
+
href="https://www.eventcatalog.dev"
|
|
79
|
+
target="_blank"
|
|
80
|
+
class="inline-flex items-center justify-center px-6 py-3 border border-gray-300 text-base font-medium rounded-lg text-gray-700 bg-white hover:bg-gray-50 transition-colors duration-150"
|
|
81
|
+
>
|
|
82
|
+
View documentation
|
|
83
|
+
</a>
|
|
84
|
+
</div>
|
|
85
|
+
<p class="text-sm text-gray-500">Try free for 14 days, no credit card required</p>
|
|
86
|
+
</div>
|
|
87
|
+
|
|
88
|
+
<div class="relative">
|
|
89
|
+
<img
|
|
90
|
+
src="/images/eventcatalog-upgrade.png"
|
|
91
|
+
alt="EventCatalog Pro"
|
|
92
|
+
class="w-full rounded-xl shadow-lg border border-gray-200"
|
|
93
|
+
/>
|
|
94
|
+
</div>
|
|
95
|
+
</div>
|
|
96
|
+
|
|
97
|
+
{/* Why upgrade section */}
|
|
98
|
+
<div class="mb-16">
|
|
99
|
+
<h2 class="text-2xl font-semibold text-gray-900 mb-8">Why upgrade EventCatalog?</h2>
|
|
100
|
+
<div class="grid grid-cols-1 md:grid-cols-3 gap-8">
|
|
101
|
+
<div class="bg-white rounded-xl p-6 shadow-sm border border-gray-200">
|
|
102
|
+
<div class="w-12 h-12 bg-purple-100 rounded-lg flex items-center justify-center mb-4">
|
|
103
|
+
<ScrollText className="w-6 h-6 text-purple-600" />
|
|
104
|
+
</div>
|
|
105
|
+
<h3 class="text-lg font-semibold text-gray-900 mb-2">A living source of truth</h3>
|
|
106
|
+
<p class="text-gray-600">Keep docs in sync with your systems, ensuring your team always has accurate information.</p>
|
|
107
|
+
</div>
|
|
108
|
+
|
|
109
|
+
<div class="bg-white rounded-xl p-6 shadow-sm border border-gray-200">
|
|
110
|
+
<div class="w-12 h-12 bg-purple-100 rounded-lg flex items-center justify-center mb-4">
|
|
111
|
+
<Users className="w-6 h-6 text-purple-600" />
|
|
112
|
+
</div>
|
|
113
|
+
<h3 class="text-lg font-semibold text-gray-900 mb-2">Shared system understanding</h3>
|
|
114
|
+
<p class="text-gray-600">Align teams and reduce tribal knowledge with centralized architecture documentation.</p>
|
|
115
|
+
</div>
|
|
116
|
+
|
|
117
|
+
<div class="bg-white rounded-xl p-6 shadow-sm border border-gray-200">
|
|
118
|
+
<div class="w-12 h-12 bg-purple-100 rounded-lg flex items-center justify-center mb-4">
|
|
119
|
+
<Component className="w-6 h-6 text-purple-600" />
|
|
120
|
+
</div>
|
|
121
|
+
<h3 class="text-lg font-semibold text-gray-900 mb-2">Architecture that scales</h3>
|
|
122
|
+
<p class="text-gray-600">Grow without losing context of complexity, making architectural decisions easy to find.</p>
|
|
123
|
+
</div>
|
|
124
|
+
</div>
|
|
125
|
+
</div>
|
|
126
|
+
|
|
127
|
+
{/* Documentation Journey Section */}
|
|
128
|
+
<div class="mb-16">
|
|
129
|
+
<h2 class="text-2xl font-semibold text-gray-900 mb-4">Scales with your team and architecture</h2>
|
|
130
|
+
<p class="text-gray-600 mb-8 max-w-3xl">
|
|
131
|
+
From scattered documentation to a well-governed system, EventCatalog helps you control complexity with well governed
|
|
132
|
+
documentation for your teams. Choose the plan that fits your needs.
|
|
133
|
+
</p>
|
|
134
|
+
|
|
135
|
+
<div class="relative py-8">
|
|
136
|
+
{/* Journey Line */}
|
|
137
|
+
<div class="absolute top-1/2 left-0 w-full h-1 bg-purple-200 transform -translate-y-1/2 hidden md:block"></div>
|
|
138
|
+
|
|
139
|
+
<div class="grid grid-cols-1 md:grid-cols-4 gap-8 relative">
|
|
140
|
+
{/* Stage 1 */}
|
|
141
|
+
<div class="bg-white rounded-xl p-6 shadow-sm border border-gray-200 relative">
|
|
142
|
+
<div
|
|
143
|
+
class="w-12 h-12 bg-purple-100 rounded-full flex items-center justify-center mb-4 mx-auto md:absolute md:-top-6 md:left-1/2 md:transform md:-translate-x-1/2"
|
|
144
|
+
>
|
|
145
|
+
<Github className="w-6 h-6 text-purple-600" />
|
|
146
|
+
</div>
|
|
147
|
+
<h3 class="text-lg font-semibold text-gray-900 mb-2 text-center">Community Edition</h3>
|
|
148
|
+
<p class="text-gray-600 text-sm text-center">You're just beginning to document services, domains, and events.</p>
|
|
149
|
+
</div>
|
|
150
|
+
|
|
151
|
+
{/* Stage 2 */}
|
|
152
|
+
<div class="bg-white rounded-xl p-6 shadow-sm border border-gray-200 relative">
|
|
153
|
+
<div
|
|
154
|
+
class="w-12 h-12 bg-purple-100 rounded-full flex items-center justify-center mb-4 mx-auto md:absolute md:-top-6 md:left-1/2 md:transform md:-translate-x-1/2"
|
|
155
|
+
>
|
|
156
|
+
<Flag className="w-6 h-6 text-purple-600" />
|
|
157
|
+
</div>
|
|
158
|
+
<h3 class="text-lg font-semibold text-gray-900 mb-2 text-center">Starter Plan</h3>
|
|
159
|
+
<p class="text-gray-600 text-sm text-center">For teams formalizing their architecture documentation</p>
|
|
160
|
+
</div>
|
|
161
|
+
|
|
162
|
+
{/* Stage 3 */}
|
|
163
|
+
<div class="bg-white rounded-xl p-6 shadow-sm border border-gray-200 relative">
|
|
164
|
+
<div
|
|
165
|
+
class="w-12 h-12 bg-purple-100 rounded-full flex items-center justify-center mb-4 mx-auto md:absolute md:-top-6 md:left-1/2 md:transform md:-translate-x-1/2"
|
|
166
|
+
>
|
|
167
|
+
<Network className="w-6 h-6 text-purple-600" />
|
|
168
|
+
</div>
|
|
169
|
+
<h3 class="text-lg font-semibold text-gray-900 mb-2 text-center">Scale Plan</h3>
|
|
170
|
+
<p class="text-gray-600 text-sm text-center">
|
|
171
|
+
Built for teams scaling across domains and integrating with external systems
|
|
172
|
+
</p>
|
|
173
|
+
</div>
|
|
174
|
+
|
|
175
|
+
{/* Stage 4 */}
|
|
176
|
+
<div class="bg-white rounded-xl p-6 shadow-sm border border-gray-200 relative">
|
|
177
|
+
<div
|
|
178
|
+
class="w-12 h-12 bg-purple-100 rounded-full flex items-center justify-center mb-4 mx-auto md:absolute md:-top-6 md:left-1/2 md:transform md:-translate-x-1/2"
|
|
179
|
+
>
|
|
180
|
+
<Rocket className="w-6 h-6 text-purple-600" />
|
|
181
|
+
</div>
|
|
182
|
+
<h3 class="text-lg font-semibold text-gray-900 mb-2 text-center">Enterprise Plan</h3>
|
|
183
|
+
<p class="text-gray-600 text-sm text-center">
|
|
184
|
+
Designed for organizations building and governing complex event platforms
|
|
185
|
+
</p>
|
|
186
|
+
</div>
|
|
187
|
+
</div>
|
|
188
|
+
|
|
189
|
+
{/* Mobile Progress Indicators */}
|
|
190
|
+
<div class="flex justify-center items-center space-x-2 mt-4 md:hidden">
|
|
191
|
+
<div class="w-2 h-2 rounded-full bg-purple-600"></div>
|
|
192
|
+
<div class="w-2 h-2 rounded-full bg-purple-400"></div>
|
|
193
|
+
<div class="w-2 h-2 rounded-full bg-purple-300"></div>
|
|
194
|
+
<div class="w-2 h-2 rounded-full bg-purple-200"></div>
|
|
195
|
+
</div>
|
|
196
|
+
</div>
|
|
197
|
+
</div>
|
|
198
|
+
|
|
199
|
+
{/* Features Section */}
|
|
200
|
+
<div class="mb-16">
|
|
201
|
+
<h2 class="text-2xl font-semibold text-gray-900 mb-8">Save time with EventCatalog</h2>
|
|
202
|
+
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8">
|
|
203
|
+
<div class="bg-white rounded-xl p-6 shadow-sm border border-gray-200">
|
|
204
|
+
<div class="w-12 h-12 bg-blue-100 rounded-lg flex items-center justify-center mb-4">
|
|
205
|
+
<ScrollText className="w-6 h-6 text-blue-600" />
|
|
206
|
+
</div>
|
|
207
|
+
<h3 class="text-lg font-semibold text-gray-900 mb-2">Custom Documentation</h3>
|
|
208
|
+
<p class="text-gray-600">Add ADRs, runbooks, and technical guidelines to create a centralized knowledge hub.</p>
|
|
209
|
+
</div>
|
|
210
|
+
|
|
211
|
+
<div class="bg-white rounded-xl p-6 shadow-sm border border-gray-200">
|
|
212
|
+
<div class="w-12 h-12 bg-green-100 rounded-lg flex items-center justify-center mb-4">
|
|
213
|
+
<Bot className="w-6 h-6 text-green-600" />
|
|
214
|
+
</div>
|
|
215
|
+
<h3 class="text-lg font-semibold text-gray-900 mb-2">AI Assistant</h3>
|
|
216
|
+
<p class="text-gray-600">Chat with your catalog to quickly find information about your architecture.</p>
|
|
217
|
+
</div>
|
|
218
|
+
|
|
219
|
+
<div class="bg-white rounded-xl p-6 shadow-sm border border-gray-200">
|
|
220
|
+
<div class="w-12 h-12 bg-purple-100 rounded-lg flex items-center justify-center mb-4">
|
|
221
|
+
<Component className="w-6 h-6 text-purple-600" />
|
|
222
|
+
</div>
|
|
223
|
+
<h3 class="text-lg font-semibold text-gray-900 mb-2">Federation</h3>
|
|
224
|
+
<p class="text-gray-600">Connect multiple catalogs into a unified view for centralized visibility across teams.</p>
|
|
225
|
+
</div>
|
|
226
|
+
|
|
227
|
+
<div class="bg-white rounded-xl p-6 shadow-sm border border-gray-200">
|
|
228
|
+
<div class="w-12 h-12 bg-indigo-100 rounded-lg flex items-center justify-center mb-4">
|
|
229
|
+
<Code className="w-6 h-6 text-indigo-600" />
|
|
230
|
+
</div>
|
|
231
|
+
<h3 class="text-lg font-semibold text-gray-900 mb-2">IDE Integration</h3>
|
|
232
|
+
<p class="text-gray-600">Access EventCatalog directly from your IDE for seamless documentation while coding.</p>
|
|
233
|
+
</div>
|
|
234
|
+
|
|
235
|
+
<div class="bg-white rounded-xl p-6 shadow-sm border border-gray-200">
|
|
236
|
+
<div class="w-12 h-12 bg-yellow-100 rounded-lg flex items-center justify-center mb-4">
|
|
237
|
+
<Cpu className="w-6 h-6 text-yellow-600" />
|
|
238
|
+
</div>
|
|
239
|
+
<h3 class="text-lg font-semibold text-gray-900 mb-2">Automated Documentation</h3>
|
|
240
|
+
<p class="text-gray-600">
|
|
241
|
+
Generate and maintain documentation automatically with integrations for AsyncAPI and OpenAPI.
|
|
242
|
+
</p>
|
|
243
|
+
</div>
|
|
244
|
+
|
|
245
|
+
<div class="bg-white rounded-xl p-6 shadow-sm border border-gray-200">
|
|
246
|
+
<div class="w-12 h-12 bg-red-100 rounded-lg flex items-center justify-center mb-4">
|
|
247
|
+
<LifeBuoy className="w-6 h-6 text-red-600" />
|
|
248
|
+
</div>
|
|
249
|
+
<h3 class="text-lg font-semibold text-gray-900 mb-2">Priority Support</h3>
|
|
250
|
+
<p class="text-gray-600">Get priority email support and assistance from the EventCatalog team.</p>
|
|
251
|
+
</div>
|
|
252
|
+
</div>
|
|
253
|
+
</div>
|
|
254
|
+
|
|
255
|
+
{/* Questions Section */}
|
|
256
|
+
<div class="mt-16">
|
|
257
|
+
<h2 class="text-2xl font-semibold text-gray-900 mb-8">Questions about EventCatalog?</h2>
|
|
258
|
+
<div class="grid grid-cols-1 md:grid-cols-2 gap-8">
|
|
259
|
+
<div class="bg-white rounded-xl p-6 shadow-sm border border-gray-200">
|
|
260
|
+
<h3 class="text-lg font-semibold text-gray-900 mb-2">Request a Demo</h3>
|
|
261
|
+
<p class="text-gray-600 mb-4">See EventCatalog in action with a personalized demo from our team.</p>
|
|
262
|
+
<a
|
|
263
|
+
href="mailto:hello@eventcatalog.dev"
|
|
264
|
+
class="text-purple-600 hover:text-purple-700 font-medium inline-flex items-center"
|
|
265
|
+
>
|
|
266
|
+
Schedule a demo
|
|
267
|
+
<ExternalLink className="w-4 h-4 ml-1.5" />
|
|
268
|
+
</a>
|
|
269
|
+
</div>
|
|
270
|
+
|
|
271
|
+
<div class="bg-white rounded-xl p-6 shadow-sm border border-gray-200">
|
|
272
|
+
<h3 class="text-lg font-semibold text-gray-900 mb-2">Join the community</h3>
|
|
273
|
+
<p class="text-gray-600 mb-4">Join our growing community on Discord. Over 1000+ members.</p>
|
|
274
|
+
<a
|
|
275
|
+
href="https://discord.gg/3rjaZMmrAm"
|
|
276
|
+
class="text-purple-600 hover:text-purple-700 font-medium inline-flex items-center"
|
|
277
|
+
>
|
|
278
|
+
Join the community
|
|
279
|
+
<ExternalLink className="w-4 h-4 ml-1.5" />
|
|
280
|
+
</a>
|
|
281
|
+
</div>
|
|
282
|
+
</div>
|
|
283
|
+
</div>
|
|
284
|
+
</div>
|
|
285
|
+
</div>
|
|
286
|
+
</VerticalSideBarLayout>
|
|
287
|
+
|
|
288
|
+
<style>
|
|
289
|
+
.scroll-smooth {
|
|
290
|
+
scroll-behavior: smooth;
|
|
291
|
+
}
|
|
292
|
+
</style>
|
|
@@ -97,3 +97,15 @@ export const findMatchingNodes = (
|
|
|
97
97
|
});
|
|
98
98
|
});
|
|
99
99
|
};
|
|
100
|
+
|
|
101
|
+
export const resourceToCollectionMap = {
|
|
102
|
+
service: 'services',
|
|
103
|
+
event: 'events',
|
|
104
|
+
command: 'commands',
|
|
105
|
+
query: 'queries',
|
|
106
|
+
domain: 'domains',
|
|
107
|
+
flow: 'flows',
|
|
108
|
+
channel: 'channels',
|
|
109
|
+
user: 'users',
|
|
110
|
+
team: 'teams',
|
|
111
|
+
} as const;
|
|
@@ -1,5 +1,21 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
/**
|
|
2
|
+
* ⚠️ WARNING: IMPORTANT LICENSE NOTICE ⚠️
|
|
3
|
+
*
|
|
4
|
+
* Manually setting environment variables (EVENTCATALOG_STARTER or EVENTCATALOG_SCALE) to 'true'
|
|
5
|
+
* or modifying these functions without a valid license is strictly prohibited and constitutes
|
|
6
|
+
* a violation of EventCatalog's terms of use and license agreement.
|
|
7
|
+
*
|
|
8
|
+
* To access premium features legally:
|
|
9
|
+
* 1. Visit https://www.eventcatalog.dev/pricing
|
|
10
|
+
* 2. Purchase an appropriate license
|
|
11
|
+
* 3. Follow the official activation instructions
|
|
12
|
+
*/
|
|
13
|
+
|
|
14
|
+
// These functions check for valid, legally obtained access to premium features
|
|
15
|
+
export const isEventCatalogStarterEnabled = () => process.env.EVENTCATALOG_STARTER === 'true';
|
|
16
|
+
export const isEventCatalogScaleEnabled = () => process.env.EVENTCATALOG_SCALE === 'true';
|
|
17
|
+
|
|
18
|
+
export const isCustomDocsEnabled = () => isEventCatalogStarterEnabled() || isEventCatalogScaleEnabled();
|
|
19
|
+
export const isEventCatalogChatEnabled = () => isEventCatalogStarterEnabled() || isEventCatalogScaleEnabled();
|
|
20
|
+
|
|
21
|
+
export const isEventCatalogUpgradeEnabled = () => !isEventCatalogStarterEnabled() && !isEventCatalogScaleEnabled();
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
// Method returns MDX components and there props in markdown files
|
|
2
|
+
// rarely used, but useful for components that need to know how many times
|
|
3
|
+
// the user wants to render a component in a markdown file
|
|
4
|
+
export const getMDXComponentsByName = (document: string, componentName: string) => {
|
|
5
|
+
// Define regex pattern to match <SchemaViewer ... />
|
|
6
|
+
const pattern = new RegExp(`<${componentName}\\s+([^>]*)\\/>`, 'g');
|
|
7
|
+
|
|
8
|
+
// Find all matches of the pattern
|
|
9
|
+
const matches = [...document.matchAll(pattern)];
|
|
10
|
+
|
|
11
|
+
// Extract the properties of each SchemaViewer
|
|
12
|
+
const components = matches.map((match) => {
|
|
13
|
+
const propsString = match[1];
|
|
14
|
+
const props = {};
|
|
15
|
+
|
|
16
|
+
// Use regex to extract key-value pairs from propsString
|
|
17
|
+
const propsPattern = /(\w+)=["']([^"']+)["']/g;
|
|
18
|
+
let propMatch;
|
|
19
|
+
while ((propMatch = propsPattern.exec(propsString)) !== null) {
|
|
20
|
+
const key = propMatch[1];
|
|
21
|
+
const value = propMatch[2];
|
|
22
|
+
// @ts-ignore
|
|
23
|
+
props[key] = value;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
return props;
|
|
27
|
+
});
|
|
28
|
+
|
|
29
|
+
return components;
|
|
30
|
+
};
|
package/package.json
CHANGED
|
@@ -1,272 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
import VerticalSideBarLayout from '@layouts/VerticalSideBarLayout.astro';
|
|
3
|
-
import { Star, Users, Bot, ScrollText, Component, PanelLeft, Cpu, Code, LifeBuoy, ExternalLink, Eye } from 'lucide-react';
|
|
4
|
-
import { buildUrl } from '@utils/url-builder';
|
|
5
|
-
---
|
|
6
|
-
|
|
7
|
-
<VerticalSideBarLayout title="EventCatalog Pro">
|
|
8
|
-
<div class="min-h-[calc(100vh-60px)] bg-white">
|
|
9
|
-
{/* Hero section with solid purple background */}
|
|
10
|
-
<div class="bg-purple-600 pt-10 pb-20">
|
|
11
|
-
<div class="container px-8 lg:px-8 mx-auto max-w-[80em]">
|
|
12
|
-
<div class="flex flex-col pt-10">
|
|
13
|
-
<!-- <div class="mb-5">
|
|
14
|
-
<div class="inline-flex items-center px-3 py-1 rounded-full text-xs font-medium bg-white text-purple-700">
|
|
15
|
-
Premium Features
|
|
16
|
-
</div>
|
|
17
|
-
</div> -->
|
|
18
|
-
|
|
19
|
-
<div class="flex flex-col md:flex-row justify-between items-start">
|
|
20
|
-
<div class="md:w-1/2 mt-10 pr-10">
|
|
21
|
-
<h1 class="text-4xl md:text-5xl font-bold text-white mb-4">EventCatalog Pro</h1>
|
|
22
|
-
<h2 class="text-2xl font-normal text-white mb-4">Take your documentation to the next level</h2>
|
|
23
|
-
<p class="text-base text-white opacity-90 mb-10 max-w-2xl">
|
|
24
|
-
<!-- Unlock premium features to enhance your event catalog and streamline your architecture documentation. -->
|
|
25
|
-
Keep documentation up-to-date, reduce onboarding time, and make architectural decisions easy to find — all in one place
|
|
26
|
-
</p>
|
|
27
|
-
|
|
28
|
-
<div class="flex flex-col sm:flex-row gap-4">
|
|
29
|
-
<a
|
|
30
|
-
href="https://www.eventcatalog.dev/pricing"
|
|
31
|
-
class="inline-flex items-center justify-center px-6 py-2.5 bg-white text-purple-700 text-sm font-medium rounded transition-colors hover:bg-purple-50"
|
|
32
|
-
>
|
|
33
|
-
Upgrade to Pro
|
|
34
|
-
<ExternalLink className="w-4 h-4 ml-1.5" />
|
|
35
|
-
</a>
|
|
36
|
-
</div>
|
|
37
|
-
<span class="text-white text-[12px] mt-4 block"> Get 14 day trial - no credit card required </span>
|
|
38
|
-
</div>
|
|
39
|
-
|
|
40
|
-
<div class="md:w-1/2 flex justify-center md:justify-end items-center mt-10 md:mt-0">
|
|
41
|
-
<div class="flex flex-col items-center">
|
|
42
|
-
<img
|
|
43
|
-
src="/images/custom-docs-placeholder.png"
|
|
44
|
-
alt="EventCatalog Pro Features"
|
|
45
|
-
class="rounded-md shadow-md max-w-full h-auto w-full object-cover"
|
|
46
|
-
/>
|
|
47
|
-
<p class="text-white text-xs block w-full mt-2 font-medium text-right">Custom documentation example</p>
|
|
48
|
-
</div>
|
|
49
|
-
</div>
|
|
50
|
-
</div>
|
|
51
|
-
</div>
|
|
52
|
-
</div>
|
|
53
|
-
</div>
|
|
54
|
-
|
|
55
|
-
<main class="container px-8 lg:px-8 mx-auto py-10 max-w-[80em]">
|
|
56
|
-
{/* Feature Section */}
|
|
57
|
-
<div class="mb-14">
|
|
58
|
-
<h2 class="text-2xl font-semibold mb-8 text-gray-900">Premium Features</h2>
|
|
59
|
-
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6">
|
|
60
|
-
{/* Custom Documentation */}
|
|
61
|
-
<div
|
|
62
|
-
class="bg-white rounded-lg border border-gray-200 overflow-hidden hover:border-purple-200 hover:shadow-md transition-all duration-200"
|
|
63
|
-
>
|
|
64
|
-
<div class="p-6">
|
|
65
|
-
<div class="flex items-start gap-3 mb-3">
|
|
66
|
-
<div class="p-2 bg-purple-100 rounded-lg flex-shrink-0">
|
|
67
|
-
<ScrollText className="w-5 h-5 text-purple-600" />
|
|
68
|
-
</div>
|
|
69
|
-
<div>
|
|
70
|
-
<h3 class="text-lg font-semibold text-gray-900">Custom Documentation</h3>
|
|
71
|
-
</div>
|
|
72
|
-
</div>
|
|
73
|
-
<p class="text-gray-600 text-sm mb-3">
|
|
74
|
-
Add any type of documentation such as ADRs, runbooks, and technical guidelines to create a centralized knowledge
|
|
75
|
-
hub.
|
|
76
|
-
</p>
|
|
77
|
-
<a href={buildUrl('/docs/custom')} class="text-sm text-purple-600 hover:text-purple-700 font-medium">
|
|
78
|
-
Learn more →
|
|
79
|
-
</a>
|
|
80
|
-
</div>
|
|
81
|
-
</div>
|
|
82
|
-
|
|
83
|
-
{/* AI Assistant */}
|
|
84
|
-
<div
|
|
85
|
-
class="bg-white rounded-lg border border-gray-200 overflow-hidden hover:border-blue-200 hover:shadow-md transition-all duration-200"
|
|
86
|
-
>
|
|
87
|
-
<div class="p-6">
|
|
88
|
-
<div class="flex items-start gap-3 mb-3">
|
|
89
|
-
<div class="p-2 bg-blue-100 rounded-lg flex-shrink-0">
|
|
90
|
-
<Bot className="w-5 h-5 text-blue-600" />
|
|
91
|
-
</div>
|
|
92
|
-
<div>
|
|
93
|
-
<h3 class="text-lg font-semibold text-gray-900">AI Assistant</h3>
|
|
94
|
-
</div>
|
|
95
|
-
</div>
|
|
96
|
-
<p class="text-gray-600 text-sm mb-3">
|
|
97
|
-
Chat with your catalog to quickly find information and get instant answers about your architecture.
|
|
98
|
-
</p>
|
|
99
|
-
<a href={buildUrl('/chat')} class="text-sm text-blue-600 hover:text-blue-700 font-medium"> Learn more → </a>
|
|
100
|
-
</div>
|
|
101
|
-
</div>
|
|
102
|
-
|
|
103
|
-
{/* EventCatalog Federation */}
|
|
104
|
-
<div
|
|
105
|
-
class="bg-white rounded-lg border border-gray-200 overflow-hidden hover:border-green-200 hover:shadow-md transition-all duration-200"
|
|
106
|
-
>
|
|
107
|
-
<div class="p-6">
|
|
108
|
-
<div class="flex items-start gap-3 mb-3">
|
|
109
|
-
<div class="p-2 bg-green-100 rounded-lg flex-shrink-0">
|
|
110
|
-
<Component className="w-5 h-5 text-green-600" />
|
|
111
|
-
</div>
|
|
112
|
-
<div>
|
|
113
|
-
<h3 class="text-lg font-semibold text-gray-900">Federation</h3>
|
|
114
|
-
</div>
|
|
115
|
-
</div>
|
|
116
|
-
<p class="text-gray-600 text-sm mb-3">
|
|
117
|
-
Connect 1-3 separate event catalogs into a unified view for centralized visibility across teams.
|
|
118
|
-
</p>
|
|
119
|
-
<a
|
|
120
|
-
href="https://www.eventcatalog.dev/features/federation"
|
|
121
|
-
class="text-sm text-green-600 hover:text-green-700 font-medium"
|
|
122
|
-
>
|
|
123
|
-
Learn more →
|
|
124
|
-
</a>
|
|
125
|
-
</div>
|
|
126
|
-
</div>
|
|
127
|
-
|
|
128
|
-
{/* IDE Integration */}
|
|
129
|
-
<div
|
|
130
|
-
class="bg-white rounded-lg border border-gray-200 overflow-hidden hover:border-indigo-200 hover:shadow-md transition-all duration-200"
|
|
131
|
-
>
|
|
132
|
-
<div class="p-6">
|
|
133
|
-
<div class="flex items-start gap-3 mb-3">
|
|
134
|
-
<div class="p-2 bg-indigo-100 rounded-lg flex-shrink-0">
|
|
135
|
-
<Code className="w-5 h-5 text-indigo-600" />
|
|
136
|
-
</div>
|
|
137
|
-
<div>
|
|
138
|
-
<h3 class="text-lg font-semibold text-gray-900">IDE Integration</h3>
|
|
139
|
-
</div>
|
|
140
|
-
</div>
|
|
141
|
-
<p class="text-gray-600 text-sm mb-3">
|
|
142
|
-
Access EventCatalog directly from your IDE for seamless documentation while coding.
|
|
143
|
-
</p>
|
|
144
|
-
<a
|
|
145
|
-
href="https://www.eventcatalog.dev/features/ide"
|
|
146
|
-
class="text-sm text-indigo-600 hover:text-indigo-700 font-medium"
|
|
147
|
-
>
|
|
148
|
-
Learn more →
|
|
149
|
-
</a>
|
|
150
|
-
</div>
|
|
151
|
-
</div>
|
|
152
|
-
|
|
153
|
-
{/* Automated Documentation */}
|
|
154
|
-
<div
|
|
155
|
-
class="bg-white rounded-lg border border-gray-200 overflow-hidden hover:border-yellow-200 hover:shadow-md transition-all duration-200"
|
|
156
|
-
>
|
|
157
|
-
<div class="p-6">
|
|
158
|
-
<div class="flex items-start gap-3 mb-3">
|
|
159
|
-
<div class="p-2 bg-yellow-100 rounded-lg flex-shrink-0">
|
|
160
|
-
<Cpu className="w-5 h-5 text-yellow-600" />
|
|
161
|
-
</div>
|
|
162
|
-
<div>
|
|
163
|
-
<h3 class="text-lg font-semibold text-gray-900">Automated Documentation</h3>
|
|
164
|
-
</div>
|
|
165
|
-
</div>
|
|
166
|
-
<p class="text-gray-600 text-sm mb-3">
|
|
167
|
-
Automate the generation and maintenance of your EventCatalog documentation with integrations (e.g generate
|
|
168
|
-
catalogs from AsyncAPI and OpenAPI)
|
|
169
|
-
</p>
|
|
170
|
-
<a
|
|
171
|
-
href="https://www.eventcatalog.dev/features/automation"
|
|
172
|
-
class="text-sm text-yellow-600 hover:text-yellow-700 font-medium"
|
|
173
|
-
>
|
|
174
|
-
Learn more →
|
|
175
|
-
</a>
|
|
176
|
-
</div>
|
|
177
|
-
</div>
|
|
178
|
-
|
|
179
|
-
{/* Priority Support */}
|
|
180
|
-
<div
|
|
181
|
-
class="bg-white rounded-lg border border-gray-200 overflow-hidden hover:border-red-200 hover:shadow-md transition-all duration-200"
|
|
182
|
-
>
|
|
183
|
-
<div class="p-6">
|
|
184
|
-
<div class="flex items-start gap-3 mb-3">
|
|
185
|
-
<div class="p-2 bg-red-100 rounded-lg flex-shrink-0">
|
|
186
|
-
<LifeBuoy className="w-5 h-5 text-red-600" />
|
|
187
|
-
</div>
|
|
188
|
-
<div>
|
|
189
|
-
<h3 class="text-lg font-semibold text-gray-900">Priority Support</h3>
|
|
190
|
-
</div>
|
|
191
|
-
</div>
|
|
192
|
-
<p class="text-gray-600 text-sm mb-3">Get priority email support and assistance from the EventCatalog team.</p>
|
|
193
|
-
<a href="https://www.eventcatalog.dev/support" class="text-sm text-red-600 hover:text-red-700 font-medium">
|
|
194
|
-
Learn more →
|
|
195
|
-
</a>
|
|
196
|
-
</div>
|
|
197
|
-
</div>
|
|
198
|
-
</div>
|
|
199
|
-
</div>
|
|
200
|
-
|
|
201
|
-
{/* Why Upgrade section - value bullet bar */}
|
|
202
|
-
<div class="mb-10 bg-gray-50 p-6 rounded-lg border border-gray-100">
|
|
203
|
-
<div class="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-4 gap-6">
|
|
204
|
-
<div class="flex items-center">
|
|
205
|
-
<div class="p-2 bg-purple-100 rounded-lg mr-3 flex-shrink-0">
|
|
206
|
-
<ScrollText className="w-5 h-5 text-purple-600" />
|
|
207
|
-
</div>
|
|
208
|
-
<span class="text-sm font-medium text-gray-800">Automated documentation</span>
|
|
209
|
-
</div>
|
|
210
|
-
<div class="flex items-center">
|
|
211
|
-
<div class="p-2 bg-indigo-100 rounded-lg mr-3 flex-shrink-0">
|
|
212
|
-
<Code className="w-5 h-5 text-indigo-600" />
|
|
213
|
-
</div>
|
|
214
|
-
<span class="text-sm font-medium text-gray-800">Integrated with your IDE</span>
|
|
215
|
-
</div>
|
|
216
|
-
<div class="flex items-center">
|
|
217
|
-
<div class="p-2 bg-blue-100 rounded-lg mr-3 flex-shrink-0">
|
|
218
|
-
<Bot className="w-5 h-5 text-blue-600" />
|
|
219
|
-
</div>
|
|
220
|
-
<span class="text-sm font-medium text-gray-800">AI-powered search</span>
|
|
221
|
-
</div>
|
|
222
|
-
<div class="flex items-center">
|
|
223
|
-
<div class="p-2 bg-green-100 rounded-lg mr-3 flex-shrink-0">
|
|
224
|
-
<Component className="w-5 h-5 text-green-600" />
|
|
225
|
-
</div>
|
|
226
|
-
<span class="text-sm font-medium text-gray-800">Unified view across teams</span>
|
|
227
|
-
</div>
|
|
228
|
-
</div>
|
|
229
|
-
</div>
|
|
230
|
-
|
|
231
|
-
{/* Ready to upgrade section */}
|
|
232
|
-
<div class="mb-14">
|
|
233
|
-
<h2 class="text-2xl font-semibold mb-6 text-gray-900">Ready to upgrade?</h2>
|
|
234
|
-
<div class="flex flex-col md:flex-row justify-between md:items-center bg-gray-50 p-8 rounded-lg border border-gray-200">
|
|
235
|
-
<div class="mb-6 md:mb-0">
|
|
236
|
-
<p class="text-gray-700 mb-2">Get started with EventCatalog Pro today and unlock all premium features.</p>
|
|
237
|
-
</div>
|
|
238
|
-
<a
|
|
239
|
-
href="https://www.eventcatalog.dev/pricing"
|
|
240
|
-
class="flex items-center justify-center px-5 py-2.5 bg-purple-600 text-white text-sm font-medium rounded hover:bg-purple-700 transition-colors"
|
|
241
|
-
>
|
|
242
|
-
View pricing and plans
|
|
243
|
-
<ExternalLink className="w-4 h-4 ml-1.5" />
|
|
244
|
-
</a>
|
|
245
|
-
</div>
|
|
246
|
-
</div>
|
|
247
|
-
|
|
248
|
-
{/* Questions section */}
|
|
249
|
-
<div class="mb-14">
|
|
250
|
-
<h2 class="text-2xl font-semibold mb-6 text-gray-900">Questions about EventCatalog Pro?</h2>
|
|
251
|
-
<div class="grid grid-cols-1 md:grid-cols-2 gap-6">
|
|
252
|
-
<div class="bg-white p-6 rounded-lg border border-gray-200">
|
|
253
|
-
<h3 class="text-lg font-semibold text-gray-900 mb-3">Request a Demo</h3>
|
|
254
|
-
<p class="text-gray-600 text-sm mb-4">See EventCatalog Pro in action with a personalized demo from our team.</p>
|
|
255
|
-
<a href="https://www.eventcatalog.dev/demo" class="text-sm text-purple-600 hover:text-purple-700 font-medium">
|
|
256
|
-
Schedule a demo →
|
|
257
|
-
</a>
|
|
258
|
-
</div>
|
|
259
|
-
<div class="bg-white p-6 rounded-lg border border-gray-200">
|
|
260
|
-
<h3 class="text-lg font-semibold text-gray-900 mb-3">Contact Sales</h3>
|
|
261
|
-
<p class="text-gray-600 text-sm mb-4">
|
|
262
|
-
Have questions about pricing, features, or implementation? Our team is here to help.
|
|
263
|
-
</p>
|
|
264
|
-
<a href="mailto:sales@eventcatalog.dev" class="text-sm text-purple-600 hover:text-purple-700 font-medium">
|
|
265
|
-
Contact our sales team →
|
|
266
|
-
</a>
|
|
267
|
-
</div>
|
|
268
|
-
</div>
|
|
269
|
-
</div>
|
|
270
|
-
</main>
|
|
271
|
-
</div>
|
|
272
|
-
</VerticalSideBarLayout>
|