|
43 | 43 | 'transition:transform 0.15s,box-shadow 0.15s;font-family:system-ui;line-height:1;padding:0 10px;'; |
44 | 44 | ghBtn.onmouseenter = function() { ghBtn.style.transform = 'scale(1.05)'; ghBtn.style.boxShadow = '0 3px 10px rgba(0,0,0,0.4)'; }; |
45 | 45 | ghBtn.onmouseleave = function() { ghBtn.style.transform = ''; ghBtn.style.boxShadow = '0 2px 6px rgba(0,0,0,0.3)'; }; |
| 46 | + |
| 47 | + // ── RSS Feed Button ──────────────────────────────────────────────────────── |
| 48 | + var rssBtn = document.createElement('a'); |
| 49 | + rssBtn.id = 'nwe-rss-btn'; |
| 50 | + rssBtn.href = 'https://github.com/mearvk/Java.Web.Server.Telnet.Front.Java.21/commits/main.atom'; |
| 51 | + rssBtn.target = '_blank'; |
| 52 | + rssBtn.title = 'RSS Feed — NitroWebExpress™ Updates'; |
| 53 | + rssBtn.setAttribute('aria-label', 'RSS Feed'); |
| 54 | + rssBtn.innerHTML = '<svg height="20" width="20" viewBox="0 0 24 24" fill="#f97316" style="vertical-align:middle;margin-right:5px;"><circle cx="6.18" cy="17.82" r="2.18"/><path d="M4 4.44v2.83c7.03 0 12.73 5.7 12.73 12.73h2.83c0-8.59-6.97-15.56-15.56-15.56zm0 5.66v2.83c3.9 0 7.07 3.17 7.07 7.07h2.83c0-5.47-4.43-9.9-9.9-9.9z"/></svg><span style="font-size:11px;font-weight:600;">RSS</span>'; |
| 55 | + rssBtn.style.cssText = 'min-width:80px;height:34px;border-radius:6px;text-decoration:none;' + |
| 56 | + 'background:linear-gradient(135deg,#431407,#7c2d12);border:1px solid #9a3412;color:#fed7aa;' + |
| 57 | + 'display:flex;align-items:center;justify-content:center;box-shadow:0 2px 6px rgba(0,0,0,0.3);' + |
| 58 | + 'transition:transform 0.15s,box-shadow 0.15s;font-family:system-ui;line-height:1;padding:0 10px;'; |
| 59 | + rssBtn.onmouseenter = function() { rssBtn.style.transform = 'scale(1.05)'; rssBtn.style.boxShadow = '0 3px 10px rgba(0,0,0,0.4)'; }; |
| 60 | + rssBtn.onmouseleave = function() { rssBtn.style.transform = ''; rssBtn.style.boxShadow = '0 2px 6px rgba(0,0,0,0.3)'; }; |
| 61 | + |
| 62 | + btnContainer.appendChild(rssBtn); |
46 | 63 | btnContainer.appendChild(ghBtn); |
47 | 64 | btnContainer.appendChild(btn); |
48 | 65 |
|
|
0 commit comments