Vesktop/static/views/splash.html

64 lines
1.4 KiB
HTML
Raw Normal View History

2023-03-30 01:02:30 +02:00
<head>
<link rel="stylesheet" href="./style.css" type="text/css" />
2023-04-09 22:29:59 +02:00
<style>
2024-01-08 02:38:38 +01:00
body {
background: none;
2023-04-09 22:29:59 +02:00
user-select: none;
2024-01-08 02:38:38 +01:00
-webkit-app-region: drag;
2023-04-09 22:29:59 +02:00
}
2023-03-30 01:02:30 +02:00
2023-04-09 22:29:59 +02:00
.wrapper {
box-sizing: border-box;
height: 100%;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
border-radius: 8px;
border: 1px solid var(--fg-semi-trans);
background: var(--bg);
2023-04-09 22:29:59 +02:00
}
2025-02-14 00:56:34 -05:00
.message {
top: 70%;
word-break: break-word;
padding: 0 16px;
position: absolute;
font-size: 14px
}
2023-04-09 22:29:59 +02:00
p {
text-align: center;
}
img {
2023-12-04 11:34:39 +01:00
width: 128px;
height: 128px;
2023-12-02 17:11:10 +01:00
image-rendering: pixelated;
2023-04-09 22:29:59 +02:00
}
</style>
2023-03-30 01:02:30 +02:00
</head>
2025-02-14 00:56:34 -05:00
<body style="overflow: hidden;">
2023-04-09 22:29:59 +02:00
<div class="wrapper">
<img
draggable="false"
src="../shiggy.gif"
2023-04-09 22:29:59 +02:00
alt="shiggy"
role="presentation"
/>
2023-07-13 19:03:13 +02:00
<p>Loading Vesktop...</p>
2025-02-14 00:56:34 -05:00
<p class="message"></p>
2023-04-09 22:29:59 +02:00
</div>
2023-03-30 01:02:30 +02:00
</body>
2025-02-14 00:56:34 -05:00
<script>
window.onload = () => {
const messageElement = document.querySelector('.message');
window.electronAPI.onUpdateMessage((message) => {
messageElement.textContent = message;
})
};
</script>