Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "zerohost-dashboard",
"version": "1.0.9",
"version": "1.1.0",
"private": true,
"type": "module",
"scripts": {
Expand Down
14 changes: 7 additions & 7 deletions public/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -649,20 +649,20 @@ cap-widget {
display: flex;
align-items: center;
justify-content: center;
width: 52px;
height: 52px;
background: var(--bg-primary);
border: 1px solid var(--border);
border-radius: 12px;
width: 44px;
height: 44px;
background: transparent;
border: 1px solid rgba(255,255,255,0.08);
border-radius: 10px;
text-decoration: none;
transition: all var(--transition);
cursor: pointer;
}

.discord-login-card:hover {
border-color: #5865F2;
background: rgba(88, 101, 242, 0.1);
transform: translateX(-50%) scale(1.05);
background: rgba(88, 101, 242, 0.08);
transform: translateX(-50%) scale(1.1);
}

.auth-error {
Expand Down
10 changes: 7 additions & 3 deletions public/js/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -665,8 +665,8 @@ function renderLoginPage() {
</div>
</div>

<a href="https://discord.zero-host.org" target="_blank" class="discord-login-card">
<svg width="28" height="28" viewBox="0 0 127.14 96.36" fill="#5865F2">
<a href="https://discord.zero-host.org" target="_blank" class="discord-login-card" id="discord-login-card">
<svg width="22" height="22" viewBox="0 0 127.14 96.36" fill="#5865F2">
<path d="M107.7,8.07A105.15,105.15,0,0,0,81.47,0a72.06,72.06,0,0,0-3.36,6.83A97.68,97.68,0,0,0,49,6.83,72.37,72.37,0,0,0,45.64,0,105.89,105.89,0,0,0,19.39,8.09C2.79,32.65-1.71,56.6.54,80.21h0A105.73,105.73,0,0,0,32.71,96.36,77.7,77.7,0,0,0,39.6,85.25a68.42,68.42,0,0,1-10.85-5.18c.91-.66,1.8-1.34,2.66-2a75.57,75.57,0,0,0,64.32,0c.87.71,1.76,1.39,2.66,2a68.68,68.68,0,0,1-10.87,5.19,77,77,0,0,0,6.89,11.1A105.25,105.25,0,0,0,126.6,80.22h0C129.24,52.84,122.09,29.11,107.7,8.07ZM42.45,65.69C36.18,65.69,31,60,31,53s5-12.74,11.43-12.74S54,46,53.89,53,48.84,65.69,42.45,65.69Zm42.24,0C78.41,65.69,73.25,60,73.25,53s5-12.74,11.44-12.74S96.23,46,96.12,53,91.08,65.69,84.69,65.69Z"/>
</svg>
</a>
Expand All @@ -677,13 +677,17 @@ function renderLoginPage() {
$('#login-email-btn').addEventListener('click', () => {
$('#login-choices').style.display = 'none';
$('#login-email-form').style.display = 'block';
const dc = $('#discord-login-card');
if (dc) dc.style.display = 'none';
setupPasskeyAutofill();
initIcons();
});

$('#login-back-btn').addEventListener('click', () => {
$('#login-email-form').style.display = 'none';
$('#login-choices').style.display = 'block';
const dc = $('#discord-login-card');
if (dc) dc.style.display = '';
initIcons();
});

Expand Down Expand Up @@ -1507,7 +1511,7 @@ async function renderDashboard() {
<div style="padding:8px 12px 0;display:flex;gap:16px;justify-content:center;flex-wrap:wrap">

</div>
<div style="padding:4px 0 8px;text-align:center;font-size:0.7rem;color:var(--text-muted);letter-spacing:0.05em">v1.0.9</div>
<div style="padding:4px 0 8px;text-align:center;font-size:0.7rem;color:var(--text-muted);letter-spacing:0.05em">v1.1.0</div>
</div>
<div class="sidebar-resizer" id="sidebar-resizer"></div>
</aside>
Expand Down
Loading