mirror of
https://github.com/ThaUnknown/miru.git
synced 2026-04-20 08:42:05 +00:00
fix: just remove loading text
This commit is contained in:
parent
e3d373c38f
commit
3260b7ce8e
2 changed files with 5 additions and 6 deletions
|
|
@ -12,10 +12,6 @@
|
|||
|
||||
<body class="dark-mode with-custom-webkit-scrollbars with-custom-css-scrollbars" data-sveltekit-preload-data="hover" style="margin: 0">
|
||||
%sveltekit.body%
|
||||
<div class='h-full con font-weight-bold overflow-hidden position-absolute'>
|
||||
<div class='h-full text' style="align-items: center; display: flex; justify-content: center; height: 100vh; width: 100vw; font-size: 80px; color: white; font-weight: 700; font-family: Verdana, sans-serif; background: #101113;">
|
||||
Loading...
|
||||
</div>
|
||||
</div>
|
||||
<div style="height: 100vh; width: 100vw; background: #101113;"></div>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
|||
|
|
@ -28,6 +28,9 @@
|
|||
muted = !muted
|
||||
}
|
||||
const noop = () => {}
|
||||
function play () {
|
||||
open('miru://anime/' + media.id)
|
||||
}
|
||||
</script>
|
||||
|
||||
<div class='position-absolute w-350 h-400 absolute-container top-0 bottom-0 m-auto bg-dark-light z-30 rounded overflow-hidden pointer'>
|
||||
|
|
@ -55,7 +58,7 @@
|
|||
</div>
|
||||
<div class='d-flex flex-row pt-5'>
|
||||
<button class='btn btn-secondary flex-grow-1 text-dark font-weight-bold shadow-none border-0 d-flex align-items-center justify-content-center'
|
||||
use:click={noop}
|
||||
use:click={play}
|
||||
disabled={media.status === 'NOT_YET_RELEASED'}>
|
||||
<span class='material-symbols-outlined font-size-20 filled pr-10'>
|
||||
play_arrow
|
||||
|
|
|
|||
Loading…
Reference in a new issue