From 17dff6132b445c1ec94eda5827dcd122e8a9032f Mon Sep 17 00:00:00 2001 From: Faton Ramadani Date: Thu, 5 Oct 2023 17:27:13 +0200 Subject: [PATCH] Handle youtube videos --- src/landing/tabs/TabContent.tsx | 27 +++++++---- src/pages/windmill_ai.jsx | 80 ++++++++++++++++++++++++--------- 2 files changed, 77 insertions(+), 30 deletions(-) diff --git a/src/landing/tabs/TabContent.tsx b/src/landing/tabs/TabContent.tsx index 10c32728c..e2b865b67 100644 --- a/src/landing/tabs/TabContent.tsx +++ b/src/landing/tabs/TabContent.tsx @@ -28,14 +28,25 @@ export default function TabContent({ data, color }) { function renderAsset(data) { if (data[selectedIndex].video) { - return ( -