Skip to content

Commit

Permalink
Añadido nuevo background en home, duracion exacta en Error404Page y q…
Browse files Browse the repository at this point in the history
…uitado el scroll en Home
  • Loading branch information
Verzidee committed Apr 1, 2024
1 parent 10b3865 commit d62f1a1
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
Binary file modified webapp/public/videos/home.mp4
Binary file not shown.
2 changes: 1 addition & 1 deletion webapp/src/components/pages/Error404Page.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { useNavigate } from 'react-router-dom';
import { Button } from '../Button';
import './Error404Page.css';

function Error404Page({ initialCountdown = 15 }) {
function Error404Page({ initialCountdown = 12 }) {
const navigate = useNavigate(); // Hook para navegar programáticamente.
const [countdown, setCountdown] = useState(initialCountdown); // Estado para la cuenta regresiva

Expand Down
3 changes: 1 addition & 2 deletions webapp/src/components/pages/Home.css
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@ video {
}

.hero-container {
/* background: url('/images/img-home.jpg') center center/cover no-repeat; */
height: 100vh;
height: calc(100vh - 80px);
width: 100%;
display: flex;
flex-direction: column;
Expand Down

0 comments on commit d62f1a1

Please sign in to comment.