mirror of
https://github.com/danbulant/ester_os
synced 2026-06-14 20:01:17 +00:00
Simple function, for future use
This commit is contained in:
parent
d8041a78fa
commit
4bfa338c32
1 changed files with 7 additions and 0 deletions
7
client/src/ui/system/background.js
Normal file
7
client/src/ui/system/background.js
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
|
||||
function setBackground(){
|
||||
let bg = "https://picsum.photos/1280/720.webp";
|
||||
document.body.style.background = "url('" + bg + "')";
|
||||
}
|
||||
|
||||
export default setBackground;
|
||||
Loading…
Reference in a new issue