@eventcatalog/core 2.2.1 → 2.2.2
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/CHANGELOG.md +7 -0
- package/package.json +1 -1
- package/scripts/default-files-for-collections/pages.md +1 -0
- package/src/layouts/CustomDocsPageLayout.astro +2 -12
- package/src/layouts/Footer.astro +12 -0
- package/src/pages/docs/[type]/[id]/[version]/changelog/index.astro +4 -10
- package/src/pages/docs/[type]/[id]/[version]/index.astro +2 -16
- package/src/pages/docs/index.astro +2 -9
package/CHANGELOG.md
CHANGED
package/package.json
CHANGED
|
@@ -3,11 +3,9 @@ interface Props {
|
|
|
3
3
|
title: string;
|
|
4
4
|
}
|
|
5
5
|
|
|
6
|
-
|
|
7
|
-
|
|
6
|
+
import Footer from '@layouts/Footer.astro';
|
|
8
7
|
import Header from '@components/Header.astro';
|
|
9
8
|
import SideBar from '@components/DocsNavigation.astro';
|
|
10
|
-
import catalog from '@eventcatalog';
|
|
11
9
|
import { buildUrl } from '@utils/url-builder';
|
|
12
10
|
---
|
|
13
11
|
|
|
@@ -73,15 +71,7 @@ import { buildUrl } from '@utils/url-builder';
|
|
|
73
71
|
</div>
|
|
74
72
|
</div>
|
|
75
73
|
|
|
76
|
-
<
|
|
77
|
-
<div class="flex justify-between items-center py-8 text-gray-500 text-sm font-light">
|
|
78
|
-
<div class="flex space-x-5">
|
|
79
|
-
<a href="https://github.com/event-catalog/eventcatalog" target="_blank"><svg class="w-5 h-5 bg-gray-400 hover:bg-purple-500 dark:hover:bg-gray-400" style="mask-image: url("/icons/github.svg"); mask-repeat: no-repeat; mask-position: center center;"></svg></a>
|
|
80
|
-
<a href="https://x.com/event_catalog" target="_blank"><span class="sr-only">x</span><svg class="w-5 h-5 bg-gray-400 hover:bg-purple-500 dark:hover:bg-gray-400" style="mask-image: url("/icons/x-twitter.svg"); mask-repeat: no-repeat; mask-position: center center;"></svg></a>
|
|
81
|
-
</div>
|
|
82
|
-
<a target="_blank" class="hover:text-purple-500 hover:underline text-gray-400 font-light not-prose" href="https://eventcatalog.dev">Powered by EventCatalog</a>
|
|
83
|
-
</div>
|
|
84
|
-
</footer>
|
|
74
|
+
<Footer />
|
|
85
75
|
</div>
|
|
86
76
|
</div>
|
|
87
77
|
</div>
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
---
|
|
2
|
+
---
|
|
3
|
+
|
|
4
|
+
<footer class="py-4 space-y-8 border-t border-gray-300">
|
|
5
|
+
<div class="flex justify-between items-center py-8 text-gray-500 text-sm font-light">
|
|
6
|
+
<div class="flex space-x-5">
|
|
7
|
+
<a href="https://github.com/event-catalog/eventcatalog" target="_blank"><svg class="w-5 h-5 bg-gray-400 hover:bg-purple-500 dark:hover:bg-gray-400" style="mask-image: url("/icons/github.svg"); mask-repeat: no-repeat; mask-position: center center;"></svg></a>
|
|
8
|
+
<a href="https://x.com/event_catalog" target="_blank"><span class="sr-only">x</span><svg class="w-5 h-5 bg-gray-400 hover:bg-purple-500 dark:hover:bg-gray-400" style="mask-image: url("/icons/x-twitter.svg"); mask-repeat: no-repeat; mask-position: center center;"></svg></a>
|
|
9
|
+
</div>
|
|
10
|
+
<a target="_blank" class="hover:text-purple-500 hover:underline text-gray-400 font-light not-prose" href="https://eventcatalog.dev">Powered by EventCatalog</a>
|
|
11
|
+
</div>
|
|
12
|
+
</footer>
|
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
---
|
|
2
2
|
import type { CollectionEntry } from 'astro:content';
|
|
3
3
|
|
|
4
|
+
import Layout from '@layouts/DocsLayout.astro';
|
|
5
|
+
import Footer from '@layouts/Footer.astro';
|
|
6
|
+
|
|
4
7
|
import { getEvents } from '@utils/events';
|
|
5
8
|
import { getServices } from '@utils/services/services';
|
|
6
9
|
import { getCommands } from '@utils/commands';
|
|
7
10
|
import { getDomains } from '@utils/domains/domains';
|
|
8
11
|
import type { CollectionTypes } from '@types';
|
|
9
|
-
import Layout from '@layouts/DocsLayout.astro';
|
|
10
12
|
import { getChangeLogs } from '@utils/changelogs/changelogs';
|
|
11
13
|
import { EnvelopeIcon, RectangleGroupIcon, ServerIcon } from '@heroicons/react/24/outline';
|
|
12
14
|
|
|
@@ -157,15 +159,7 @@ const badges = [
|
|
|
157
159
|
))}
|
|
158
160
|
</ul>
|
|
159
161
|
</div>
|
|
160
|
-
<
|
|
161
|
-
<div class="flex justify-between items-center py-8 text-gray-500 text-sm font-light">
|
|
162
|
-
<div class="flex space-x-5">
|
|
163
|
-
<a href="https://github.com/event-catalog/eventcatalog" target="_blank"><svg class="w-5 h-5 bg-gray-400 hover:bg-purple-500 dark:hover:bg-gray-400" style="mask-image: url("/icons/github.svg"); mask-repeat: no-repeat; mask-position: center center;"></svg></a>
|
|
164
|
-
<a href="https://x.com/event_catalog" target="_blank"><span class="sr-only">x</span><svg class="w-5 h-5 bg-gray-400 hover:bg-purple-500 dark:hover:bg-gray-400" style="mask-image: url("/icons/x-twitter.svg"); mask-repeat: no-repeat; mask-position: center center;"></svg></a>
|
|
165
|
-
</div>
|
|
166
|
-
<a target="_blank" class="hover:text-purple-500 hover:underline text-gray-400 font-light not-prose" href="https://eventcatalog.dev">Powered by EventCatalog</a>
|
|
167
|
-
</div>
|
|
168
|
-
</footer>
|
|
162
|
+
<Footer />
|
|
169
163
|
</main>
|
|
170
164
|
|
|
171
165
|
</Layout>
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
import type { CollectionEntry } from 'astro:content';
|
|
3
3
|
import DocsLayout from '@layouts/DocsLayout.astro';
|
|
4
|
+
import Footer from '@layouts/Footer.astro';
|
|
4
5
|
|
|
5
6
|
import components from '@components/MDX/components';
|
|
6
7
|
import NodeGraph from '@components/MDX/NodeGraph/NodeGraph.astro';
|
|
@@ -134,22 +135,7 @@ const badges = [
|
|
|
134
135
|
<SchemaViewer id={props.data.id} catalog={props.catalog} />
|
|
135
136
|
<NodeGraph id={props.data.id} collection={props.collection} version={props.data.version} mode="simple" href={{ label: 'Open in Visualiser', url: `/visualiser/${props.collection}/${props.data.id}/${props.data.version}`}} />
|
|
136
137
|
</div>
|
|
137
|
-
<
|
|
138
|
-
<a href="#" class="flex space-x-2 items-center text-gray-500 hover:text-purple-500 hover:underline"><PencilIcon className="w-4 h-4" /><span>Edit this page</span></a>
|
|
139
|
-
<div class="flex justify-between items-center py-8 text-gray-500 text-sm font-light">
|
|
140
|
-
<div class="flex space-x-5">
|
|
141
|
-
<a href="https://github.com/event-catalog/eventcatalog" target="_blank"
|
|
142
|
-
><svg class="w-5 h-5 bg-gray-400 hover:bg-purple-500 dark:hover:bg-gray-400" style='mask-image: url("/icons/github.svg"); mask-repeat: no-repeat; mask-position: center center;'></svg></a
|
|
143
|
-
>
|
|
144
|
-
<a href="https://x.com/event_catalog" target="_blank"
|
|
145
|
-
><span class="sr-only">x</span><svg
|
|
146
|
-
class="w-5 h-5 bg-gray-400 hover:bg-purple-500 dark:hover:bg-gray-400"
|
|
147
|
-
style='mask-image: url("/icons/x-twitter.svg"); mask-repeat: no-repeat; mask-position: center center;'></svg></a
|
|
148
|
-
>
|
|
149
|
-
</div>
|
|
150
|
-
<a target="_blank" class="hover:text-purple-500 hover:underline" href="https://eventcatalog.dev">Powered by EventCatalog</a>
|
|
151
|
-
</div>
|
|
152
|
-
</footer>
|
|
138
|
+
<Footer />
|
|
153
139
|
</main>
|
|
154
140
|
<aside class="hidden lg:block sticky top-20 h-[calc(100vh-theme(spacing.16))] w-56 overflow-y-auto">
|
|
155
141
|
<!-- @ts-ignore -->
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
import Layout from '@layouts/DocsLayout.astro';
|
|
3
|
+
import Footer from '@layouts/Footer.astro';
|
|
3
4
|
import DefaultDocsLandingPage from '@layouts/CustomDocsPageLayout.astro';
|
|
4
5
|
import components from '@components/MDX/page-components';
|
|
5
6
|
import { getIndexPage } from '@utils/pages';
|
|
@@ -20,15 +21,7 @@ if(page){
|
|
|
20
21
|
<div class="prose prose-md w-full !max-w-none">
|
|
21
22
|
<CustomContent components={components} />
|
|
22
23
|
</div>
|
|
23
|
-
<
|
|
24
|
-
<div class="flex justify-between items-center py-8 text-gray-500 text-sm font-light">
|
|
25
|
-
<div class="flex space-x-5">
|
|
26
|
-
<a href="https://github.com/event-catalog/eventcatalog" target="_blank"><svg class="w-5 h-5 bg-gray-400 hover:bg-purple-500 dark:hover:bg-gray-400" style="mask-image: url("/icons/github.svg"); mask-repeat: no-repeat; mask-position: center center;"></svg></a>
|
|
27
|
-
<a href="https://x.com/event_catalog" target="_blank"><span class="sr-only">x</span><svg class="w-5 h-5 bg-gray-400 hover:bg-purple-500 dark:hover:bg-gray-400" style="mask-image: url("/icons/x-twitter.svg"); mask-repeat: no-repeat; mask-position: center center;"></svg></a>
|
|
28
|
-
</div>
|
|
29
|
-
<a target="_blank" class="hover:text-purple-500 hover:underline text-gray-400 font-light not-prose" href="https://eventcatalog.dev">Powered by EventCatalog</a>
|
|
30
|
-
</div>
|
|
31
|
-
</footer>
|
|
24
|
+
<Footer />
|
|
32
25
|
</main>
|
|
33
26
|
</Layout>
|
|
34
27
|
}
|