@eventcatalog/core 2.0.26 → 2.0.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/CHANGELOG.md
CHANGED
package/astro.config.mjs
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
---
|
|
2
2
|
import catalog from '@eventcatalog';
|
|
3
|
-
// import Search from 'astro-pagefind/components/Search';
|
|
4
3
|
import Search from '@components/Search.astro';
|
|
5
4
|
import { buildUrl } from '@utils/url-builder';
|
|
6
5
|
|
|
@@ -31,7 +30,7 @@ const logo = {
|
|
|
31
30
|
<nav class="md:fixed top-0 w-full z-20 bg-white border-b border-gray-200 py-4 font-bold text-xl max-w-[70em]">
|
|
32
31
|
<div class="flex justify-between items-center">
|
|
33
32
|
<div class="w-1/3 flex space-x-2 items-center">
|
|
34
|
-
<a href={buildUrl('/docs')} class="flex space-x-2 items-center">
|
|
33
|
+
<a href={buildUrl(catalog.landingPage || '/docs')} class="flex space-x-2 items-center">
|
|
35
34
|
{logo.src && <img alt={logo.alt} src={buildUrl(logo.src, true)} class="w-8" />}
|
|
36
35
|
{logo.text && <span class="hidden sm:inline-block text-[1em]">{logo.text}</span>}
|
|
37
36
|
</a>
|