Skip to content

Commit c7f96fe

Browse files
authored
Link to Hive Blog (#2055)
1 parent 3513675 commit c7f96fe

File tree

5 files changed

+14
-5
lines changed

5 files changed

+14
-5
lines changed

.changeset/five-dots-protect.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@theguild/components': minor
3+
---
4+
5+
Change Blog links to link to the new Hive blog

packages/components/src/components/hive-footer/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ const DEFAULT_ITEMS: HiveFooterItems = {
161161
{
162162
children: 'Blog',
163163
title: 'Read our blog',
164-
href: 'https://the-guild.dev/blog',
164+
href: 'https://the-guild.dev/graphql/hive/blog',
165165
},
166166
],
167167
company: [

packages/components/src/components/hive-navigation/index.stories.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ const HIVE_DEVELOPER_MENU: HiveNavigationProps['developerMenu'] = [
4242
icon: <RightCornerIcon />,
4343
children: 'Product Updates',
4444
},
45-
{ href: `${siteOrigin}/blog`, icon: <PencilIcon />, children: 'Blog' },
45+
{ href: `${siteOrigin}/graphql/hive/blog`, icon: <PencilIcon />, children: 'Blog' },
4646
{
4747
href: 'https://github.com/dotansimha/graphql-code-generator',
4848
icon: <GitHubIcon />,
@@ -206,7 +206,7 @@ export const CodegenNavmenu: StoryObj<HiveNavigationProps> = {
206206
children: 'Documentation',
207207
},
208208
{
209-
href: 'https://the-guild.dev/blog',
209+
href: 'https://the-guild.dev/graphql/hive/blog',
210210
icon: <PencilIcon />,
211211
children: 'Blog',
212212
},

packages/components/src/server/shared-meta-items.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ export function sharedMetaItems(options: { githubUrl: string; product: ProductTy
1515
blog: {
1616
title: 'Blog',
1717
type: 'page',
18-
href: 'https://the-guild.dev/blog',
18+
href: 'https://the-guild.dev/graphql/hive/blog',
1919
},
2020
github: {
2121
title: 'GitHub',
@@ -34,6 +34,10 @@ export function sharedMetaItems(options: { githubUrl: string; product: ProductTy
3434
title: 'Brand Assets',
3535
href: 'https://the-guild.dev/logos',
3636
},
37+
blog: {
38+
title: 'The Guild Blog',
39+
href: 'https://the-guild.dev/blog',
40+
},
3741
},
3842
},
3943
'graphql-foundation': {

website/app/layout.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ const RootLayout = async ({ children }: { children: ReactNode }) => {
4242
children: 'Documentation',
4343
},
4444
{
45-
href: 'https://the-guild.dev/blog',
45+
href: 'https://the-guild.dev/graphql/hive/blog',
4646
icon: <PencilIcon />,
4747
children: 'Blog',
4848
},

0 commit comments

Comments
 (0)