From 6c6e9fd5dbf0c7f1cde8c3178cf57191bea65ea1 Mon Sep 17 00:00:00 2001 From: Renard Date: Sat, 28 Sep 2019 20:23:42 -0300 Subject: Soporte video /0/ --- src/App.css | 14 ++++++++++++++ src/Board.js | 5 +++++ 2 files changed, 19 insertions(+) (limited to 'src') diff --git a/src/App.css b/src/App.css index 1b07bbf..f347b78 100644 --- a/src/App.css +++ b/src/App.css @@ -151,4 +151,18 @@ .invLogo { background: url("./background_inv.png"); +} + +#bgvid { + position: fixed; + top: 50%; + left: 50%; + min-width: 100%; + min-height: 100%; + width: auto; + height: auto; + z-index: -100; + transform: translatex(-50%) translatey(-50%); + background-size: cover; + transition: 1s opacity; } \ No newline at end of file diff --git a/src/Board.js b/src/Board.js index f425954..c30844d 100644 --- a/src/Board.js +++ b/src/Board.js @@ -123,6 +123,11 @@ class Board extends Component { }); document.title = currentBoard.name + " - B.a.I"; + currentBoard.postarea_desc = currentBoard.postarea_desc.replace( + 'src="/', + 'src="https://bienvenidoainternet.org/' + ); + return ( -- cgit v1.2.1-18-gbd029