@eventcatalog/core 3.0.0-beta.25 → 3.0.0-beta.27
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 +1 -1
- package/dist/analytics/log-build.js +3 -3
- package/dist/catalog-to-astro-content-directory.cjs +2 -19
- package/dist/catalog-to-astro-content-directory.d.cts +1 -2
- package/dist/catalog-to-astro-content-directory.d.ts +1 -2
- package/dist/catalog-to-astro-content-directory.js +3 -5
- package/dist/{chunk-NAW6EPCS.js → chunk-4CVSY4TZ.js} +1 -1
- package/dist/{chunk-R2BJ7MJG.js → chunk-6Z6ARMQS.js} +1 -17
- package/dist/{chunk-RA6AYXGJ.js → chunk-A24LNVFO.js} +1 -1
- package/dist/{chunk-OJA6CNVO.js → chunk-QTIXOITU.js} +1 -1
- package/dist/{chunk-DFHXF3VF.js → chunk-R3UXUYOX.js} +1 -1
- package/dist/{chunk-3SWCGDD7.js → chunk-X7U5G4IG.js} +1 -1
- package/dist/constants.cjs +1 -1
- package/dist/constants.js +1 -1
- package/dist/eventcatalog.cjs +1 -18
- package/dist/eventcatalog.js +7 -10
- package/dist/generate.cjs +1 -1
- package/dist/generate.js +3 -3
- package/dist/utils/cli-logger.cjs +1 -1
- package/dist/utils/cli-logger.js +2 -2
- package/eventcatalog/src/components/Grids/DomainGrid.tsx +309 -170
- package/eventcatalog/src/components/Grids/MessageGrid.tsx +301 -182
- package/eventcatalog/src/components/Grids/specification-utils.ts +106 -0
- package/eventcatalog/src/components/SchemaExplorer/ApiAccessSection.tsx +95 -90
- package/eventcatalog/src/components/SchemaExplorer/ApiContentViewer.tsx +144 -0
- package/eventcatalog/src/components/SchemaExplorer/Pagination.tsx +34 -8
- package/eventcatalog/src/components/SchemaExplorer/SchemaContentViewer.tsx +2 -2
- package/eventcatalog/src/components/SchemaExplorer/SchemaDetailsHeader.tsx +140 -109
- package/eventcatalog/src/components/SchemaExplorer/SchemaDetailsPanel.tsx +5 -14
- package/eventcatalog/src/components/SchemaExplorer/SchemaExplorer.tsx +247 -59
- package/eventcatalog/src/components/SchemaExplorer/SchemaFilters.tsx +64 -126
- package/eventcatalog/src/components/SchemaExplorer/SchemaListItem.tsx +41 -43
- package/eventcatalog/src/components/SideNav/NestedSideBar/index.tsx +42 -15
- package/eventcatalog/src/components/Tables/Table.tsx +96 -77
- package/eventcatalog/src/components/Tables/columns/ContainersTableColumns.tsx +108 -74
- package/eventcatalog/src/components/Tables/columns/DomainTableColumns.tsx +74 -55
- package/eventcatalog/src/components/Tables/columns/FlowTableColumns.tsx +36 -36
- package/eventcatalog/src/components/Tables/columns/MessageTableColumns.tsx +110 -77
- package/eventcatalog/src/components/Tables/columns/ServiceTableColumns.tsx +105 -94
- package/eventcatalog/src/components/Tables/columns/SharedColumns.tsx +31 -26
- package/eventcatalog/src/components/Tables/columns/TeamsTableColumns.tsx +115 -215
- package/eventcatalog/src/components/Tables/columns/UserTableColumns.tsx +145 -243
- package/eventcatalog/src/layouts/VerticalSideBarLayout.astro +2 -2
- package/eventcatalog/src/pages/_index.astro +239 -554
- package/eventcatalog/src/pages/architecture/[type]/[id]/[version]/_index.data.ts +8 -2
- package/eventcatalog/src/pages/architecture/[type]/[id]/[version]/index.astro +9 -5
- package/eventcatalog/src/pages/directory/[type]/index.astro +6 -0
- package/eventcatalog/src/pages/docs/[type]/[id]/language/index.astro +194 -121
- package/eventcatalog/src/pages/docs/teams/[id]/index.astro +94 -70
- package/eventcatalog/src/pages/docs/users/[id]/index.astro +56 -45
- package/eventcatalog/src/pages/studio.astro +124 -72
- package/eventcatalog/src/stores/sidebar-store/builders/domain.ts +1 -1
- package/eventcatalog/src/stores/sidebar-store/builders/service.ts +1 -1
- package/package.json +1 -1
|
@@ -5,10 +5,9 @@ import {
|
|
|
5
5
|
RectangleGroupIcon,
|
|
6
6
|
ServerIcon,
|
|
7
7
|
CodeBracketIcon,
|
|
8
|
-
CubeTransparentIcon,
|
|
9
8
|
DocumentTextIcon,
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
ArrowRightIcon,
|
|
10
|
+
PlusIcon,
|
|
12
11
|
} from '@heroicons/react/24/outline';
|
|
13
12
|
import config from '@config';
|
|
14
13
|
|
|
@@ -17,22 +16,7 @@ import { getDomains } from '@utils/collections/domains';
|
|
|
17
16
|
import { getServices } from '@utils/collections/services';
|
|
18
17
|
import { getFlows } from '@utils/collections/flows';
|
|
19
18
|
import VerticalSideBarLayout from '@layouts/VerticalSideBarLayout.astro';
|
|
20
|
-
import {
|
|
21
|
-
BookOpenText,
|
|
22
|
-
Workflow,
|
|
23
|
-
TableProperties,
|
|
24
|
-
BookUser,
|
|
25
|
-
BotMessageSquare,
|
|
26
|
-
Zap,
|
|
27
|
-
Package,
|
|
28
|
-
GitBranch,
|
|
29
|
-
FileCode,
|
|
30
|
-
Puzzle,
|
|
31
|
-
Terminal,
|
|
32
|
-
BarChart3,
|
|
33
|
-
GitCompare,
|
|
34
|
-
Layers,
|
|
35
|
-
} from 'lucide-react';
|
|
19
|
+
import { BookOpenText, Workflow, TableProperties, BookUser, Zap, Terminal, Code2, FileJson } from 'lucide-react';
|
|
36
20
|
|
|
37
21
|
const { commands = [], events = [], queries = [] } = await getMessages({ getAllVersions: false });
|
|
38
22
|
const messages = [...events, ...queries, ...commands];
|
|
@@ -40,125 +24,8 @@ const domains = await getDomains({ getAllVersions: false });
|
|
|
40
24
|
const services = await getServices({ getAllVersions: false });
|
|
41
25
|
const flows = await getFlows({ getAllVersions: false });
|
|
42
26
|
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
title: 'Add a New Message',
|
|
46
|
-
icon: ChatBubbleLeftIcon,
|
|
47
|
-
iconBg: 'blue',
|
|
48
|
-
description: 'Document a new message in your system with schemas, examples, and relationships.',
|
|
49
|
-
links: [
|
|
50
|
-
{
|
|
51
|
-
text: 'How to add a message',
|
|
52
|
-
href: 'https://www.eventcatalog.dev/docs/messages',
|
|
53
|
-
},
|
|
54
|
-
{
|
|
55
|
-
text: 'Versioning guide',
|
|
56
|
-
href: 'https://www.eventcatalog.dev/docs/development/guides/messages/events/versioning',
|
|
57
|
-
},
|
|
58
|
-
{
|
|
59
|
-
text: 'Adding schemas',
|
|
60
|
-
href: 'https://www.eventcatalog.dev/docs/development/guides/messages/events/adding-schemas',
|
|
61
|
-
},
|
|
62
|
-
],
|
|
63
|
-
},
|
|
64
|
-
{
|
|
65
|
-
title: 'Document a Service',
|
|
66
|
-
icon: ServerIcon,
|
|
67
|
-
iconBg: 'green',
|
|
68
|
-
description: 'Add details about a service, including its events, APIs, and dependencies.',
|
|
69
|
-
links: [
|
|
70
|
-
{
|
|
71
|
-
text: 'How to add a service',
|
|
72
|
-
href: 'https://www.eventcatalog.dev/docs/services',
|
|
73
|
-
},
|
|
74
|
-
{
|
|
75
|
-
text: 'Service ownership',
|
|
76
|
-
href: 'https://www.eventcatalog.dev/docs/development/guides/services/owners',
|
|
77
|
-
},
|
|
78
|
-
{
|
|
79
|
-
text: 'Assign specifications to services',
|
|
80
|
-
href: 'https://www.eventcatalog.dev/docs/development/guides/services/adding-spec-files-to-services',
|
|
81
|
-
},
|
|
82
|
-
],
|
|
83
|
-
},
|
|
84
|
-
{
|
|
85
|
-
title: 'Create a Domain',
|
|
86
|
-
icon: RectangleGroupIcon,
|
|
87
|
-
iconBg: 'purple',
|
|
88
|
-
description: 'Organize your services and events into logical business domains.',
|
|
89
|
-
links: [
|
|
90
|
-
{
|
|
91
|
-
text: 'How to add a domain',
|
|
92
|
-
href: 'https://www.eventcatalog.dev/docs/domains',
|
|
93
|
-
},
|
|
94
|
-
{
|
|
95
|
-
text: 'Adding services to domains',
|
|
96
|
-
href: 'https://www.eventcatalog.dev/docs/development/guides/domains/adding-services-to-domains',
|
|
97
|
-
},
|
|
98
|
-
{
|
|
99
|
-
text: 'Creating a ubiquitous language',
|
|
100
|
-
href: 'https://www.eventcatalog.dev/docs/development/guides/domains/adding-ubiquitous-language',
|
|
101
|
-
},
|
|
102
|
-
],
|
|
103
|
-
},
|
|
104
|
-
];
|
|
105
|
-
|
|
106
|
-
const resourceCategories = [
|
|
107
|
-
{
|
|
108
|
-
title: 'Development Tools',
|
|
109
|
-
description: 'Powerful tools to enhance your workflow',
|
|
110
|
-
items: [
|
|
111
|
-
{
|
|
112
|
-
title: 'Generators & Plugins',
|
|
113
|
-
icon: Zap,
|
|
114
|
-
description: 'Automate documentation with generators for AsyncAPI, OpenAPI, and more',
|
|
115
|
-
href: 'https://www.eventcatalog.dev/integrations',
|
|
116
|
-
external: true,
|
|
117
|
-
},
|
|
118
|
-
{
|
|
119
|
-
title: 'CLI Tools',
|
|
120
|
-
icon: Terminal,
|
|
121
|
-
description: 'Command-line tools to build, preview, and manage your catalog',
|
|
122
|
-
href: 'https://www.eventcatalog.dev/docs/development/starting-a-new-project/installation',
|
|
123
|
-
external: true,
|
|
124
|
-
},
|
|
125
|
-
{
|
|
126
|
-
title: 'SDK & API',
|
|
127
|
-
icon: CodeBracketIcon,
|
|
128
|
-
description: 'Programmatic access to read and write catalog data',
|
|
129
|
-
href: 'https://www.eventcatalog.dev/api/sdk',
|
|
130
|
-
external: true,
|
|
131
|
-
},
|
|
132
|
-
],
|
|
133
|
-
},
|
|
134
|
-
{
|
|
135
|
-
title: 'Architecture Resources',
|
|
136
|
-
description: 'Best practices and patterns',
|
|
137
|
-
items: [
|
|
138
|
-
{
|
|
139
|
-
title: 'Versioning Strategies',
|
|
140
|
-
icon: GitBranch,
|
|
141
|
-
description: 'Learn how to version your messages and services effectively',
|
|
142
|
-
href: 'https://www.eventcatalog.dev/docs/development/guides/messages/events/versioning',
|
|
143
|
-
external: true,
|
|
144
|
-
},
|
|
145
|
-
{
|
|
146
|
-
title: 'Schema Management',
|
|
147
|
-
icon: FileCode,
|
|
148
|
-
description: 'Best practices for managing schemas and specifications',
|
|
149
|
-
href: 'https://www.eventcatalog.dev/docs/development/guides/messages/events/adding-schemas',
|
|
150
|
-
external: true,
|
|
151
|
-
},
|
|
152
|
-
{
|
|
153
|
-
title: 'Domain Design',
|
|
154
|
-
icon: Layers,
|
|
155
|
-
description: 'Organize your architecture using domain-driven design principles',
|
|
156
|
-
href: 'https://www.eventcatalog.dev/docs/development/guides/domains/adding-services-to-domains',
|
|
157
|
-
external: true,
|
|
158
|
-
},
|
|
159
|
-
],
|
|
160
|
-
},
|
|
161
|
-
];
|
|
27
|
+
// Check if catalog has content
|
|
28
|
+
const hasContent = domains.length > 0 || services.length > 0 || messages.length > 0 || flows.length > 0;
|
|
162
29
|
|
|
163
30
|
const getDefaultUrl = (route: string, defaultValue: string) => {
|
|
164
31
|
if (domains.length > 0) return buildUrl(`/${route}/domains/${domains[0].data.id}/${domains[0].data.latestVersion}`);
|
|
@@ -171,527 +38,345 @@ const topTiles = [
|
|
|
171
38
|
{
|
|
172
39
|
title: 'Domains',
|
|
173
40
|
count: domains.length,
|
|
174
|
-
description: 'Business domains
|
|
41
|
+
description: 'Business domains',
|
|
175
42
|
href: buildUrl('/discover/domains'),
|
|
176
43
|
icon: RectangleGroupIcon,
|
|
177
44
|
bgColor: 'bg-yellow-500',
|
|
45
|
+
borderColor: 'border-yellow-200',
|
|
178
46
|
textColor: 'text-yellow-600',
|
|
179
|
-
|
|
47
|
+
emptyText: 'No domains yet',
|
|
48
|
+
addHref: 'https://www.eventcatalog.dev/docs/domains',
|
|
180
49
|
},
|
|
181
50
|
{
|
|
182
51
|
title: 'Services',
|
|
183
52
|
count: services.length,
|
|
184
|
-
description: '
|
|
53
|
+
description: 'Documented services',
|
|
185
54
|
href: buildUrl('/discover/services'),
|
|
186
55
|
icon: ServerIcon,
|
|
187
56
|
bgColor: 'bg-pink-500',
|
|
57
|
+
borderColor: 'border-pink-200',
|
|
188
58
|
textColor: 'text-pink-600',
|
|
189
|
-
|
|
59
|
+
emptyText: 'No services yet',
|
|
60
|
+
addHref: 'https://www.eventcatalog.dev/docs/services',
|
|
190
61
|
},
|
|
191
62
|
{
|
|
192
63
|
title: 'Messages',
|
|
193
64
|
count: messages.length,
|
|
194
|
-
description: '
|
|
65
|
+
description: 'Events, commands & queries',
|
|
195
66
|
href: buildUrl('/discover/events'),
|
|
196
67
|
icon: ChatBubbleLeftIcon,
|
|
197
68
|
bgColor: 'bg-blue-500',
|
|
69
|
+
borderColor: 'border-blue-200',
|
|
198
70
|
textColor: 'text-blue-600',
|
|
199
|
-
|
|
71
|
+
emptyText: 'No messages yet',
|
|
72
|
+
addHref: 'https://www.eventcatalog.dev/docs/messages',
|
|
200
73
|
},
|
|
201
74
|
{
|
|
202
75
|
title: 'Flows',
|
|
203
76
|
count: flows.length,
|
|
204
|
-
description: 'Business flows
|
|
77
|
+
description: 'Business flows',
|
|
205
78
|
href: buildUrl('/discover/flows'),
|
|
206
79
|
icon: Workflow,
|
|
207
80
|
bgColor: 'bg-purple-500',
|
|
81
|
+
borderColor: 'border-purple-200',
|
|
208
82
|
textColor: 'text-purple-600',
|
|
209
|
-
|
|
83
|
+
emptyText: 'No flows yet',
|
|
84
|
+
addHref: 'https://www.eventcatalog.dev/docs/flows',
|
|
210
85
|
},
|
|
211
86
|
];
|
|
212
87
|
|
|
213
88
|
const quickActions = [
|
|
214
89
|
{
|
|
215
90
|
title: 'Documentation',
|
|
216
|
-
description: '
|
|
91
|
+
description: 'Browse all documented resources',
|
|
217
92
|
icon: BookOpenText,
|
|
218
93
|
href: getDefaultUrl('docs', 'domains'),
|
|
219
|
-
|
|
220
|
-
iconBg: 'bg-blue-100',
|
|
94
|
+
iconBg: 'bg-blue-50',
|
|
221
95
|
iconColor: 'text-blue-600',
|
|
96
|
+
hoverBorder: 'hover:border-blue-300',
|
|
222
97
|
},
|
|
223
98
|
{
|
|
224
99
|
title: 'Visualizer',
|
|
225
|
-
description: '
|
|
100
|
+
description: 'Interactive architecture diagrams',
|
|
226
101
|
icon: Workflow,
|
|
227
102
|
href: getDefaultUrl('visualiser', 'domains'),
|
|
228
|
-
|
|
229
|
-
iconBg: 'bg-purple-100',
|
|
103
|
+
iconBg: 'bg-purple-50',
|
|
230
104
|
iconColor: 'text-purple-600',
|
|
105
|
+
hoverBorder: 'hover:border-purple-300',
|
|
231
106
|
},
|
|
232
107
|
{
|
|
233
108
|
title: 'Discover',
|
|
234
|
-
description: 'Search and
|
|
109
|
+
description: 'Search and filter all resources',
|
|
235
110
|
icon: TableProperties,
|
|
236
111
|
href: buildUrl('/discover/events'),
|
|
237
|
-
|
|
238
|
-
iconBg: 'bg-teal-100',
|
|
112
|
+
iconBg: 'bg-teal-50',
|
|
239
113
|
iconColor: 'text-teal-600',
|
|
114
|
+
hoverBorder: 'hover:border-teal-300',
|
|
115
|
+
},
|
|
116
|
+
{
|
|
117
|
+
title: 'Schema Explorer',
|
|
118
|
+
description: 'Browse and compare schemas',
|
|
119
|
+
icon: FileJson,
|
|
120
|
+
href: buildUrl('/schemas/explorer'),
|
|
121
|
+
iconBg: 'bg-amber-50',
|
|
122
|
+
iconColor: 'text-amber-600',
|
|
123
|
+
hoverBorder: 'hover:border-amber-300',
|
|
124
|
+
},
|
|
125
|
+
];
|
|
126
|
+
|
|
127
|
+
const learnLinks = [
|
|
128
|
+
{
|
|
129
|
+
title: 'Getting Started',
|
|
130
|
+
description: 'Set up your first catalog',
|
|
131
|
+
href: 'https://www.eventcatalog.dev/docs/development/getting-started/introduction',
|
|
132
|
+
icon: BookOpenText,
|
|
240
133
|
},
|
|
241
134
|
{
|
|
242
|
-
title: '
|
|
243
|
-
description: '
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
135
|
+
title: 'Generators & Plugins',
|
|
136
|
+
description: 'AsyncAPI, OpenAPI integrations',
|
|
137
|
+
href: 'https://www.eventcatalog.dev/integrations',
|
|
138
|
+
icon: Zap,
|
|
139
|
+
},
|
|
140
|
+
{
|
|
141
|
+
title: 'SDK & CLI',
|
|
142
|
+
description: 'Programmatic catalog access',
|
|
143
|
+
href: 'https://www.eventcatalog.dev/docs/sdk',
|
|
144
|
+
icon: Terminal,
|
|
249
145
|
},
|
|
250
146
|
];
|
|
251
147
|
---
|
|
252
148
|
|
|
253
149
|
<VerticalSideBarLayout title="EventCatalog">
|
|
254
|
-
<body class="min-h-screen bg-
|
|
255
|
-
<!-- Hero Section
|
|
150
|
+
<body class="min-h-screen bg-gray-50/50 font-inter">
|
|
151
|
+
<!-- Hero Section -->
|
|
256
152
|
<div class="relative bg-white border-b border-gray-200">
|
|
257
|
-
<main class="container px-
|
|
258
|
-
<div class="
|
|
259
|
-
<
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
</p>
|
|
269
|
-
|
|
270
|
-
<!-- Quick Actions Buttons -->
|
|
271
|
-
<div class="flex flex-wrap gap-2.5">
|
|
272
|
-
<a
|
|
273
|
-
href={getDefaultUrl('docs', 'domains')}
|
|
274
|
-
class="inline-flex items-center gap-2 px-5 py-2.5 bg-gray-900 text-white rounded-lg font-medium hover:bg-gray-800 hover:scale-105 transition-all shadow-md shadow-gray-900/20"
|
|
275
|
-
>
|
|
276
|
-
<svg class="w-4 h-4" fill="none" stroke="currentColor" viewBox="0 0 24 24">
|
|
277
|
-
<path
|
|
278
|
-
stroke-linecap="round"
|
|
279
|
-
stroke-linejoin="round"
|
|
280
|
-
stroke-width="2"
|
|
281
|
-
d="M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z"></path>
|
|
282
|
-
</svg>
|
|
283
|
-
Explore Catalog
|
|
284
|
-
</a>
|
|
285
|
-
<a
|
|
286
|
-
href={getDefaultUrl('visualiser', 'domains')}
|
|
287
|
-
class="inline-flex items-center gap-2 px-5 py-2.5 bg-white text-gray-900 border border-gray-300 rounded-lg font-medium hover:border-gray-400 hover:scale-105 transition-all"
|
|
288
|
-
>
|
|
289
|
-
<svg class="w-4 h-4" fill="none" stroke="currentColor" viewBox="0 0 24 24">
|
|
290
|
-
<path
|
|
291
|
-
stroke-linecap="round"
|
|
292
|
-
stroke-linejoin="round"
|
|
293
|
-
stroke-width="2"
|
|
294
|
-
d="M9 19v-6a2 2 0 00-2-2H5a2 2 0 00-2 2v6a2 2 0 002 2h2a2 2 0 002-2zm0 0V9a2 2 0 012-2h2a2 2 0 012 2v10m-6 0a2 2 0 002 2h2a2 2 0 002-2m0 0V5a2 2 0 012-2h2a2 2 0 012 2v14a2 2 0 01-2 2h-2a2 2 0 01-2-2z"
|
|
295
|
-
></path>
|
|
296
|
-
</svg>
|
|
297
|
-
View Architecture
|
|
298
|
-
</a>
|
|
299
|
-
</div>
|
|
300
|
-
</div>
|
|
153
|
+
<main class="container px-6 lg:px-8 mx-auto py-10 max-w-[85em]">
|
|
154
|
+
<div class="max-w-3xl">
|
|
155
|
+
<h1 class="text-3xl md:text-4xl font-bold mb-3 text-gray-900 tracking-tight">
|
|
156
|
+
{config?.organizationName || 'EventCatalog'}
|
|
157
|
+
</h1>
|
|
158
|
+
<p class="text-base text-gray-600 leading-relaxed mb-6">
|
|
159
|
+
{
|
|
160
|
+
config.tagline ||
|
|
161
|
+
'Explore and understand your event-driven architecture. Browse documentation, visualize dependencies, and discover how your systems communicate.'
|
|
162
|
+
}
|
|
163
|
+
</p>
|
|
301
164
|
|
|
302
|
-
<!--
|
|
303
|
-
<div class="
|
|
304
|
-
<
|
|
305
|
-
|
|
306
|
-
class="
|
|
307
|
-
aria-label="Search events, services, and domains"
|
|
165
|
+
<!-- Primary CTAs -->
|
|
166
|
+
<div class="flex flex-wrap items-center gap-3">
|
|
167
|
+
<a
|
|
168
|
+
href={getDefaultUrl('docs', 'domains')}
|
|
169
|
+
class="inline-flex items-center gap-2 px-5 py-2.5 bg-gray-900 text-white rounded-lg font-medium hover:bg-gray-800 transition-colors"
|
|
308
170
|
>
|
|
309
|
-
<
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
d="M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z"></path>
|
|
320
|
-
</svg>
|
|
321
|
-
<span class="text-sm text-gray-500 group-hover:text-gray-700 transition-colors flex-1 text-left"
|
|
322
|
-
>Search events, services, domains...</span
|
|
323
|
-
>
|
|
324
|
-
<div class="flex items-center gap-1">
|
|
325
|
-
<kbd class="px-2 py-1 text-xs font-semibold text-gray-600 bg-gray-50 border border-gray-300 rounded">⌘</kbd>
|
|
326
|
-
<kbd class="px-2 py-1 text-xs font-semibold text-gray-600 bg-gray-50 border border-gray-300 rounded">K</kbd>
|
|
327
|
-
</div>
|
|
328
|
-
</button>
|
|
171
|
+
<BookOpenText className="w-4 h-4" />
|
|
172
|
+
Explore Docs
|
|
173
|
+
</a>
|
|
174
|
+
<a
|
|
175
|
+
href={getDefaultUrl('visualiser', 'domains')}
|
|
176
|
+
class="inline-flex items-center gap-2 px-5 py-2.5 bg-white text-gray-700 border border-gray-300 rounded-lg font-medium hover:bg-gray-50 hover:border-gray-400 transition-colors"
|
|
177
|
+
>
|
|
178
|
+
<Workflow className="w-4 h-4" />
|
|
179
|
+
View Architecture
|
|
180
|
+
</a>
|
|
329
181
|
</div>
|
|
330
182
|
</div>
|
|
331
183
|
</main>
|
|
332
184
|
</div>
|
|
333
185
|
|
|
334
186
|
<!-- Main Content -->
|
|
335
|
-
<main class="container px-
|
|
187
|
+
<main class="container px-6 lg:px-8 mx-auto py-8 max-w-[85em]">
|
|
336
188
|
<!-- Architecture Stats -->
|
|
337
|
-
<
|
|
338
|
-
<
|
|
339
|
-
|
|
189
|
+
<section class="mb-10">
|
|
190
|
+
<div class="flex items-center justify-between mb-4">
|
|
191
|
+
<h2 class="text-sm font-semibold uppercase tracking-wider text-gray-500">Your Catalog</h2>
|
|
340
192
|
{
|
|
341
|
-
|
|
342
|
-
<a
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
style={`animation-delay: ${index * 50}ms`}
|
|
346
|
-
>
|
|
347
|
-
{/* Subtle gradient on hover */}
|
|
348
|
-
<div class="absolute inset-0 bg-gradient-to-br from-gray-50 to-transparent opacity-0 group-hover:opacity-100 transition-opacity duration-300" />
|
|
349
|
-
|
|
350
|
-
{/* Colored left border accent */}
|
|
351
|
-
<div class={`absolute left-0 top-0 bottom-0 w-1 ${tile.bgColor} transition-opacity duration-300`} />
|
|
352
|
-
|
|
353
|
-
<div class="relative">
|
|
354
|
-
<div class="flex items-center justify-between mb-4">
|
|
355
|
-
<div class="p-2.5 bg-gray-100 rounded-lg group-hover:bg-gray-200 transition-colors shadow-sm">
|
|
356
|
-
<tile.icon className={`w-5 h-5 text-gray-600 group-hover:${tile.textColor} transition-colors`} />
|
|
357
|
-
</div>
|
|
358
|
-
</div>
|
|
359
|
-
|
|
360
|
-
<div class="mb-1">
|
|
361
|
-
<div class="text-3xl font-bold text-gray-900 mb-1">{tile.count}</div>
|
|
362
|
-
</div>
|
|
363
|
-
|
|
364
|
-
<div class="text-sm font-medium text-gray-600 mb-2">{tile.title}</div>
|
|
365
|
-
|
|
366
|
-
<div class="flex items-center gap-1.5 text-xs font-medium text-gray-500 opacity-0 group-hover:opacity-100 transition-all duration-300">
|
|
367
|
-
<span class="group-hover:translate-x-0.5 transition-transform">View all</span>
|
|
368
|
-
<svg
|
|
369
|
-
class="w-3 h-3 group-hover:translate-x-0.5 transition-transform"
|
|
370
|
-
fill="none"
|
|
371
|
-
stroke="currentColor"
|
|
372
|
-
viewBox="0 0 24 24"
|
|
373
|
-
>
|
|
374
|
-
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 5l7 7-7 7" />
|
|
375
|
-
</svg>
|
|
376
|
-
</div>
|
|
377
|
-
</div>
|
|
193
|
+
hasContent && (
|
|
194
|
+
<a href={buildUrl('/discover/events')} class="text-sm text-gray-500 hover:text-gray-700 flex items-center gap-1">
|
|
195
|
+
View all
|
|
196
|
+
<ArrowRightIcon className="w-3 h-3" />
|
|
378
197
|
</a>
|
|
379
|
-
)
|
|
198
|
+
)
|
|
380
199
|
}
|
|
381
200
|
</div>
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
<!-- Quick Actions -->
|
|
385
|
-
<div class="mb-16">
|
|
386
|
-
<div class="flex items-center justify-between mb-6">
|
|
387
|
-
<div>
|
|
388
|
-
<h2 class="text-2xl font-bold text-gray-900">Quick Actions</h2>
|
|
389
|
-
<p class="text-sm text-gray-500 mt-1">Jump right into exploring your architecture</p>
|
|
390
|
-
</div>
|
|
391
|
-
<RocketLaunchIcon className="w-6 h-6 text-gray-400" />
|
|
392
|
-
</div>
|
|
393
|
-
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-6">
|
|
201
|
+
<div class="grid grid-cols-2 md:grid-cols-4 gap-4">
|
|
394
202
|
{
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
<div class="absolute inset-0 -translate-x-full group-hover:translate-x-full transition-transform duration-1000 bg-gradient-to-r from-transparent via-white/20 to-transparent" />
|
|
408
|
-
|
|
409
|
-
<div class="relative p-6">
|
|
410
|
-
<div
|
|
411
|
-
class={`${action.iconBg} w-12 h-12 rounded-xl flex items-center justify-center mb-4 group-hover:scale-110 group-hover:rotate-3 transition-all duration-300`}
|
|
412
|
-
>
|
|
413
|
-
<action.icon className={`w-6 h-6 ${action.iconColor}`} />
|
|
203
|
+
topTiles.map((tile: any) =>
|
|
204
|
+
tile.count > 0 ? (
|
|
205
|
+
<a
|
|
206
|
+
href={tile.href}
|
|
207
|
+
class={`group relative bg-white p-5 rounded-xl border border-gray-200 hover:border-gray-300 hover:shadow-sm transition-all`}
|
|
208
|
+
>
|
|
209
|
+
<div class={`absolute left-0 top-0 bottom-0 w-1 ${tile.bgColor} rounded-l-xl`} />
|
|
210
|
+
<div class="flex items-start justify-between mb-3">
|
|
211
|
+
<div class={`p-2 rounded-lg ${tile.iconBg || 'bg-gray-100'}`}>
|
|
212
|
+
<tile.icon className={`w-4 h-4 ${tile.textColor}`} />
|
|
213
|
+
</div>
|
|
214
|
+
<ArrowRightIcon className="w-4 h-4 text-gray-300 group-hover:text-gray-500 transition-colors" />
|
|
414
215
|
</div>
|
|
415
|
-
<
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
>
|
|
422
|
-
<
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
fill="none"
|
|
426
|
-
stroke="currentColor"
|
|
427
|
-
viewBox="0 0 24 24"
|
|
428
|
-
>
|
|
429
|
-
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M13 7l5 5m0 0l-5 5m5-5H6" />
|
|
430
|
-
</svg>
|
|
216
|
+
<div class="text-2xl font-bold text-gray-900 mb-0.5">{tile.count}</div>
|
|
217
|
+
<div class="text-sm text-gray-500">{tile.description}</div>
|
|
218
|
+
</a>
|
|
219
|
+
) : (
|
|
220
|
+
<div class="relative bg-gray-50 p-5 rounded-xl border border-dashed border-gray-300">
|
|
221
|
+
<div class={`absolute left-0 top-0 bottom-0 w-1 bg-gray-300 rounded-l-xl`} />
|
|
222
|
+
<div class="flex items-start justify-between mb-3">
|
|
223
|
+
<div class="p-2 rounded-lg bg-gray-100">
|
|
224
|
+
<tile.icon className="w-4 h-4 text-gray-400" />
|
|
225
|
+
</div>
|
|
431
226
|
</div>
|
|
227
|
+
<div class="text-sm font-medium text-gray-500 mb-2">{tile.emptyText}</div>
|
|
228
|
+
<a
|
|
229
|
+
href={tile.addHref}
|
|
230
|
+
target="_blank"
|
|
231
|
+
class="inline-flex items-center gap-1 text-xs font-medium text-gray-600 hover:text-gray-900"
|
|
232
|
+
>
|
|
233
|
+
<PlusIcon className="w-3 h-3" />
|
|
234
|
+
Add {tile.title.toLowerCase()}
|
|
235
|
+
</a>
|
|
432
236
|
</div>
|
|
433
|
-
|
|
434
|
-
)
|
|
237
|
+
)
|
|
238
|
+
)
|
|
435
239
|
}
|
|
436
240
|
</div>
|
|
437
|
-
</
|
|
241
|
+
</section>
|
|
438
242
|
|
|
439
|
-
<!--
|
|
440
|
-
<div class="mb-
|
|
441
|
-
|
|
442
|
-
<div class="
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
class="
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
<div class="bg-orange-100 p-3 rounded-xl group-hover:scale-110 group-hover:rotate-3 transition-all">
|
|
453
|
-
<BookUser className="w-6 h-6 text-orange-600" />
|
|
454
|
-
</div>
|
|
455
|
-
<div class="flex-1">
|
|
456
|
-
<div class="flex items-center gap-2 mb-2">
|
|
457
|
-
<h3 class="text-lg font-semibold text-gray-900 group-hover:text-orange-600 transition-colors">
|
|
458
|
-
Users & Teams Directory
|
|
459
|
-
</h3>
|
|
460
|
-
<span class="px-2 py-0.5 text-xs font-medium text-orange-600 bg-orange-50 rounded-full">Owners</span>
|
|
461
|
-
</div>
|
|
462
|
-
<p class="text-sm text-gray-600 mb-3">
|
|
463
|
-
Discover who owns what. Find service and message ownership, contact information, and team structures.
|
|
464
|
-
</p>
|
|
465
|
-
<span class="text-sm font-medium text-orange-600 inline-flex items-center gap-1 group-hover:gap-2 transition-all">
|
|
466
|
-
Browse directory
|
|
467
|
-
<svg
|
|
468
|
-
class="w-4 h-4 group-hover:translate-x-1 transition-transform"
|
|
469
|
-
fill="none"
|
|
470
|
-
stroke="currentColor"
|
|
471
|
-
viewBox="0 0 24 24"
|
|
243
|
+
<!-- Two Column Layout -->
|
|
244
|
+
<div class="grid grid-cols-1 lg:grid-cols-3 gap-8 mb-10">
|
|
245
|
+
<!-- Main Column -->
|
|
246
|
+
<div class="lg:col-span-2 space-y-8">
|
|
247
|
+
<!-- Quick Actions -->
|
|
248
|
+
<section>
|
|
249
|
+
<h2 class="text-lg font-semibold text-gray-900 mb-4">Explore</h2>
|
|
250
|
+
<div class="grid grid-cols-1 sm:grid-cols-2 gap-4">
|
|
251
|
+
{
|
|
252
|
+
quickActions.map((action) => (
|
|
253
|
+
<a
|
|
254
|
+
href={action.href}
|
|
255
|
+
class={`group flex items-start gap-4 bg-white p-5 rounded-xl border border-gray-200 ${action.hoverBorder} hover:shadow-sm transition-all`}
|
|
472
256
|
>
|
|
473
|
-
<
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
257
|
+
<div class={`${action.iconBg} p-3 rounded-xl`}>
|
|
258
|
+
<action.icon className={`w-6 h-6 ${action.iconColor}`} />
|
|
259
|
+
</div>
|
|
260
|
+
<div class="flex-1 min-w-0 pt-0.5">
|
|
261
|
+
<div class="font-semibold text-gray-900 group-hover:text-gray-700 mb-1">{action.title}</div>
|
|
262
|
+
<div class="text-sm text-gray-500 leading-relaxed">{action.description}</div>
|
|
263
|
+
</div>
|
|
264
|
+
</a>
|
|
265
|
+
))
|
|
266
|
+
}
|
|
477
267
|
</div>
|
|
478
|
-
</
|
|
268
|
+
</section>
|
|
479
269
|
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
<div
|
|
486
|
-
class="absolute top-0 right-0 w-32 h-32 bg-indigo-50 rounded-full -translate-y-16 translate-x-16 group-hover:scale-150 transition-transform duration-500"
|
|
270
|
+
<!-- Additional Links -->
|
|
271
|
+
<section class="grid grid-cols-1 sm:grid-cols-2 gap-3">
|
|
272
|
+
<a
|
|
273
|
+
href={buildUrl('/directory/users')}
|
|
274
|
+
class="group flex items-center gap-4 bg-white p-4 rounded-xl border border-gray-200 hover:border-orange-200 hover:shadow-sm transition-all"
|
|
487
275
|
>
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
<div class="bg-indigo-100 p-3 rounded-xl group-hover:scale-110 group-hover:rotate-3 transition-all">
|
|
491
|
-
<CodeBracketIcon className="w-6 h-6 text-indigo-600" />
|
|
276
|
+
<div class="bg-orange-50 p-2.5 rounded-lg">
|
|
277
|
+
<BookUser className="w-5 h-5 text-orange-600" />
|
|
492
278
|
</div>
|
|
493
|
-
<div class="flex-1">
|
|
494
|
-
<div class="
|
|
495
|
-
|
|
496
|
-
<span class="px-2 py-0.5 text-xs font-medium text-indigo-600 bg-indigo-50 rounded-full">Developer</span>
|
|
497
|
-
</div>
|
|
498
|
-
<p class="text-sm text-gray-600 mb-3">
|
|
499
|
-
Programmatic access to read and write catalog data. Perfect for automation and integrations.
|
|
500
|
-
</p>
|
|
501
|
-
<span class="text-sm font-medium text-indigo-600 inline-flex items-center gap-1 group-hover:gap-2 transition-all">
|
|
502
|
-
View API docs
|
|
503
|
-
<svg
|
|
504
|
-
class="w-4 h-4 group-hover:translate-x-1 transition-transform"
|
|
505
|
-
fill="none"
|
|
506
|
-
stroke="currentColor"
|
|
507
|
-
viewBox="0 0 24 24"
|
|
508
|
-
>
|
|
509
|
-
<path
|
|
510
|
-
stroke-linecap="round"
|
|
511
|
-
stroke-linejoin="round"
|
|
512
|
-
stroke-width="2"
|
|
513
|
-
d="M10 6H6a2 2 0 00-2 2v10a2 2 0 002 2h10a2 2 0 002-2v-4M14 4h6m0 0v6m0-6L10 14"></path>
|
|
514
|
-
</svg>
|
|
515
|
-
</span>
|
|
279
|
+
<div class="flex-1 min-w-0">
|
|
280
|
+
<div class="font-medium text-gray-900 group-hover:text-orange-600 transition-colors">Team Directory</div>
|
|
281
|
+
<div class="text-sm text-gray-500 truncate">Ownership & contacts</div>
|
|
516
282
|
</div>
|
|
517
|
-
</
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
<h2 class="text-2xl font-bold text-gray-900">Resources & Tools</h2>
|
|
526
|
-
<div class="flex-1 h-px bg-gradient-to-r from-gray-300 to-transparent"></div>
|
|
527
|
-
</div>
|
|
528
|
-
<div class="grid grid-cols-1 lg:grid-cols-2 gap-8">
|
|
529
|
-
{
|
|
530
|
-
resourceCategories.map((category) => (
|
|
531
|
-
<div class="bg-white rounded-2xl shadow-sm border border-gray-200 p-8">
|
|
532
|
-
<h3 class="text-xl font-bold text-gray-900 mb-2">{category.title}</h3>
|
|
533
|
-
<p class="text-sm text-gray-600 mb-6">{category.description}</p>
|
|
534
|
-
<div class="space-y-4">
|
|
535
|
-
{category.items.map((item) => (
|
|
536
|
-
<a
|
|
537
|
-
href={item.href}
|
|
538
|
-
target={item.external ? '_blank' : undefined}
|
|
539
|
-
class="group flex items-start gap-4 p-4 rounded-xl hover:bg-gray-50 transition-colors"
|
|
540
|
-
>
|
|
541
|
-
<div class="bg-gray-100 p-2.5 rounded-lg group-hover:bg-blue-100 transition-colors">
|
|
542
|
-
<item.icon className="w-5 h-5 text-gray-600 group-hover:text-blue-600 transition-colors" />
|
|
543
|
-
</div>
|
|
544
|
-
<div class="flex-1">
|
|
545
|
-
<div class="flex items-center gap-2 mb-1">
|
|
546
|
-
<h4 class="font-semibold text-gray-900 group-hover:text-blue-600 transition-colors">{item.title}</h4>
|
|
547
|
-
{item.external && (
|
|
548
|
-
<svg class="w-4 h-4 text-gray-400" fill="none" stroke="currentColor" viewBox="0 0 24 24">
|
|
549
|
-
<path
|
|
550
|
-
stroke-linecap="round"
|
|
551
|
-
stroke-linejoin="round"
|
|
552
|
-
stroke-width="2"
|
|
553
|
-
d="M10 6H6a2 2 0 00-2 2v10a2 2 0 002 2h10a2 2 0 002-2v-4M14 4h6m0 0v6m0-6L10 14"
|
|
554
|
-
/>
|
|
555
|
-
</svg>
|
|
556
|
-
)}
|
|
557
|
-
</div>
|
|
558
|
-
<p class="text-sm text-gray-600">{item.description}</p>
|
|
559
|
-
</div>
|
|
560
|
-
</a>
|
|
561
|
-
))}
|
|
562
|
-
</div>
|
|
283
|
+
</a>
|
|
284
|
+
<a
|
|
285
|
+
href="https://www.eventcatalog.dev/docs/sdk"
|
|
286
|
+
target="_blank"
|
|
287
|
+
class="group flex items-center gap-4 bg-white p-4 rounded-xl border border-gray-200 hover:border-indigo-200 hover:shadow-sm transition-all"
|
|
288
|
+
>
|
|
289
|
+
<div class="bg-indigo-50 p-2.5 rounded-lg">
|
|
290
|
+
<Code2 className="w-5 h-5 text-indigo-600" />
|
|
563
291
|
</div>
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
</div>
|
|
568
|
-
|
|
569
|
-
<!-- Getting Started Section -->
|
|
570
|
-
<section class="mb-16">
|
|
571
|
-
<div class="mb-8">
|
|
572
|
-
<h2 class="text-2xl font-bold text-gray-900 mb-2">Getting Started</h2>
|
|
573
|
-
<p class="text-gray-600">
|
|
574
|
-
New to EventCatalog? Follow these guides to start documenting your event-driven architecture.
|
|
575
|
-
</p>
|
|
576
|
-
</div>
|
|
577
|
-
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6">
|
|
578
|
-
{
|
|
579
|
-
gettingStartedItems.map((item) => (
|
|
580
|
-
<div class="bg-white rounded-xl shadow-sm border-2 border-gray-200 p-6 hover:border-gray-400 hover:shadow-md transition-all">
|
|
581
|
-
<div class="flex items-center gap-3 mb-4">
|
|
582
|
-
<div class="p-2 bg-gray-100 rounded-lg shadow-sm">
|
|
583
|
-
<item.icon className="w-5 h-5 text-gray-600" />
|
|
584
|
-
</div>
|
|
585
|
-
<h3 class="text-base font-semibold text-gray-900">{item.title}</h3>
|
|
586
|
-
</div>
|
|
587
|
-
<p class="text-gray-600 text-sm mb-5 leading-relaxed">{item.description}</p>
|
|
588
|
-
<div class="space-y-2">
|
|
589
|
-
{item.links.map((link) => (
|
|
590
|
-
<a
|
|
591
|
-
href={link.href}
|
|
592
|
-
target="_blank"
|
|
593
|
-
class="group flex items-center gap-2 text-sm text-gray-600 hover:text-gray-900 font-medium transition-colors"
|
|
594
|
-
>
|
|
595
|
-
<svg
|
|
596
|
-
class="w-3.5 h-3.5 group-hover:translate-x-0.5 transition-transform"
|
|
597
|
-
fill="none"
|
|
598
|
-
stroke="currentColor"
|
|
599
|
-
viewBox="0 0 24 24"
|
|
600
|
-
>
|
|
601
|
-
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 5l7 7-7 7" />
|
|
602
|
-
</svg>
|
|
603
|
-
{link.text}
|
|
604
|
-
</a>
|
|
605
|
-
))}
|
|
606
|
-
</div>
|
|
292
|
+
<div class="flex-1 min-w-0">
|
|
293
|
+
<div class="font-medium text-gray-900 group-hover:text-indigo-600 transition-colors">API & SDK</div>
|
|
294
|
+
<div class="text-sm text-gray-500 truncate">Programmatic access</div>
|
|
607
295
|
</div>
|
|
608
|
-
|
|
609
|
-
|
|
296
|
+
</a>
|
|
297
|
+
</section>
|
|
610
298
|
</div>
|
|
611
|
-
</section>
|
|
612
299
|
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
<
|
|
617
|
-
<
|
|
618
|
-
<
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
300
|
+
<!-- Sidebar -->
|
|
301
|
+
<div class="space-y-6">
|
|
302
|
+
<!-- Learn More -->
|
|
303
|
+
<section class="bg-white rounded-xl border border-gray-200 p-5">
|
|
304
|
+
<h3 class="font-semibold text-gray-900 mb-4">Learn More</h3>
|
|
305
|
+
<div class="space-y-3">
|
|
306
|
+
{
|
|
307
|
+
learnLinks.map((link) => (
|
|
308
|
+
<a
|
|
309
|
+
href={link.href}
|
|
310
|
+
target="_blank"
|
|
311
|
+
class="group flex items-start gap-3 text-sm hover:bg-gray-50 -mx-2 px-2 py-2 rounded-lg transition-colors"
|
|
312
|
+
>
|
|
313
|
+
<link.icon className="w-4 h-4 text-gray-400 mt-0.5 flex-shrink-0" />
|
|
314
|
+
<div>
|
|
315
|
+
<div class="font-medium text-gray-700 group-hover:text-gray-900">{link.title}</div>
|
|
316
|
+
<div class="text-gray-500">{link.description}</div>
|
|
317
|
+
</div>
|
|
318
|
+
</a>
|
|
319
|
+
))
|
|
320
|
+
}
|
|
321
|
+
</div>
|
|
322
|
+
</section>
|
|
622
323
|
|
|
623
|
-
|
|
324
|
+
<!-- Community -->
|
|
325
|
+
<section class="bg-white rounded-xl border border-gray-200 p-5">
|
|
326
|
+
<h3 class="font-semibold text-gray-900 mb-4">Community</h3>
|
|
327
|
+
<div class="space-y-3">
|
|
624
328
|
<a
|
|
625
329
|
href="https://discord.gg/3rjaZMmrAm"
|
|
626
330
|
target="_blank"
|
|
627
|
-
class="group
|
|
331
|
+
class="group flex items-center gap-3 p-3 -mx-1 rounded-lg hover:bg-gray-50 transition-colors"
|
|
628
332
|
>
|
|
629
|
-
<
|
|
630
|
-
<
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
333
|
+
<div class="bg-indigo-100 p-2 rounded-lg">
|
|
334
|
+
<svg class="w-4 h-4 text-indigo-600" fill="currentColor" viewBox="0 0 24 24">
|
|
335
|
+
<path
|
|
336
|
+
d="M20.317 4.37a19.791 19.791 0 0 0-4.885-1.515a.074.074 0 0 0-.079.037c-.21.375-.444.864-.608 1.25a18.27 18.27 0 0 0-5.487 0a12.64 12.64 0 0 0-.617-1.25a.077.077 0 0 0-.079-.037A19.736 19.736 0 0 0 3.677 4.37a.07.07 0 0 0-.032.027C.533 9.046-.32 13.58.099 18.057a.082.082 0 0 0 .031.057a19.9 19.9 0 0 0 5.993 3.03a.078.078 0 0 0 .084-.028a14.09 14.09 0 0 0 1.226-1.994a.076.076 0 0 0-.041-.106a13.107 13.107 0 0 1-1.872-.892a.077.077 0 0 1-.008-.128a10.2 10.2 0 0 0 .372-.292a.074.074 0 0 1 .077-.01c3.928 1.793 8.18 1.793 12.062 0a.074.074 0 0 1 .078.01c.12.098.246.198.373.292a.077.077 0 0 1-.006.127a12.299 12.299 0 0 1-1.873.892a.077.077 0 0 0-.041.107c.36.698.772 1.362 1.225 1.993a.076.076 0 0 0 .084.028a19.839 19.839 0 0 0 6.002-3.03a.077.077 0 0 0 .032-.054c.5-5.177-.838-9.674-3.549-13.66a.061.061 0 0 0-.031-.03zM8.02 15.33c-1.183 0-2.157-1.085-2.157-2.419c0-1.333.956-2.419 2.157-2.419c1.21 0 2.176 1.096 2.157 2.42c0 1.333-.956 2.418-2.157 2.418zm7.975 0c-1.183 0-2.157-1.085-2.157-2.419c0-1.333.955-2.419 2.157-2.419c1.21 0 2.176 1.096 2.157 2.42c0 1.333-.946 2.418-2.157 2.418z"
|
|
337
|
+
></path>
|
|
338
|
+
</svg>
|
|
339
|
+
</div>
|
|
340
|
+
<div>
|
|
341
|
+
<div class="text-sm font-medium text-gray-900 group-hover:text-indigo-600">Join Discord</div>
|
|
342
|
+
<div class="text-xs text-gray-500">Chat with the community</div>
|
|
343
|
+
</div>
|
|
635
344
|
</a>
|
|
636
345
|
<a
|
|
637
346
|
href="https://github.com/event-catalog/eventcatalog"
|
|
638
347
|
target="_blank"
|
|
639
|
-
class="group
|
|
348
|
+
class="group flex items-center gap-3 p-3 -mx-1 rounded-lg hover:bg-gray-50 transition-colors"
|
|
640
349
|
>
|
|
641
|
-
<
|
|
642
|
-
<
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
350
|
+
<div class="bg-gray-100 p-2 rounded-lg">
|
|
351
|
+
<svg class="w-4 h-4 text-gray-700" fill="currentColor" viewBox="0 0 24 24">
|
|
352
|
+
<path
|
|
353
|
+
fill-rule="evenodd"
|
|
354
|
+
d="M12 2C6.477 2 2 6.484 2 12.017c0 4.425 2.865 8.18 6.839 9.504.5.092.682-.217.682-.483 0-.237-.008-.868-.013-1.703-2.782.605-3.369-1.343-3.369-1.343-.454-1.158-1.11-1.466-1.11-1.466-.908-.62.069-.608.069-.608 1.003.07 1.531 1.032 1.531 1.032.892 1.53 2.341 1.088 2.91.832.092-.647.35-1.088.636-1.338-2.22-.253-4.555-1.113-4.555-4.951 0-1.093.39-1.988 1.029-2.688-.103-.253-.446-1.272.098-2.65 0 0 .84-.27 2.75 1.026A9.564 9.564 0 0112 6.844c.85.004 1.705.115 2.504.337 1.909-1.296 2.747-1.027 2.747-1.027.546 1.379.202 2.398.1 2.651.64.7 1.028 1.595 1.028 2.688 0 3.848-2.339 4.695-4.566 4.943.359.309.678.92.678 1.855 0 1.338-.012 2.419-.012 2.747 0 .268.18.58.688.482A10.019 10.019 0 0022 12.017C22 6.484 17.522 2 12 2z"
|
|
355
|
+
clip-rule="evenodd"></path>
|
|
356
|
+
</svg>
|
|
357
|
+
</div>
|
|
358
|
+
<div>
|
|
359
|
+
<div class="text-sm font-medium text-gray-900 group-hover:text-gray-700">GitHub</div>
|
|
360
|
+
<div class="text-xs text-gray-500">Star & contribute</div>
|
|
361
|
+
</div>
|
|
648
362
|
</a>
|
|
649
363
|
<a
|
|
650
364
|
href="https://www.eventcatalog.dev/docs"
|
|
651
365
|
target="_blank"
|
|
652
|
-
class="group
|
|
366
|
+
class="group flex items-center gap-3 p-3 -mx-1 rounded-lg hover:bg-gray-50 transition-colors"
|
|
653
367
|
>
|
|
654
|
-
<
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
d="M10 6H6a2 2 0 00-2 2v10a2 2 0 002 2h10a2 2 0 002-2v-4M14 4h6m0 0v6m0-6L10 14"></path>
|
|
662
|
-
</svg>
|
|
368
|
+
<div class="bg-blue-100 p-2 rounded-lg">
|
|
369
|
+
<DocumentTextIcon className="w-4 h-4 text-blue-600" />
|
|
370
|
+
</div>
|
|
371
|
+
<div>
|
|
372
|
+
<div class="text-sm font-medium text-gray-900 group-hover:text-blue-600">Documentation</div>
|
|
373
|
+
<div class="text-xs text-gray-500">Guides & references</div>
|
|
374
|
+
</div>
|
|
663
375
|
</a>
|
|
664
376
|
</div>
|
|
665
|
-
</
|
|
377
|
+
</section>
|
|
666
378
|
</div>
|
|
667
|
-
</
|
|
379
|
+
</div>
|
|
668
380
|
</main>
|
|
669
381
|
</body>
|
|
670
|
-
|
|
671
|
-
<script>
|
|
672
|
-
// Trigger header search when clicking the homepage search button
|
|
673
|
-
document.addEventListener('DOMContentLoaded', () => {
|
|
674
|
-
const searchTrigger = document.querySelector('[data-search-trigger]');
|
|
675
|
-
if (searchTrigger) {
|
|
676
|
-
searchTrigger.addEventListener('click', () => {
|
|
677
|
-
// Look for the header search button and click it
|
|
678
|
-
const headerSearchButton =
|
|
679
|
-
document.querySelector('[data-search-open]') ||
|
|
680
|
-
document.querySelector('button[aria-label*="search" i]') ||
|
|
681
|
-
document.querySelector('button[title*="search" i]');
|
|
682
|
-
if (headerSearchButton && headerSearchButton instanceof HTMLElement) {
|
|
683
|
-
headerSearchButton.click();
|
|
684
|
-
} else {
|
|
685
|
-
// Fallback: trigger keyboard shortcut
|
|
686
|
-
const event = new KeyboardEvent('keydown', {
|
|
687
|
-
key: 'k',
|
|
688
|
-
metaKey: true,
|
|
689
|
-
bubbles: true,
|
|
690
|
-
});
|
|
691
|
-
document.dispatchEvent(event);
|
|
692
|
-
}
|
|
693
|
-
});
|
|
694
|
-
}
|
|
695
|
-
});
|
|
696
|
-
</script>
|
|
697
382
|
</VerticalSideBarLayout>
|