mirror of
https://github.com/PeterMaquiran/tvone.git
synced 2026-04-18 15:27:52 +00:00
@@ -56,7 +56,7 @@ const destaques = [
|
||||
|
||||
// {/* OVERLAY: REPLAY STYLE (iOS/EURO) */}
|
||||
// <div className="absolute inset-0 flex flex-col items-center justify-center bg-black/20 opacity-0 transition-opacity duration-300 group-hover:opacity-100">
|
||||
// <div className="flex h-12 w-12 items-center justify-center rounded-full bg-white/20 backdrop-blur-md border border-white/30">
|
||||
// <div className="flex h-12 w-12 items-center justify-center rounded-2xl bg-white/20 backdrop-blur-md border border-white/30">
|
||||
// <svg className="h-6 w-6 text-white" fill="none" viewBox="0 0 24 24" stroke="currentColor">
|
||||
// <path strokeLinecap="round" strokeLinejoin="round" strokeWidth={2} d="M4 4v5h.582m15.356 2A8.001 8.001 0 004.582 9m0 0H9m11 11v-5h-.581m0 0a8.003 8.003 0 01-15.357-2m15.357 2H15" />
|
||||
// </svg>
|
||||
@@ -88,7 +88,7 @@ const destaques = [
|
||||
// <div className="mt-10 flex justify-center">
|
||||
// <Link
|
||||
// href="/cultura"
|
||||
// className="inline-flex items-center justify-center rounded-full bg-neutral-100 px-8 py-3 text-sm font-semibold text-neutral-900 transition-all hover:bg-neutral-200 active:scale-95"
|
||||
// className="inline-flex items-center justify-center rounded-2xl bg-neutral-100 px-8 py-3 text-sm font-semibold text-neutral-900 transition-all hover:bg-neutral-200 active:scale-95"
|
||||
// >
|
||||
// Ver mais notícias de Cultura
|
||||
// <svg className="ml-2 h-4 w-4" fill="none" viewBox="0 0 24 24" stroke="currentColor">
|
||||
|
||||
@@ -204,7 +204,7 @@ export function TvoneDestaques() {
|
||||
{item.cat == 'Musica' && (
|
||||
<div className="flex items-center gap-3">
|
||||
<span className="text-[10px] font-bold uppercase tracking-wider text-blue-600">{item.cat}</span>
|
||||
<span className="h-1 w-1 rounded-full bg-neutral-300" />
|
||||
<span className="h-1 w-1 rounded-2xl bg-neutral-300" />
|
||||
<span className="text-[10px] font-semibold text-neutral-500 uppercase tracking-tight">{item.date}</span>
|
||||
</div>
|
||||
)}
|
||||
@@ -274,11 +274,11 @@ export function TvoneMainColumns() {
|
||||
<span className="text-[10px] font-bold uppercase tracking-wider text-[#0066CC]">
|
||||
{item.cat}
|
||||
</span>
|
||||
<span className="h-1 w-1 rounded-full bg-neutral-300" />
|
||||
<span className="h-1 w-1 rounded-2xl bg-neutral-300" />
|
||||
<span className="text-[10px] font-semibold text-neutral-400 uppercase tracking-tight">
|
||||
{item.date}
|
||||
</span>
|
||||
<span className="h-1 w-1 rounded-full bg-neutral-300" />
|
||||
<span className="h-1 w-1 rounded-2xl bg-neutral-300" />
|
||||
<span className="text-[10px] font-bold uppercase text-neutral-400">
|
||||
{item.readTime} min
|
||||
</span>
|
||||
@@ -310,7 +310,7 @@ export function TvoneAdBanner() {
|
||||
return (
|
||||
<section className="mx-auto w-full flex justify-center items-center px-4 pt-10 pb-10">
|
||||
<div className="max-w-[1200px] w-full">
|
||||
<div className="relative overflow-hidden rounded-xl bg-gradient-to-r from-[#0a4d8c] via-[#1e6fb8] to-[#e85c2a] px-6 py-8 text-white md:flex md:items-center md:justify-between md:py-10">
|
||||
<div className="relative overflow-hidden rounded-2xl bg-gradient-to-r from-[#0a4d8c] via-[#1e6fb8] to-[#e85c2a] px-6 py-8 text-white md:flex md:items-center md:justify-between md:py-10">
|
||||
<div className="max-w-lg">
|
||||
<p className="text-[11px] font-semibold uppercase tracking-widest text-white/90">BAI Directo</p>
|
||||
<h2 className="mt-2 text-3xl font-bold leading-tight tracking-tight md:text-4xl">Actualização do BAI Directo</h2>
|
||||
@@ -348,7 +348,7 @@ export function TvoneFooter() {
|
||||
src="/logo.png" // put your image in /public
|
||||
alt="tvone logo"
|
||||
fill
|
||||
className="rounded-full object-cover"
|
||||
className="rounded-2xl object-cover"
|
||||
/>
|
||||
</div>
|
||||
|
||||
@@ -413,7 +413,7 @@ export function TvoneFooter() {
|
||||
<img
|
||||
src="/logo.png"
|
||||
alt="tvone logo"
|
||||
className="h-4 w-4 sm:h-5 sm:w-5 md:h-6 md:w-6 rounded-full object-cover"
|
||||
className="h-4 w-4 sm:h-5 sm:w-5 md:h-6 md:w-6 rounded-2xl object-cover"
|
||||
/>
|
||||
|
||||
<span>Todos os direitos reservados.</span>
|
||||
|
||||
@@ -37,13 +37,13 @@ export function TvoneHero() {
|
||||
|
||||
return (
|
||||
<section className="mx-auto w-full max-w-[1200px] px-4 py-6 pb-20 pt-12">
|
||||
<div className="relative overflow-hidden shadow-[0_12px_40px_rgba(0,0,0,0.12)] rounded-[24px] ">
|
||||
<div className="relative aspect-[21/9] min-h-[280px] w-full md:aspect-[2.4/1] rounded-xl">
|
||||
<div className="relative overflow-hidden shadow-[0_12px_40px_rgba(0,0,0,0.12)] rounded-2xl ">
|
||||
<div className="relative aspect-[21/9] min-h-[280px] w-full md:aspect-[2.4/1] rounded-2xl">
|
||||
<Image
|
||||
src={slide.image}
|
||||
alt=""
|
||||
fill
|
||||
className="object-cover rounded-xl"
|
||||
className="object-cover rounded-2xl"
|
||||
sizes="(max-width: 1200px) 100vw, 1200px"
|
||||
priority
|
||||
/>
|
||||
@@ -64,7 +64,7 @@ export function TvoneHero() {
|
||||
key={s.id}
|
||||
type="button"
|
||||
onClick={() => setActive(i)}
|
||||
className={`h-2 w-2 rounded-full transition ${i === active ? "bg-white" : "bg-white/45 hover:bg-white/70"}`}
|
||||
className={`h-2 w-2 rounded-2xl transition ${i === active ? "bg-white" : "bg-white/45 hover:bg-white/70"}`}
|
||||
aria-label={`Slide ${i + 1}`}
|
||||
aria-current={i === active}
|
||||
/>
|
||||
|
||||
@@ -38,7 +38,7 @@ export function TvonePublicationBanner({
|
||||
<p className="text-sm font-semibold text-neutral-800">{title}</p>
|
||||
<p className="mt-0.5 max-w-xl text-xs text-neutral-600 md:text-sm">{subtitle}</p>
|
||||
</div>
|
||||
<span className="mt-2 shrink-0 rounded-full border border-neutral-300 bg-white px-3 py-1 text-[11px] font-medium text-neutral-700 md:mt-0">
|
||||
<span className="mt-2 shrink-0 rounded-2xl border border-neutral-300 bg-white px-3 py-1 text-[11px] font-medium text-neutral-700 md:mt-0">
|
||||
Espaço disponível
|
||||
</span>
|
||||
</div>
|
||||
|
||||
@@ -144,7 +144,7 @@ export function TvoneSiteNav() {
|
||||
src="/logo1.png" // put your image in /public
|
||||
alt="tvone logo"
|
||||
fill
|
||||
className="rounded-full object-cover"
|
||||
className="rounded-2xl object-cover"
|
||||
/>
|
||||
</div>
|
||||
</Link>
|
||||
|
||||
@@ -111,7 +111,7 @@ export function TvoneMainColumns1() {
|
||||
{/* SECTION: PREMIUM VIDEO GALLERY (Euronews + iOS Style) */}
|
||||
<section className="grid w-full gap-6 lg:grid-cols-[1fr_340px]">
|
||||
{/* Main Player Area */}
|
||||
<div className="group relative aspect-video overflow-hidden rounded-[24px] bg-black shadow-2xl">
|
||||
<div className="group relative aspect-video overflow-hidden rounded-2xl bg-black shadow-2xl">
|
||||
<Image
|
||||
src="https://images.unsplash.com/photo-1504711434969-e33886168f5c?q=80&w=1200&auto=format&fit=crop"
|
||||
alt="Main Video"
|
||||
@@ -134,11 +134,11 @@ export function TvoneMainColumns1() {
|
||||
</div>
|
||||
|
||||
{/* Right Playlist: "Vídeos a Seguir" */}
|
||||
<aside className="flex flex-col rounded-[24px] border border-neutral-200 bg-[#f5f5f7]/50 p-4 backdrop-blur-sm">
|
||||
<aside className="flex flex-col rounded-2xl border border-neutral-200 bg-[#f5f5f7]/50 p-4 backdrop-blur-sm">
|
||||
<h3 className="mb-4 px-2 text-xs font-bold uppercase tracking-widest text-neutral-500">Vídeos a Seguir</h3>
|
||||
<div className="flex flex-col gap-3 overflow-y-auto lg:max-h-[380px]">
|
||||
{recentes.slice(0, 6).map((item) => (
|
||||
<button key={item.title} className="group flex gap-3 rounded-xl p-2 transition hover:bg-white hover:shadow-sm">
|
||||
<button key={item.title} className="group flex gap-3 rounded-2xl p-2 transition hover:bg-white hover:shadow-sm">
|
||||
<div className="relative aspect-video w-24 shrink-0 overflow-hidden rounded-lg bg-neutral-200">
|
||||
<Image src={item.img} alt="" fill className="object-cover" />
|
||||
<div className="absolute bottom-1 right-1 rounded bg-black/60 px-1 text-[9px] text-white">3:15</div>
|
||||
@@ -357,7 +357,7 @@ export function TvoneNegocios() {
|
||||
<div className="grid gap-10 lg:grid-cols-3">
|
||||
{negocios.map((item, index) => (
|
||||
<article key={index} className="group flex flex-col gap-5">
|
||||
<div className="relative aspect-video overflow-hidden rounded-[24px] bg-neutral-100 shadow-sm transition-all duration-500 group-hover:shadow-md">
|
||||
<div className="relative aspect-video overflow-hidden rounded-2xl bg-neutral-100 shadow-sm transition-all duration-500 group-hover:shadow-md">
|
||||
<Image
|
||||
src={item.img}
|
||||
alt=""
|
||||
@@ -371,7 +371,7 @@ export function TvoneNegocios() {
|
||||
<span className="text-[10px] font-bold uppercase tracking-wider text-blue-600">
|
||||
{item.category}
|
||||
</span>
|
||||
<span className="h-1 w-1 rounded-full bg-neutral-300" />
|
||||
<span className="h-1 w-1 rounded-2xl bg-neutral-300" />
|
||||
{/* Data de Publicação em destaque suave */}
|
||||
<span className="text-[10px] font-semibold text-neutral-500 uppercase tracking-tight">
|
||||
{item.publishDate}
|
||||
@@ -438,7 +438,7 @@ export function TvoneEscolhaEditor() {
|
||||
${index >= 3 ? 'hidden md:flex' : 'flex'}`}
|
||||
>
|
||||
<Link href="#" className="block">
|
||||
<div className="relative aspect-video overflow-hidden rounded-[24px] bg-neutral-100 shadow-sm transition-all duration-500 group-hover:shadow-xl">
|
||||
<div className="relative aspect-video overflow-hidden rounded-2xl bg-neutral-100 shadow-sm transition-all duration-500 group-hover:shadow-xl">
|
||||
<Image
|
||||
src={item.img}
|
||||
alt={item.title}
|
||||
@@ -450,7 +450,7 @@ export function TvoneEscolhaEditor() {
|
||||
<div className="mt-5 px-1">
|
||||
<div className="flex items-center gap-3">
|
||||
<span className="text-[10px] font-bold uppercase tracking-wider text-blue-600">{item.category}</span>
|
||||
<span className="h-1 w-1 rounded-full bg-neutral-300" />
|
||||
<span className="h-1 w-1 rounded-2xl bg-neutral-300" />
|
||||
<span className="text-[10px] font-semibold text-neutral-500 uppercase tracking-tight">{item.publishDate}</span>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user