Skip to content

Commit c1775d2

Browse files
committed
add banner image
1 parent a13dc24 commit c1775d2

3 files changed

Lines changed: 34 additions & 70 deletions

File tree

apps/web/app/globals.css

Lines changed: 28 additions & 64 deletions
Original file line numberDiff line numberDiff line change
@@ -46,23 +46,44 @@ header {
4646
}
4747

4848
/* ===============================
49-
Live Gradient Banner
49+
🌊 Ocean Live Banner (REAL WATER EFFECT)
5050
================================ */
51-
@keyframes gradient {
51+
52+
/* Textura de água animada */
53+
.ocean-live-bg {
54+
position: absolute;
55+
inset: 0;
56+
background-image: url("/ocean-texture.jpg");
57+
background-repeat: repeat;
58+
background-size: 200% 200%;
59+
animation: oceanMove 26s linear infinite;
60+
filter: brightness(0.5) contrast(1.15);
61+
}
62+
63+
/* Movimento orgânico contínuo */
64+
@keyframes oceanMove {
5265
0% {
5366
background-position: 0% 50%;
5467
}
68+
25% {
69+
background-position: 30% 65%;
70+
}
5571
50% {
56-
background-position: 100% 50%;
72+
background-position: 60% 50%;
73+
}
74+
75% {
75+
background-position: 30% 35%;
5776
}
5877
100% {
5978
background-position: 0% 50%;
6079
}
6180
}
6281

63-
.animate-gradient {
64-
background-size: 200% 200%;
65-
animation: gradient 16s ease infinite;
82+
/* Mobile: movimento mais lento */
83+
@media (max-width: 640px) {
84+
.ocean-live-bg {
85+
animation-duration: 38s;
86+
}
6687
}
6788

6889
/* ===============================
@@ -72,7 +93,7 @@ header {
7293
/* Evita vazamento de layout */
7394
.swiper {
7495
overflow: visible;
75-
padding-bottom: 3rem; /* espaço para paginação */
96+
padding-bottom: 3rem;
7697
}
7798

7899
/* Mantém altura consistente */
@@ -104,61 +125,4 @@ header {
104125
/* Pagination (bolinhas) */
105126
.swiper-pagination {
106127
bottom: 0 !important;
107-
}
108-
109-
/* ===============================
110-
Ocean / Water Motion Banner
111-
================================ */
112-
113-
/* Gradiente base do oceano */
114-
.ocean-bg {
115-
background: linear-gradient(
116-
120deg,
117-
#041b2d,
118-
#0a2540,
119-
#1b3b6f,
120-
#0a2540
121-
);
122-
background-size: 300% 300%;
123-
animation: oceanGradient 18s ease-in-out infinite;
124-
}
125-
126-
/* Camada de distorção suave */
127-
.ocean-bg::before {
128-
content: "";
129-
position: absolute;
130-
inset: -20%;
131-
background: radial-gradient(
132-
circle at 30% 30%,
133-
rgba(56, 189, 248, 0.18),
134-
transparent 60%
135-
);
136-
filter: blur(80px);
137-
animation: oceanWaves 22s ease-in-out infinite;
138-
}
139-
140-
/* Animação principal */
141-
@keyframes oceanGradient {
142-
0% {
143-
background-position: 0% 50%;
144-
}
145-
50% {
146-
background-position: 100% 50%;
147-
}
148-
100% {
149-
background-position: 0% 50%;
150-
}
151-
}
152-
153-
/* Movimento orgânico tipo água */
154-
@keyframes oceanWaves {
155-
0% {
156-
transform: translateX(-5%) translateY(-5%) rotate(0deg);
157-
}
158-
50% {
159-
transform: translateX(5%) translateY(5%) rotate(1deg);
160-
}
161-
100% {
162-
transform: translateX(-5%) translateY(-5%) rotate(0deg);
163-
}
164128
}

apps/web/app/page.tsx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -54,17 +54,17 @@ export default function Home() {
5454
</div>
5555
</header>
5656

57-
{/* Hero / Live Ocean Banner */}
57+
{/* Hero / Ocean Live Banner */}
5858
<section className="relative w-full overflow-hidden">
5959
<div className="relative h-[280px] w-full sm:h-[360px] lg:h-[500px]">
6060

61-
{/* Ocean background */}
62-
<div className="absolute inset-0 ocean-bg" />
61+
{/* Ocean texture animated */}
62+
<div className="absolute inset-0 ocean-live-bg"></div>
6363

64-
{/* Dark overlay (legibilidade) */}
65-
<div className="absolute inset-0 bg-[#0A2540]/70" />
64+
{/* Overlay para contraste */}
65+
<div className="absolute inset-0 bg-[#0A2540]/75"></div>
6666

67-
{/* Content (inalterado) */}
67+
{/* Conteúdo */}
6868
<div className="relative z-10 flex h-full flex-col items-center justify-center px-6 text-center">
6969
<h1 className="font-[var(--font-sora)] text-3xl font-semibold sm:text-4xl lg:text-5xl">
7070
Liderança técnica para decisões críticas em tecnologia

apps/web/public/ocean-texture.jpg

1.16 MB
Loading

0 commit comments

Comments
 (0)