@theguild/components 8.1.1-alpha-20241217061704-596f1467f5f0e81c62b07b002331ef9aa5829e92 → 8.1.1-alpha-20241217063821-af6409e1feab31e63373029238b18255ea68b117
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/index.d.mts +1 -0
- package/dist/index.js +2 -0
- package/dist/server/theme-layout.js +13 -8
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -37,6 +37,7 @@ export { IEditorProps, IFeatureListProps, IHeroGradientProps, IHeroIllustrationP
|
|
|
37
37
|
export { AngularLettermark, ConductorLettermark, ConfigLettermark, EnvelopLettermark, FetsLettermark, GraphQLESlintLettermark, HeltinLettermark, InspectorLettermark, KitQLLettermark, ModulesLettermark, SSELettermark, ScalarsLettermark, SofaLettermark, StitchingLettermark, ToolsLettermark, WSLettermark, WhatsAppLettermark } from './logos/index.mjs';
|
|
38
38
|
export { cn } from './cn.mjs';
|
|
39
39
|
export { NextPageProps } from './next-types.mjs';
|
|
40
|
+
export { normalizePages } from 'nextra/normalize-pages';
|
|
40
41
|
export { GraphQLConfCard, GraphQLConfCardProps } from './components/hive-navigation/graphql-conf-card.mjs';
|
|
41
42
|
import 'react';
|
|
42
43
|
import 'url';
|
package/dist/index.js
CHANGED
|
@@ -20,6 +20,7 @@ export * from "./types/components";
|
|
|
20
20
|
export * from "./logos";
|
|
21
21
|
import { cn } from "./cn";
|
|
22
22
|
export * from "./next-types";
|
|
23
|
+
import { normalizePages } from "nextra/normalize-pages";
|
|
23
24
|
export {
|
|
24
25
|
Banner,
|
|
25
26
|
Bleed,
|
|
@@ -37,6 +38,7 @@ export {
|
|
|
37
38
|
Table,
|
|
38
39
|
Tabs,
|
|
39
40
|
cn,
|
|
41
|
+
normalizePages,
|
|
40
42
|
useConfig,
|
|
41
43
|
useMounted,
|
|
42
44
|
useTheme,
|
|
@@ -136,12 +136,6 @@ function getDefaultMetadata({
|
|
|
136
136
|
site: "https://the-guild.dev",
|
|
137
137
|
creator: "@TheGuildDev"
|
|
138
138
|
},
|
|
139
|
-
openGraph: {
|
|
140
|
-
siteName: websiteName,
|
|
141
|
-
type: "website",
|
|
142
|
-
images: `https://og-image.the-guild.dev/?product=${productName}`,
|
|
143
|
-
url: siteUrl
|
|
144
|
-
},
|
|
145
139
|
applicationName: websiteName,
|
|
146
140
|
appleWebApp: {
|
|
147
141
|
title: websiteName
|
|
@@ -151,9 +145,20 @@ function getDefaultMetadata({
|
|
|
151
145
|
follow: true
|
|
152
146
|
},
|
|
153
147
|
alternates: {
|
|
154
|
-
|
|
148
|
+
// https://github.com/vercel/next.js/discussions/50189#discussioncomment-10826632
|
|
149
|
+
canonical: "./"
|
|
155
150
|
},
|
|
156
|
-
|
|
151
|
+
metadataBase: new URL(siteUrl),
|
|
152
|
+
...additionalMetadata,
|
|
153
|
+
openGraph: {
|
|
154
|
+
siteName: websiteName,
|
|
155
|
+
type: "website",
|
|
156
|
+
images: `https://og-image.the-guild.dev/?product=${productName}`,
|
|
157
|
+
// https://github.com/vercel/next.js/discussions/50189#discussioncomment-10826632
|
|
158
|
+
url: "./",
|
|
159
|
+
locale: "en_US",
|
|
160
|
+
...additionalMetadata.openGraph
|
|
161
|
+
}
|
|
157
162
|
};
|
|
158
163
|
}
|
|
159
164
|
export {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@theguild/components",
|
|
3
|
-
"version": "8.1.1-alpha-
|
|
3
|
+
"version": "8.1.1-alpha-20241217063821-af6409e1feab31e63373029238b18255ea68b117",
|
|
4
4
|
"repository": {
|
|
5
5
|
"url": "https://github.com/the-guild-org/docs",
|
|
6
6
|
"directory": "packages/components"
|