Skip to content

Commit

Permalink
Added Tina fields for documentationLink and YouTube channel link to M…
Browse files Browse the repository at this point in the history
…enu Item Schema (#3596)

* Added Tina fields for documentationLink and YouTube channel link to menu item schema

* input fields

* single to double quotes
  • Loading branch information
joshbermanssw authored Feb 13, 2025
1 parent b066ff5 commit dbc5439
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 3 deletions.
6 changes: 4 additions & 2 deletions content/megamenu/menu.json
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,9 @@
"name": "TinaCMS",
"url": "https://tina.io",
"description": "Tina is a fully open source headless CMS that supports Git and Markdown. It's a great choice for any website with its friendly UX and DevEx",
"iconImg": "/images/megamenu-icons/TinaDefault.svg"
"iconImg": "/images/megamenu-icons/TinaDefault.svg",
"documentationLink": "https://tina.io/docs",
"youtubeLink": "https://www.youtube.com/c/tinacms"
},
{
"name": "SugarLearning",
Expand Down Expand Up @@ -707,4 +709,4 @@
"url": ""
}
]
}
}
10 changes: 10 additions & 0 deletions tina/collections/megamenu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,16 @@ export const megaMenuSchema: Collection = {
// @ts-ignore
uploadDir: () => "/megamenu-icons",
},
{
type: "string",
name: "documentationLink",
label: "Link to Documentation",
},
{
type: "string",
name: "youtubeLink",
label: "Link to YouTube Channel",
},
{
type: "string",
name: "icon",
Expand Down
2 changes: 1 addition & 1 deletion tina/tina-lock.json

Large diffs are not rendered by default.

0 comments on commit dbc5439

Please sign in to comment.