From e980b0400c00e2b316d4ddfd485387e95b1865d3 Mon Sep 17 00:00:00 2001
From: IO420 <320154041@pcpuma.acatlan.unam.mx>
Date: Fri, 5 Sep 2025 14:17:26 -0400
Subject: [PATCH] add wave
---
.../BarNavigation/BarNavigation.css | 1 +
.../BarNavigation/BarNavigation.tsx | 30 +++++------
app/Components/wave.module.css | 53 +++++++++++++++++++
app/Components/wavesBack.tsx | 12 +++++
app/globals.css | 8 +--
app/layout.tsx | 2 +
6 files changed, 87 insertions(+), 19 deletions(-)
create mode 100644 app/Components/wave.module.css
create mode 100644 app/Components/wavesBack.tsx
diff --git a/app/Components/BarNavigation/BarNavigation.css b/app/Components/BarNavigation/BarNavigation.css
index fcd37b7..c561f3a 100644
--- a/app/Components/BarNavigation/BarNavigation.css
+++ b/app/Components/BarNavigation/BarNavigation.css
@@ -15,6 +15,7 @@
cursor: pointer;
color: white;
font-weight: bold;
+ width: 100%;
}
.barNavigation li:hover {
diff --git a/app/Components/BarNavigation/BarNavigation.tsx b/app/Components/BarNavigation/BarNavigation.tsx
index a3a12d6..b04ac10 100644
--- a/app/Components/BarNavigation/BarNavigation.tsx
+++ b/app/Components/BarNavigation/BarNavigation.tsx
@@ -24,14 +24,14 @@ function BarNavigation() {
-
toggleSubMenu(0)}>Inscripciones
-
-
+
+
- Alta
-
+
- Agregar Tiempo
-
+
- Inscripciones
@@ -40,22 +40,22 @@ function BarNavigation() {
-
toggleSubMenu(1)}>Servicios
-
+
-
Impresiones y Ploteo
-
+
-
Asignacion de Mesas
-
+
-
Asignacion de Equipos
-
+
-
Monitor
@@ -66,16 +66,16 @@ function BarNavigation() {
-
toggleSubMenu(2)}>Equipo
-
+
- Informacion de Equipos
-
+
- Activos y en Mantenimiento
-
+
- Mensajes
-
+
- Programas
@@ -85,13 +85,13 @@ function BarNavigation() {
toggleSubMenu(3)}>Reportes
-
+
- Recibo
-
+
- Inscritos
-
+
- Bitacora y sanciones
diff --git a/app/Components/wave.module.css b/app/Components/wave.module.css
new file mode 100644
index 0000000..14a210b
--- /dev/null
+++ b/app/Components/wave.module.css
@@ -0,0 +1,53 @@
+.ocean {
+ position: absolute;
+ bottom: 0;
+ left: 0;
+ width: 100%;
+ height: 30vh;
+ overflow: hidden;
+ background: #4fc3f7; /* color del mar */
+ z-index: -1; /* para que quede atrĂ¡s del contenido */
+}
+
+.wave {
+ position: absolute;
+ bottom: 0;
+ width: 200%;
+ height: 100%;
+ background: rgba(255, 255, 255, 0.5);
+ border-radius: 100% 50%;
+ animation: waveMove 8s linear infinite;
+}
+
+.wave:nth-child(2) {
+ background: rgba(255, 255, 255, 0.3);
+ animation-duration: 10s;
+ animation-delay: -2s;
+}
+
+.wave:nth-child(3) {
+ background: rgba(255, 255, 255, 0.2);
+ animation-duration: 12s;
+ animation-delay: -4s;
+}
+
+@keyframes waveMove {
+ 0% {
+ transform: translateX(0) translateY(0);
+ }
+ 50% {
+ transform: translateX(-25%) translateY(5%);
+ }
+ 100% {
+ transform: translateX(0) translateY(0);
+ }
+}
+
+@media (max-width: 800px) {
+ .ocean {
+ background: transparent;
+ }
+ .wave {
+ display: none;
+ }
+}
diff --git a/app/Components/wavesBack.tsx b/app/Components/wavesBack.tsx
new file mode 100644
index 0000000..c2e0d99
--- /dev/null
+++ b/app/Components/wavesBack.tsx
@@ -0,0 +1,12 @@
+'use client';
+import styles from './wave.module.css';
+
+export default function WavesBackground() {
+ return (
+
+ );
+}
diff --git a/app/globals.css b/app/globals.css
index ed499e8..3fbc6cd 100644
--- a/app/globals.css
+++ b/app/globals.css
@@ -5,6 +5,7 @@
}
body {
+ position: relative;
font-family: var(--font-poppins), sans-serif;
display: grid;
grid-template-rows: auto auto 1fr auto;
@@ -106,7 +107,7 @@ footer {
background-position: center;
overflow: hidden;
z-index: -1;
- opacity: 0.5;
+ opacity: 1;
}
.img::after {
@@ -268,12 +269,11 @@ form {
.toggleButton.active {
background-color: #e5e7eb;
+ color: rgb(1, 92, 184);
border-radius: 4px 4px 0 0;
+ border-bottom: 1px solid rgb(1, 92, 184);
}
-.toggleButton.active {
- background-color: #f9fafb;
-}
@media(max-width:800px) {
header {
diff --git a/app/layout.tsx b/app/layout.tsx
index 2f07190..603cdb1 100644
--- a/app/layout.tsx
+++ b/app/layout.tsx
@@ -4,6 +4,7 @@ import Header from "./Components/Header/Header";
import Footer from "./Components/Footer/Footer";
import BarNavigation from "./Components/BarNavigation/BarNavigation";
import "./globals.css";
+import WavesBackground from "./Components/wavesBack";
const poppins = Poppins({
variable: "--font-poppins", // nombre de la variable CSS
@@ -31,6 +32,7 @@ export default function RootLayout({
{children}
+