|
26 | 26 |
|
27 | 27 | <nav> |
28 | 28 | <div class="container" style="display: flex; align-items: center; justify-content: space-between; height: 100%;"> |
29 | | - <a href="/" class="nav-logo">droidspaces</a> |
30 | | - <ul class="nav-links"> |
31 | | - <li><a href="#features">Features</a></li> |
32 | | - <li><a href="https://github.com/ravindu644/Droidspaces-OSS">GitHub</a></li> |
33 | | - <li><a href="https://t.me/Droidspaces">Telegram</a></li> |
34 | | - <li> |
35 | | - <button class="theme-toggle" id="theme-toggle" title="Toggle theme"> |
36 | | - <svg class="sun-icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" |
37 | | - style="display:none"> |
38 | | - <circle cx="12" cy="12" r="5"></circle> |
39 | | - <line x1="12" y1="1" x2="12" y2="3"></line> |
40 | | - <line x1="12" y1="21" x2="12" y2="23"></line> |
41 | | - <line x1="4.22" y1="4.22" x2="5.64" y2="5.64"></line> |
42 | | - <line x1="18.36" y1="18.36" x2="19.78" y2="19.78"></line> |
43 | | - <line x1="1" y1="12" x2="3" y2="12"></line> |
44 | | - <line x1="21" y1="12" x2="23" y2="12"></line> |
45 | | - <line x1="4.22" y1="19.78" x2="5.64" y2="18.36"></line> |
46 | | - <line x1="18.36" y1="5.64" x2="19.78" y2="4.22"></line> |
47 | | - </svg> |
48 | | - <svg class="moon-icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"> |
49 | | - <path d="M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z"></path> |
50 | | - </svg> |
51 | | - </button> |
52 | | - </li> |
53 | | - </ul> |
| 29 | + <a href="/" class="nav-logo"> |
| 30 | + <svg class="logo-icon" viewBox="8.25 10.35 31.5 27.3" fill="currentColor" xmlns="http://www.w3.org/2000/svg"> |
| 31 | + <path |
| 32 | + d="M36.85 30.16H11.15c-0.82 0 -1.48 0.68 -1.48 1.52v3.05c0 0.84 0.66 1.52 1.48 1.52h25.69c0.82 0 1.48 -0.68 1.48 -1.52v-3.05c0 -0.84 -0.66 -1.52 -1.48 -1.52ZM12.58 34.97c-0.95 0 -1.73 -0.79 -1.73 -1.77s0.77 -1.77 1.73 -1.77 1.73 0.79 1.73 1.77 -0.77 1.77 -1.73 1.77Z" /> |
| 33 | + <path |
| 34 | + d="M36.85 21.00H11.15c-0.82 0 -1.48 0.68 -1.48 1.52v3.05c0 0.84 0.66 1.52 1.48 1.52h25.69c0.82 0 1.48 -0.68 1.48 -1.52v-3.05c0 -0.84 -0.66 -1.52 -1.48 -1.52ZM12.58 25.82c-0.95 0 -1.73 -0.79 -1.73 -1.77s0.77 -1.77 1.73 -1.77 1.73 0.79 1.73 1.77 -0.77 1.77 -1.73 1.77Z" /> |
| 35 | + <path |
| 36 | + d="M36.84 11.74H11.15c-0.82 0 -1.48 0.68 -1.48 1.52v3.05c0 0.84 0.66 1.52 1.48 1.52h25.69c0.82 0 1.48 -0.68 1.48 -1.52v-3.05c0 -0.84 -0.66 -1.52 -1.48 -1.52ZM12.58 16.57c-0.95 0 -1.73 -0.79 -1.73 -1.77s0.77 -1.77 1.73 -1.77 1.73 0.79 1.73 1.77 -0.77 1.77 -1.73 1.77Z" /> |
| 37 | + </svg> |
| 38 | + <span class="logo-text">Droidspaces</span> |
| 39 | + </a> |
| 40 | + <div style="display: flex; align-items: center; gap: 0.5rem;"> |
| 41 | + <button class="mobile-menu-btn" id="menu-toggle" aria-label="Menu"> |
| 42 | + <svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"> |
| 43 | + <rect x="3" y="3" width="7" height="7"></rect> |
| 44 | + <rect x="14" y="3" width="7" height="7"></rect> |
| 45 | + <rect x="14" y="14" width="7" height="7"></rect> |
| 46 | + <rect x="3" y="14" width="7" height="7"></rect> |
| 47 | + </svg> |
| 48 | + </button> |
| 49 | + <ul class="nav-links" id="nav-links"> |
| 50 | + <li><a href="#features">Features</a></li> |
| 51 | + <li><a href="https://github.com/ravindu644/Droidspaces-OSS">GitHub</a></li> |
| 52 | + <li><a href="https://t.me/Droidspaces">Telegram</a></li> |
| 53 | + </ul> |
| 54 | + <button class="theme-toggle" id="theme-toggle" title="Toggle theme"> |
| 55 | + <svg class="sun-icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" |
| 56 | + style="display:none"> |
| 57 | + <circle cx="12" cy="12" r="5"></circle> |
| 58 | + <line x1="12" y1="1" x2="12" y2="3"></line> |
| 59 | + <line x1="12" y1="21" x2="12" y2="23"></line> |
| 60 | + <line x1="4.22" y1="4.22" x2="5.64" y2="5.64"></line> |
| 61 | + <line x1="18.36" y1="18.36" x2="19.78" y2="19.78"></line> |
| 62 | + <line x1="1" y1="12" x2="3" y2="12"></line> |
| 63 | + <line x1="21" y1="12" x2="23" y2="12"></line> |
| 64 | + <line x1="4.22" y1="19.78" x2="5.64" y2="18.36"></line> |
| 65 | + <line x1="18.36" y1="5.64" x2="19.78" y2="4.22"></line> |
| 66 | + </svg> |
| 67 | + <svg class="moon-icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"> |
| 68 | + <path d="M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z"></path> |
| 69 | + </svg> |
| 70 | + </button> |
| 71 | + </div> |
54 | 72 | </div> |
55 | 73 | </nav> |
56 | 74 |
|
|
75 | 93 | ~300KB binary. Zero dependencies. |
76 | 94 | </p> |
77 | 95 | <div class="hero-cta"> |
78 | | - <a href="https://github.com/ravindu644/Droidspaces-OSS/releases" class="btn btn-primary">↓ Download</a> |
| 96 | + <a href="https://github.com/ravindu644/Droidspaces-OSS/releases/latest" class="btn btn-primary">↓ Download</a> |
79 | 97 | <a href="https://github.com/ravindu644/Droidspaces-OSS/blob/main/Documentation/Installation-Android.md" |
80 | 98 | class="btn btn-ghost">Get Started →</a> |
81 | 99 | </div> |
@@ -374,7 +392,7 @@ <h3>Linux</h3> |
374 | 392 | <h2>Ready to run real containers?</h2> |
375 | 393 | <p class="section-desc">Download the APK or read the docs to get up and running in minutes.</p> |
376 | 394 | <div class="cta-btns"> |
377 | | - <a href="https://github.com/ravindu644/Droidspaces-OSS/releases/latest" class="btn btn-primary">Download APK</a> |
| 395 | + <a href="https://github.com/ravindu644/Droidspaces-OSS/releases/latest" class="btn btn-primary">↓ Download</a> |
378 | 396 | <a href="https://github.com/ravindu644/Droidspaces-OSS" class="btn btn-ghost">GitHub</a> |
379 | 397 | <a href="https://t.me/Droidspaces" class="btn btn-ghost">Telegram</a> |
380 | 398 | </div> |
@@ -498,6 +516,30 @@ <h2>Ready to run real containers?</h2> |
498 | 516 | localStorage.setItem('theme', newTheme); |
499 | 517 | applyTheme(newTheme); |
500 | 518 | }); |
| 519 | + |
| 520 | + // Mobile Menu Toggle |
| 521 | + const menuToggle = document.getElementById('menu-toggle'); |
| 522 | + const navLinks = document.getElementById('nav-links'); |
| 523 | + |
| 524 | + menuToggle.addEventListener('click', (e) => { |
| 525 | + e.stopPropagation(); |
| 526 | + navLinks.classList.toggle('active'); |
| 527 | + menuToggle.classList.toggle('active'); |
| 528 | + }); |
| 529 | + |
| 530 | + document.addEventListener('click', (e) => { |
| 531 | + if (!navLinks.contains(e.target) && !menuToggle.contains(e.target)) { |
| 532 | + navLinks.classList.remove('active'); |
| 533 | + menuToggle.classList.remove('active'); |
| 534 | + } |
| 535 | + }); |
| 536 | + |
| 537 | + navLinks.querySelectorAll('a').forEach(link => { |
| 538 | + link.addEventListener('click', () => { |
| 539 | + navLinks.classList.remove('active'); |
| 540 | + menuToggle.classList.remove('active'); |
| 541 | + }); |
| 542 | + }); |
501 | 543 | })(); |
502 | 544 | </script> |
503 | 545 | </body> |
|
0 commit comments