From 50ef8326dd1478e4219d0082b4816cdf593979d8 Mon Sep 17 00:00:00 2001 From: Peter Maquiran Date: Fri, 10 Apr 2026 21:12:03 +0100 Subject: [PATCH] add custom play button --- app/content/page.tsx | 104 ++++++++++++++++++++++++++++++------------- next.config.ts | 4 ++ 2 files changed, 76 insertions(+), 32 deletions(-) diff --git a/app/content/page.tsx b/app/content/page.tsx index ae09531..5701dff 100644 --- a/app/content/page.tsx +++ b/app/content/page.tsx @@ -1,13 +1,15 @@ "use client"; -import React from 'react'; +import React, { useState } from 'react'; import Image from 'next/image'; import { ThumbsUp, MessageCircle, Send, Share2 } from 'lucide-react'; -// import { FaWhatsapp, FaFacebookF, FaInstagram } from 'react-icons/fa'; import { TvoneAdBanner, TvoneFooter } from '../components/tvone-content'; import { TvonePromoStrip } from '../components/tvone-promo-strip'; import { TvoneSiteNav } from '../components/tvone-site-nav'; export default function NewsArticlePage() { + // Estado para controlar o play do vídeo customizado + const [isPlaying, setIsPlaying] = useState(false); + return (
@@ -16,6 +18,7 @@ export default function NewsArticlePage() {
+ {/* --- COLUNA PRINCIPAL (ARTIGO) --- */}
@@ -152,38 +155,76 @@ export default function NewsArticlePage() {
- {/* --- SIDEBAR COM VÍDEO TV ONE --- */} + {/* --- SIDEBAR REFINADA --- */}