Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
christinaroise committed Sep 13, 2024
1 parent 25f85e4 commit 7e9f0c0
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 deletions.
22 changes: 11 additions & 11 deletions studio/schemas/deskStructure.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,21 +38,21 @@ const adminSection = (S: StructureBuilder) =>
S.document()
.schemaType(companyInfoID)
.documentId(companyInfoID)
.title("Company Information")
.title("Company Information"),
),
S.listItem()
.title("Company Locations")
.icon(PinIcon)
.child(
S.documentTypeList(companyLocationID).title("Company Locations")
S.documentTypeList(companyLocationID).title("Company Locations"),
),
S.listItem()
.title("Legal Documents")
.icon(CogIcon)
.child(
S.documentTypeList(legalDocumentID).title("Legal Documents")
S.documentTypeList(legalDocumentID).title("Legal Documents"),
),
])
]),
);

// Site Settings Section
Expand All @@ -71,13 +71,13 @@ const siteSettingSection = (S: StructureBuilder) =>
S.document()
.schemaType("navigationManager")
.documentId("navigationManager")
.title("Navigation Manager")
.title("Navigation Manager"),
),
S.listItem()
.title("Social Media Profiles")
.icon(UsersIcon)
.child(
S.document().schemaType(soMeLinksID).documentId(soMeLinksID)
S.document().schemaType(soMeLinksID).documentId(soMeLinksID),
),
S.listItem()
.title("SEO Configurations")
Expand All @@ -92,17 +92,17 @@ const siteSettingSection = (S: StructureBuilder) =>
S.document()
.schemaType(seoFallbackID)
.documentId(seoFallbackID)
.title("Fallback SEO")
.title("Fallback SEO"),
),
])
]),
),
S.listItem()
.title("Broken Links")
.icon(DoubleChevronRightIcon)
.child(S.documentTypeList(redirectId).title("Redirects")),
//TODO: Add SEO Settings
//TODO: Add Language selector
])
]),
);

// Section for dynamic and customizable Pages
Expand Down Expand Up @@ -137,9 +137,9 @@ const SpecialPagesSection = (S: StructureBuilder) =>
S.document()
.schemaType(compensationsId)
.documentId(compensationsId)
.title("Compensations")
.title("Compensations"),
),
])
]),
);

// Main export
Expand Down
4 changes: 2 additions & 2 deletions studio/schemas/objects/seo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,12 +45,12 @@ const seo = defineField({
rule
.min(70)
.warning(
"A description of at least 70 characters has a higher chance of converting visitors"
"A description of at least 70 characters has a higher chance of converting visitors",
),
rule
.max(160)
.warning(
"A description of more than 160 characters has a lower chance of converting visitors"
"A description of more than 160 characters has a lower chance of converting visitors",
),
],
components: {
Expand Down

0 comments on commit 7e9f0c0

Please sign in to comment.