From b597d7ab115c7583974689ff934467b820dadddd Mon Sep 17 00:00:00 2001 From: "Isaac Lombard [SSW]" <152236421+isaaclombardssw@users.noreply.github.com> Date: Tue, 21 Jan 2025 09:45:20 +1100 Subject: [PATCH] Custom Hero YT Link (#2768) resolving homepage yt link --- components/blocks/Features/Features.template.ts | 6 ++++++ components/blocks/Features/Features.tsx | 4 +++- content/blocksPages/home.json | 1 + tina/tina-lock.json | 2 +- 4 files changed, 11 insertions(+), 2 deletions(-) diff --git a/components/blocks/Features/Features.template.ts b/components/blocks/Features/Features.template.ts index 2904cfabb4..5eee371a2a 100644 --- a/components/blocks/Features/Features.template.ts +++ b/components/blocks/Features/Features.template.ts @@ -79,6 +79,12 @@ export const featuresTemplate: Template = { 'This is the Cloudinary Public ID, for example "tina-io/docs/quick-edit-demo".', type: 'string', }, + { + name: 'link', + label: 'Video Link', + description: 'This is the link when the video is clicked.', + type: 'string', + }, ], }, { diff --git a/components/blocks/Features/Features.tsx b/components/blocks/Features/Features.tsx index e859a66603..7ccc9b5880 100644 --- a/components/blocks/Features/Features.tsx +++ b/components/blocks/Features/Features.tsx @@ -85,7 +85,9 @@ export function FeatureBlock({ data, index }) { <>