Merge branch 'main' of https://git.h4ckdata.es/h4ckx0r/webSostenible
All checks were successful
Verificar versión, Compilar y Desplegar / check-version (push) Successful in 7s
Verificar versión, Compilar y Desplegar / build (push) Has been skipped
Verificar versión, Compilar y Desplegar / deploy (push) Has been skipped

This commit is contained in:
2024-10-16 00:04:29 +02:00
2 changed files with 22 additions and 0 deletions

Binary file not shown.

View File

@@ -52,6 +52,12 @@ const animateOnScroll = `
<body> <body>
<Navbar /> <Navbar />
<header class="header-bg text-white"> <header class="header-bg text-white">
<video autoplay muted loop class="video-bg">
<source src="/imgs/bosqueverde.webm" type="video/webm">
Tu navegador no soporta la reproducción de videos.
</video>
<div class="container text-center"> <div class="container text-center">
<h1 <h1
class="display-1 mb-4 animate__animated animate__fadeInDown londrina-sketch-regular" class="display-1 mb-4 animate__animated animate__fadeInDown londrina-sketch-regular"
@@ -320,4 +326,20 @@ const animateOnScroll = `
object-fit: cover; object-fit: cover;
border-radius: 8px; border-radius: 8px;
} }
header {
position: relative;
overflow: hidden;
}
.video-bg {
position: absolute;
}
.container {
position: relative;
z-index: 1;
}
</style> </style>