aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Renard 2019-09-28 20:23:42 -0300
committerLibravatar Renard 2019-09-28 20:23:42 -0300
commit6c6e9fd5dbf0c7f1cde8c3178cf57191bea65ea1 (patch)
tree5d77587bcbab19150039dde1e84d69a911a07b77
parentfe1a66d3b98e63ffb594cbe426c8fa8804f88b5a (diff)
downloadbai-client-6c6e9fd5dbf0c7f1cde8c3178cf57191bea65ea1.tar.gz
bai-client-6c6e9fd5dbf0c7f1cde8c3178cf57191bea65ea1.tar.xz
bai-client-6c6e9fd5dbf0c7f1cde8c3178cf57191bea65ea1.zip
Soporte video /0/
-rw-r--r--src/App.css14
-rw-r--r--src/Board.js5
2 files changed, 19 insertions, 0 deletions
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 (
<React.Fragment>
<Breadcrumb className={nightMode ? "inverted" : ""}>