Skip to content

Commit

Permalink
Update page to "dynamic page" (#524)
Browse files Browse the repository at this point in the history
* Update page to "dynamic page"

* Rename in page builder
  • Loading branch information
anemne authored Aug 26, 2024
1 parent 1904606 commit 79da6d5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions studio/schemas/builders/pageBuilder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@ export const pageBuilderID = "pageBuilder";
const pageBuilder = defineType({
name: pageBuilderID,
type: "document",
title: "Pages",
title: "Dynamic pages",
fields: [
defineField({
name: "page",
title: "Page name",
description:
"Enter a distinctive name for the page to help content editors easily identify and manage it. This name is used internally and is not visible on your website.",
"Enter a distinctive name for the dynamic page to help content editors easily identify and manage it. This name is used internally and is not visible on your website.",
type: "string",
validation: (Rule) => Rule.required().max(30),
}),
Expand Down
4 changes: 2 additions & 2 deletions studio/schemas/deskStructure.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,9 @@ export default (S: StructureBuilder) =>
.title("Navigation Manager"),
),
S.listItem()
.title("Pages")
.title("Dynamic Pages")
.icon(ProjectsIcon)
.child(S.documentTypeList(pageBuilderID).title("Pages")),
.child(S.documentTypeList(pageBuilderID).title("Dynamic Pages")),
S.listItem()
.title("Blog")
.icon(ComposeIcon)
Expand Down

0 comments on commit 79da6d5

Please sign in to comment.