initial commit after project creation

This commit is contained in:
Gerhard Scheikl
2026-04-01 09:38:50 +02:00
commit b02af637d4
292 changed files with 61408 additions and 0 deletions

View File

@@ -0,0 +1,48 @@
import { TextInputWithCount } from "../customFields/text-input-with-count";
export const SeoInformation = {
type: "object",
label: "SEO Values",
name: "seo",
fields: [
{
type: "string",
label: "Meta - Title",
description: "Recommended limit of 70 characters",
name: "title",
ui: {
validate: (value) => {
if (value && value.length > 70) {
return "Title should be 70 characters or less";
}
},
component: TextInputWithCount(70),
},
},
{
type: "string",
label: "Meta - Description",
description: "Recommended limit of 150 characters",
name: "description",
component: "textarea",
ui: {
component: TextInputWithCount(150, true),
},
},
{
type: "string",
label: "Canonical URL",
name: "canonicalUrl",
description: "Default URL if no URL is provided",
},
{
type: "image",
label: "Open Graph Image",
name: "ogImage",
uploadDir: () => "og",
description: "Default image if no image is provided",
},
],
};
export default SeoInformation;