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,66 @@
export const CardGridTemplate = {
name: "cardGrid",
label: "Card Grid",
ui: {
defaultItem: {
cards: [
{
title: "Card Title",
description: "Card Description",
link: "https://www.google.com",
linkText: "Search now",
},
],
},
},
fields: [
{
name: "cards",
label: "Cards",
type: "object",
list: true,
ui: {
defaultItem: () => {
return {
title: "Card Title",
description: "Card Description",
link: "https://www.google.com",
linkText: "Search now",
};
},
itemProps: (item) => {
return {
label: item.title || "Untitled",
};
},
},
fields: [
{
name: "title",
label: "Title",
type: "string",
},
{
name: "description",
label: "Description",
type: "string",
ui: {
component: "textarea",
},
},
{
name: "link",
label: "Link",
type: "string",
},
{
name: "linkText",
label: "Button Text",
type: "string",
},
],
},
],
};
export default CardGridTemplate;