-
-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
132 additions
and
130 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,129 +1,129 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8" /> | ||
<meta | ||
name="viewport" | ||
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0" | ||
/> | ||
<meta http-equiv="X-UA-Compatible" content="ie=edge" /> | ||
<link rel="preconnect" href="https://fonts.googleapis.com" /> | ||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin /> | ||
<link | ||
href="https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,200;0,400;0,500;0,700;1,200;1,400;1,500;1,700&display=swap" | ||
rel="stylesheet" | ||
/> | ||
<link rel="stylesheet" type="text/css" href="splashscreen.css" /> | ||
<link rel="stylesheet" type="text/css" href="splash-blurhash.css" /> | ||
</head> | ||
<body> | ||
<div class="splashscreen"> | ||
<div class="splash-blurhash"></div> | ||
<img class="splash-image" data-src="splash.jpg" /> | ||
<div class="vignette"></div> | ||
<div class="info-container"> | ||
<div class="logo-container pending-child"> | ||
<div class="logo-image"> | ||
<img | ||
class="no-fade" | ||
draggable="false" | ||
data-src="../img/icon_150x150.png" | ||
alt="OyasumiVR Icon" | ||
/> | ||
</div> | ||
<div class="logo-text"> | ||
<div class="main">Oyasumi<b>VR</b></div> | ||
<div class="tag-line">VR Sleeping Utilities</div> | ||
</div> | ||
</div> | ||
<div id="version"> </div> | ||
<div class="loader"></div> | ||
<div id="status">Initializing...</div> | ||
<head> | ||
<meta charset="UTF-8" /> | ||
<meta | ||
name="viewport" | ||
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0" | ||
/> | ||
<meta http-equiv="X-UA-Compatible" content="ie=edge" /> | ||
<link rel="preconnect" href="https://fonts.googleapis.com" /> | ||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin /> | ||
<link | ||
href="https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,200;0,400;0,500;0,700;1,200;1,400;1,500;1,700&display=swap" | ||
rel="stylesheet" | ||
/> | ||
<link rel="stylesheet" type="text/css" href="splashscreen.css" /> | ||
<link rel="stylesheet" type="text/css" href="splash-blurhash.css" /> | ||
</head> | ||
<body> | ||
<div class="splashscreen"> | ||
<div class="splash-blurhash"></div> | ||
<img class="splash-image" data-src="splash.jpg" /> | ||
<div class="vignette"></div> | ||
<div class="info-container"> | ||
<div class="logo-container pending-child"> | ||
<div class="logo-image"> | ||
<img | ||
class="no-fade" | ||
draggable="false" | ||
data-src="../img/icon_150x150.png" | ||
alt="OyasumiVR Icon" | ||
/> | ||
</div> | ||
<div class="bottom-bar"> | ||
<div class="left"> | ||
<span class="author">oyasumivr.raphii.co</span> | ||
</div> | ||
<div class="right"> | ||
<span class="author">By Raphiiko</span> | ||
</div> | ||
<div class="logo-text"> | ||
<div class="main">Oyasumi<b>VR</b></div> | ||
<div class="tag-line">VR Sleeping Utilities</div> | ||
</div> | ||
</div> | ||
<script> | ||
const buildId = '1234567'; | ||
[].forEach.call(document.querySelectorAll('img[data-src]'), function (img) { | ||
img.setAttribute('src', img.getAttribute('data-src')); | ||
img.onload = function () { | ||
img.removeAttribute('data-src'); | ||
let parent = img; | ||
for (let i = 0; i < 2; i++) { | ||
parent = parent.parentElement; | ||
if (!parent) break; | ||
parent.classList.remove('pending-child'); | ||
} | ||
}; | ||
}); | ||
const version = window.__TAURI__ | ||
? window.__TAURI__.app.getVersion().then(function (version) { | ||
return version === '0.0.0' ? 'DEV' : version; | ||
}) | ||
: Promise.resolve('0.0.0'); | ||
version.then( | ||
(version) => (document.getElementById('version').innerHTML = `v${version} [${buildId}]`) | ||
); | ||
</script> | ||
<!--AMBILIGHT--> | ||
<svg width="0" height="0"> | ||
<filter | ||
id="ambilight" | ||
width="1000%" | ||
height="1000%" | ||
x="-1" | ||
y="-3" | ||
color-interpolation-filters="sRGB" | ||
> | ||
<feOffset in="SourceGraphic" result="source-copy" /> | ||
<feColorMatrix in="source-copy" type="saturate" values="1" result="saturated-copy" /> | ||
<feColorMatrix | ||
in="saturated-copy" | ||
type="matrix" | ||
values="1 0 0 0 0 | ||
<div id="version"> </div> | ||
<div class="loader"></div> | ||
<div id="status">Initializing...</div> | ||
</div> | ||
<div class="bottom-bar"> | ||
<div class="left"> | ||
<span class="author">oyasumivr.raphii.co</span> | ||
</div> | ||
<div class="right"> | ||
<span class="author">By Raphiiko</span> | ||
</div> | ||
</div> | ||
</div> | ||
<script> | ||
const buildId = '1234567'; | ||
[].forEach.call(document.querySelectorAll('img[data-src]'), function(img) { | ||
img.setAttribute('src', img.getAttribute('data-src')); | ||
img.onload = function() { | ||
img.removeAttribute('data-src'); | ||
let parent = img; | ||
for (let i = 0; i < 2; i++) { | ||
parent = parent.parentElement; | ||
if (!parent) break; | ||
parent.classList.remove('pending-child'); | ||
} | ||
}; | ||
}); | ||
const version = window.__TAURI__ | ||
? window.__TAURI__.app.getVersion().then(function(version) { | ||
return version === '0.0.0' ? 'DEV' : version; | ||
}) | ||
: Promise.resolve('0.0.0'); | ||
version.then( | ||
(version) => (document.getElementById('version').innerHTML = `v${version} [${buildId}]`), | ||
); | ||
</script> | ||
<!--AMBILIGHT--> | ||
<svg width="0" height="0"> | ||
<filter | ||
id="ambilight" | ||
width="1000%" | ||
height="1000%" | ||
x="-1" | ||
y="-3" | ||
color-interpolation-filters="sRGB" | ||
> | ||
<feOffset in="SourceGraphic" result="source-copy" /> | ||
<feColorMatrix in="source-copy" type="saturate" values="1" result="saturated-copy" /> | ||
<feColorMatrix | ||
in="saturated-copy" | ||
type="matrix" | ||
values="1 0 0 0 0 | ||
0 1 0 0 0 | ||
0 0 1 0 0 | ||
33 33 33 101 -132" | ||
result="bright-colors" | ||
/> | ||
<feMorphology in="bright-colors" operator="dilate" radius="10" result="spread" /> | ||
<feGaussianBlur in="spread" stdDeviation="30" result="ambilight-light" /> | ||
<feOffset in="SourceGraphic" result="source" /> | ||
<feComposite in="source" in2="ambilight-light" operator="over" /> | ||
</filter> | ||
</svg> | ||
<svg width="0" height="0"> | ||
<filter | ||
id="ambilight2" | ||
width="1000%" | ||
height="1000%" | ||
x="-0.75" | ||
y="-5" | ||
color-interpolation-filters="sRGB" | ||
> | ||
<feOffset in="SourceGraphic" result="source-copy" /> | ||
<feColorMatrix in="source-copy" type="saturate" values="3" result="saturated-copy" /> | ||
<feColorMatrix | ||
in="saturated-copy" | ||
type="matrix" | ||
values="1 0 0 0 0 | ||
result="bright-colors" | ||
/> | ||
<feMorphology in="bright-colors" operator="dilate" radius="10" result="spread" /> | ||
<feGaussianBlur in="spread" stdDeviation="30" result="ambilight-light" /> | ||
<feOffset in="SourceGraphic" result="source" /> | ||
<feComposite in="source" in2="ambilight-light" operator="over" /> | ||
</filter> | ||
</svg> | ||
<svg width="0" height="0"> | ||
<filter | ||
id="ambilight2" | ||
width="1000%" | ||
height="1000%" | ||
x="-0.75" | ||
y="-5" | ||
color-interpolation-filters="sRGB" | ||
> | ||
<feOffset in="SourceGraphic" result="source-copy" /> | ||
<feColorMatrix in="source-copy" type="saturate" values="3" result="saturated-copy" /> | ||
<feColorMatrix | ||
in="saturated-copy" | ||
type="matrix" | ||
values="1 0 0 0 0 | ||
0 1 0 0 0 | ||
0 0 1 0 0 | ||
33 33 33 101 -132" | ||
result="bright-colors" | ||
/> | ||
<feMorphology in="bright-colors" operator="dilate" radius="10" result="spread" /> | ||
<feGaussianBlur in="spread" stdDeviation="30" result="ambilight-light" /> | ||
<feOffset in="SourceGraphic" result="source" /> | ||
<feComposite in="source" in2="ambilight-light" operator="over" /> | ||
</filter> | ||
</svg> | ||
</body> | ||
result="bright-colors" | ||
/> | ||
<feMorphology in="bright-colors" operator="dilate" radius="10" result="spread" /> | ||
<feGaussianBlur in="spread" stdDeviation="30" result="ambilight-light" /> | ||
<feOffset in="SourceGraphic" result="source" /> | ||
<feComposite in="source" in2="ambilight-light" operator="over" /> | ||
</filter> | ||
</svg> | ||
</body> | ||
</html> |