feat: Add new emoji assets and an UpdateBanner component.
Some checks failed
Build and Release / build-and-release (push) Failing after 3m28s

This commit is contained in:
Bryan1029384756
2026-02-13 12:20:40 -06:00
parent 63d4208933
commit fe869a3222
3855 changed files with 10226 additions and 15543 deletions

109
apps/electron/splash.html Normal file
View File

@@ -0,0 +1,109 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Discord Clone</title>
<style>
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
background: #313338;
color: #dbdee1;
font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
height: 100vh;
-webkit-app-region: drag;
user-select: none;
overflow: hidden;
}
.logo {
width: 80px;
height: 80px;
background: #5865f2;
border-radius: 20px;
display: flex;
align-items: center;
justify-content: center;
margin-bottom: 24px;
}
.logo svg {
width: 48px;
height: 48px;
fill: white;
}
.app-name {
font-size: 18px;
font-weight: 700;
color: #f2f3f5;
margin-bottom: 32px;
letter-spacing: 0.3px;
}
#status {
font-size: 13px;
color: #b5bac1;
margin-bottom: 16px;
min-height: 20px;
text-align: center;
}
.progress-container {
width: 220px;
height: 6px;
background: #1e1f22;
border-radius: 3px;
overflow: hidden;
opacity: 1;
transition: opacity 0.3s ease;
}
.progress-container.hidden {
opacity: 0;
}
#progress-bar {
width: 0%;
height: 100%;
background: #5865f2;
border-radius: 3px;
transition: width 0.2s ease;
}
</style>
</head>
<body>
<div class="logo">
<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
<path d="M19.27 5.33C17.94 4.71 16.5 4.26 15 4a.09.09 0 0 0-.07.03c-.18.33-.39.76-.53 1.09a16.09 16.09 0 0 0-4.8 0c-.14-.34-.36-.76-.54-1.09c-.01-.02-.04-.03-.07-.03c-1.5.26-2.93.71-4.27 1.33c-.01 0-.02.01-.03.02c-2.72 4.07-3.47 8.03-3.1 11.95c0 .02.01.04.03.05c1.8 1.32 3.53 2.12 5.24 2.65c.03.01.06 0 .07-.02c.4-.55.76-1.13 1.07-1.74c.02-.04 0-.08-.04-.09c-.57-.22-1.11-.48-1.64-.78c-.04-.02-.04-.08-.01-.11c.11-.08.22-.17.33-.25c.02-.02.05-.02.07-.01c3.44 1.57 7.15 1.57 10.55 0c.02-.01.05-.01.07.01c.11.09.22.17.33.26c.04.03.04.09-.01.11c-.52.31-1.07.56-1.64.78c-.04.01-.05.06-.04.09c.32.61.68 1.19 1.07 1.74c.03.01.06.02.09.01c1.72-.53 3.45-1.33 5.25-2.65c.02-.01.03-.03.03-.05c.44-4.53-.73-8.46-3.1-11.95c-.01-.01-.02-.02-.04-.02zM8.52 14.91c-1.03 0-1.89-.95-1.89-2.12s.84-2.12 1.89-2.12c1.06 0 1.9.96 1.89 2.12c0 1.17-.84 2.12-1.89 2.12zm6.97 0c-1.03 0-1.89-.95-1.89-2.12s.84-2.12 1.89-2.12c1.06 0 1.9.96 1.89 2.12c0 1.17-.83 2.12-1.89 2.12z"/>
</svg>
</div>
<div class="app-name">Discord Clone</div>
<div id="status">Starting up...</div>
<div class="progress-container" id="progress-container">
<div id="progress-bar"></div>
</div>
<script>
function setStatus(text) {
document.getElementById('status').textContent = text;
}
function setProgress(percent) {
const container = document.getElementById('progress-container');
const bar = document.getElementById('progress-bar');
container.classList.remove('hidden');
bar.style.width = Math.min(100, Math.max(0, percent)) + '%';
}
function hideProgress() {
document.getElementById('progress-container').classList.add('hidden');
}
</script>
</body>
</html>