Skip to content

Commit 6d5e8d9

Browse files
committed
refactor: change to pattern guide
1 parent 91f900f commit 6d5e8d9

File tree

6 files changed

+4
-4
lines changed

6 files changed

+4
-4
lines changed

app/_utils/get-pattern-assistant.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ export type PatternAssistantPage = {
1212
}
1313

1414
export async function getPatternAssistantPages(locale: string): Promise<PatternAssistantPage[]> {
15-
const pageMap = await getPageMap(`/${locale}/pattern-assistant`)
15+
const pageMap = await getPageMap(`/${locale}/pattern-guide`)
1616
if (!pageMap) return []
1717

1818
const pages = pageMap.filter(page =>
@@ -28,7 +28,7 @@ export async function getPatternAssistantPages(locale: string): Promise<PatternA
2828
return {
2929
title: page.frontMatter?.title || page.name,
3030
summary: page.frontMatter?.summary || '',
31-
href: `/${locale}/pattern-assistant/${page.name}`,
31+
href: `/${locale}/pattern-guide/${page.name}`,
3232
icon: IconComponent,
3333
frontMatter: page.frontMatter || {}
3434
}

content/en/_meta.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ export default {
1111
type: 'page',
1212
title: 'Patterns'
1313
},
14-
'pattern-assistant': {
14+
'pattern-guide': {
1515
type: 'page',
16-
title: 'Pattern Assistant',
16+
title: 'Pattern Guide',
1717
theme: {
1818
sidebar: false,
1919
typesetting: 'article',
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)