mirror of
https://github.com/PeterMaquiran/tvone.git
synced 2026-04-18 15:27:52 +00:00
Compare commits
3 Commits
61e5ceefcd
...
554e469930
| Author | SHA1 | Date | |
|---|---|---|---|
| 554e469930 | |||
| e3f7764a03 | |||
| db7fcb8a88 |
+115
-47
@@ -8,6 +8,7 @@ import { TvoneSiteNav } from '../components/tvone-site-nav';
|
|||||||
import { SiWhatsapp, SiFacebook, SiX } from 'react-icons/si'; // Ícones oficiais de marca
|
import { SiWhatsapp, SiFacebook, SiX } from 'react-icons/si'; // Ícones oficiais de marca
|
||||||
import { FiCopy } from 'react-icons/fi'; // Ícone de cópia mais limpo
|
import { FiCopy } from 'react-icons/fi'; // Ícone de cópia mais limpo
|
||||||
import Link from 'next/link';
|
import Link from 'next/link';
|
||||||
|
import { Users } from 'lucide-react';
|
||||||
|
|
||||||
export default function NewsArticlePage() {
|
export default function NewsArticlePage() {
|
||||||
// Estado para controlar o play do vídeo customizado
|
// Estado para controlar o play do vídeo customizado
|
||||||
@@ -100,7 +101,7 @@ export default function NewsArticlePage() {
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
{/* Corpo do Conteúdo */}
|
{/* Corpo do Conteúdo */}
|
||||||
<div className="mt-12 space-y-8 text-[20px] leading-[1.6] text-[#333] lg:text-[18px] px-6">
|
<div className="mt-12 space-y-8 text-[20px] leading-[1.6] text-[#333] lg:text-[18px] px-0 lg:px-6">
|
||||||
<p className="text-1xl md:text-2xl font-bold leading-snug text-black lg:tracking-tight">
|
<p className="text-1xl md:text-2xl font-bold leading-snug text-black lg:tracking-tight">
|
||||||
A turnê de Adele em 2016 foi o ápice de sua carreira, uma celebração de puro talento e conexão emocional que parou o mundo.
|
A turnê de Adele em 2016 foi o ápice de sua carreira, uma celebração de puro talento e conexão emocional que parou o mundo.
|
||||||
</p>
|
</p>
|
||||||
@@ -212,58 +213,121 @@ export default function NewsArticlePage() {
|
|||||||
</article>
|
</article>
|
||||||
|
|
||||||
{/* --- SIDEBAR REFINADA --- */}
|
{/* --- SIDEBAR REFINADA --- */}
|
||||||
{/* --- SIDEBAR REFINADA COM SOCIAL SHARE --- */}
|
|
||||||
|
{/* --- SIDEBAR REFINADA COM SOCIAL SHARE --- */}
|
||||||
|
|
||||||
<aside className="w-full lg:w-[340px] flex flex-col justify-center align-center items-center shrink-0">
|
<aside className="w-full lg:w-[340px] flex flex-col justify-center align-center items-center shrink-0">
|
||||||
<div className="sticky top-10 space-y-10 max-w-[400px]">
|
<div className="sticky top-10 space-y-10 max-w-[400px]">
|
||||||
|
|
||||||
|
<div className="bg-white p-5 rounded-xl border border-neutral-100 shadow-[0_2px_15px_rgba(0,0,0,0.03)]">
|
||||||
|
|
||||||
{/* 1. SEÇÃO DE SHARE (ESTILO APPLE NEWS) */}
|
{/* 1. Header: Adapted from your Share component */}
|
||||||
<div className="bg-white p-5 rounded-xl border border-neutral-100 shadow-[0_2px_15px_rgba(0,0,0,0.03)]">
|
<div className="flex items-center gap-2 mb-4">
|
||||||
<div className="flex items-center gap-2 mb-4">
|
{/* Usando Users icon for Community */}
|
||||||
<Share2 size={15} className="text-neutral-400" />
|
<Users size={15} className="text-neutral-400" />
|
||||||
<h3 className="text-[11px] font-bold text-neutral-400 uppercase tracking-widest">
|
<h3 className="text-[11px] font-bold text-neutral-400 uppercase tracking-widest">
|
||||||
Compartilhar
|
Community
|
||||||
</h3>
|
</h3>
|
||||||
</div>
|
|
||||||
|
|
||||||
<div className="grid grid-cols-4 gap-3">
|
|
||||||
<button className="group flex flex-col items-O futucenter gap-2">
|
|
||||||
<div className="flex h-12 w-12 items-center justify-center rounded-full bg-[#25D366] text-white transition-all hover:opacity-90 active:scale-95">
|
|
||||||
<SiWhatsapp size={20} />
|
|
||||||
</div>
|
|
||||||
<span className="text-[10px] font-medium text-neutral-500">WhatsApp</span>
|
|
||||||
</button>
|
|
||||||
|
|
||||||
<button className="group flex flex-col items-center gap-2">
|
|
||||||
<div className="flex h-12 w-12 items-center justify-center rounded-full bg-[#007AFF] text-white transition-all hover:opacity-90 active:scale-95">
|
|
||||||
<SiFacebook size={20} />
|
|
||||||
</div>
|
|
||||||
<span className="text-[10px] font-medium text-neutral-500">Facebook</span>
|
|
||||||
</button>
|
|
||||||
|
|
||||||
<button className="group flex flex-col items-center gap-2">
|
|
||||||
<div className="flex h-12 w-12 items-center justify-center rounded-full bg-black text-white transition-all hover:opacity-80 active:scale-95">
|
|
||||||
<SiX size={18} />
|
|
||||||
</div>
|
|
||||||
<span className="text-[10px] font-medium text-neutral-500">Twitter</span>
|
|
||||||
</button>
|
|
||||||
|
|
||||||
<button className="group flex flex-col items-center gap-2">
|
|
||||||
<div className="flex h-12 w-12 items-center justify-center rounded-full bg-[#F2F2F7] text-[#8E8E93] transition-all hover:bg-[#E5E5EA] active:scale-95">
|
|
||||||
<Link2 size={20} />
|
|
||||||
</div>
|
|
||||||
<span className="text-[10px] font-medium text-neutral-500">Link</span>
|
|
||||||
</button>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
{/* 2. Main Content Area: Simplified from the UI mockup */}
|
||||||
|
<div className="flex flex-col gap-5">
|
||||||
|
|
||||||
|
{/* Column for Brand and Button */}
|
||||||
|
<div className="flex flex-col gap-4">
|
||||||
|
|
||||||
|
{/* Brand Info */}
|
||||||
|
{/* Brand Info - A highly stylized placeholder that looks 'premium' */}
|
||||||
|
{/* Brand Info - FIXED to use your actual logo image */}
|
||||||
|
<div className="flex items-center gap-3">
|
||||||
|
{/* 1. Use Next/Image for your official icon */}
|
||||||
|
<div className="flex h-12 w-12 shrink-0 items-center justify-center rounded-xl overflow-hidden shadow-inner border border-neutral-100">
|
||||||
|
<Image
|
||||||
|
src="/logo.png" // <-- UPDATE THIS PATH to your square logo
|
||||||
|
alt="TVone Icon Logo"
|
||||||
|
width={48} // Width in pixels (matches h-12/w-12 class)
|
||||||
|
height={48} // Height in pixels
|
||||||
|
className="object-contain" // Ensures the logo doesn't stretch
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
{/* 2. Brand text matches previous styling */}
|
||||||
|
<div>
|
||||||
|
<p className="text-sm font-bold text-neutral-900 leading-tight">TVone</p>
|
||||||
|
<p className="text-[11px] font-medium text-neutral-500">500k seguidores</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
{/* Main Action Button */}
|
||||||
|
<button className="flex h-11 w-full items-center justify-center gap-2.5 rounded-lg bg-[#1877F2] text-white font-semibold text-sm transition-all hover:bg-[#166fe5] active:scale-95 shadow-sm">
|
||||||
|
|
||||||
|
<SiFacebook size={16} />
|
||||||
|
Gosto da TVone
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
{/* 3. Plugin Footer */}
|
||||||
|
<div className="border-t border-neutral-100 pt-3">
|
||||||
|
<p className="flex items-center gap-1.5 text-[10px] font-medium text-neutral-400">
|
||||||
|
|
||||||
|
<SiFacebook size={16} />
|
||||||
|
Facebook Page Plugin
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
{/* 1. SEÇÃO DE SHARE (ESTILO APPLE NEWS) */}
|
||||||
|
{/* <div className="bg-white p-5 rounded-xl border border-neutral-100 shadow-[0_2px_15px_rgba(0,0,0,0.03)]">
|
||||||
|
<div className="flex items-center gap-2 mb-4">
|
||||||
|
<Share2 size={15} className="text-neutral-400" />
|
||||||
|
<h3 className="text-[11px] font-bold text-neutral-400 uppercase tracking-widest">
|
||||||
|
Compartilhar
|
||||||
|
</h3>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div className="grid grid-cols-4 gap-3">
|
||||||
|
|
||||||
|
|
||||||
|
<button className="group flex flex-col items-center gap-2">
|
||||||
|
<div className="flex h-12 w-12 items-center justify-center rounded-full bg-neutral-100 text-neutral-600 transition-all group-hover:bg-neutral-200 active:scale-95">
|
||||||
|
<SiWhatsapp size={20} />
|
||||||
|
</div>
|
||||||
|
<span className="text-[10px] font-medium text-neutral-500">WhatsApp</span>
|
||||||
|
</button>
|
||||||
|
|
||||||
|
|
||||||
|
<button className="group flex flex-col items-center gap-2">
|
||||||
|
<div className="flex h-12 w-12 items-center justify-center rounded-full bg-neutral-100 text-neutral-600 transition-all group-hover:bg-neutral-200 active:scale-95">
|
||||||
|
<SiFacebook size={20} />
|
||||||
|
</div>
|
||||||
|
<span className="text-[10px] font-medium text-neutral-500">Facebook</span>
|
||||||
|
</button>
|
||||||
|
|
||||||
|
|
||||||
|
<button className="group flex flex-col items-center gap-2">
|
||||||
|
<div className="flex h-12 w-12 items-center justify-center rounded-full bg-neutral-100 text-neutral-600 transition-all group-hover:bg-neutral-200 active:scale-95">
|
||||||
|
<SiX size={18} />
|
||||||
|
</div>
|
||||||
|
<span className="text-[10px] font-medium text-neutral-500">Twitter</span>
|
||||||
|
</button>
|
||||||
|
|
||||||
|
|
||||||
|
<button className="group flex flex-col items-center gap-2">
|
||||||
|
<div className="flex h-12 w-12 items-center justify-center rounded-full bg-neutral-100 text-neutral-600 transition-all group-hover:bg-neutral-200 active:scale-95">
|
||||||
|
<Link2 size={20} />
|
||||||
|
</div>
|
||||||
|
<span className="text-[10px] font-medium text-neutral-500">Link</span>
|
||||||
|
</button>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div> */}
|
||||||
|
|
||||||
{/* 2. ADVERTORIAL (CEO UNITEL) - REPLACING TV CARD */}
|
{/* 2. ADVERTORIAL (CEO UNITEL) - REPLACING TV CARD */}
|
||||||
<div className="group cursor-pointer">
|
<div className="group cursor-pointer">
|
||||||
<div className="flex items-center justify-between mb-3 px-1">
|
<div className="flex items-center justify-between mb-3 px-1">
|
||||||
<div className="h-[15px] flex items-center">
|
<span className="text-[10px] font-bold text-neutral-400 uppercase">Publicidade</span>
|
||||||
<img src="/unitel-logo.png" alt="Unitel logo" className="h-full w-auto" />
|
|
||||||
</div>
|
|
||||||
<span className="text-[10px] font-bold text-neutral-400 uppercase">Pub</span>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div className="relative aspect-[4/5] w-full overflow-hidden rounded-xl bg-neutral-100 shadow-sm transition-shadow">
|
<div className="relative aspect-[4/5] w-full overflow-hidden rounded-xl bg-neutral-100 shadow-sm transition-shadow">
|
||||||
@@ -292,6 +356,10 @@ export default function NewsArticlePage() {
|
|||||||
</div> */}
|
</div> */}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<div className="flex items-center justify-between mb-3 px-1">
|
||||||
|
<span className="text-[10px] font-bold text-neutral-400 uppercase">Publicidade</span>
|
||||||
|
</div>
|
||||||
|
|
||||||
{/* 3. PREMIUM SUBSCRIPTION - APPLE STYLE */}
|
{/* 3. PREMIUM SUBSCRIPTION - APPLE STYLE */}
|
||||||
<div className="bg-black p-7 rounded-xl relative overflow-hidden text-white shadow-xl">
|
<div className="bg-black p-7 rounded-xl relative overflow-hidden text-white shadow-xl">
|
||||||
<div className="relative z-10">
|
<div className="relative z-10">
|
||||||
@@ -349,7 +417,7 @@ export default function NewsArticlePage() {
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
{recentes.map((item) => (
|
{recentes.map((item) => (
|
||||||
<article key={item.title} className="group cursor-pointer">
|
<article key={item.title} className="group cursor-pointer mb-1">
|
||||||
<Link href="#" className="flex flex-row items-start gap-6">
|
<Link href="#" className="flex flex-row items-start gap-6">
|
||||||
|
|
||||||
{/* 1. LADO DA IMAGEM (Limpo e Minimalista) */}
|
{/* 1. LADO DA IMAGEM (Limpo e Minimalista) */}
|
||||||
@@ -364,9 +432,9 @@ export default function NewsArticlePage() {
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
{/* 2. LADO DO TEXTO (Categoria externa ao topo) */}
|
{/* 2. LADO DO TEXTO (Categoria externa ao topo) */}
|
||||||
<div className="flex flex-1 flex-col pt-1">
|
<div className="flex flex-1 flex-col ">
|
||||||
{/* CATEGORIA E DATA LADO A LADO */}
|
{/* CATEGORIA E DATA LADO A LADO */}
|
||||||
<div className="flex items-center gap-2 mb-2">
|
<div className="gap-3 mb-2 flex flex-col justify-start items-start">
|
||||||
<span className="text-[10px] font-bold uppercase tracking-wider text-[#0066CC]">
|
<span className="text-[10px] font-bold uppercase tracking-wider text-[#0066CC]">
|
||||||
{item.cat}
|
{item.cat}
|
||||||
</span>
|
</span>
|
||||||
|
|||||||
Reference in New Issue
Block a user