Monorepo for Aesthetic.Computer aesthetic.computer
4
fork

Configure Feed

Select the types of activity you want to include in your feed.

feat: blank.mjs — add AC Native OS button linking to the os piece

Stacks above the existing paper/manual links in the bottom-left corner
with a green color scheme.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

+17
+17
system/public/aesthetic.computer/disks/blank.mjs
··· 16 16 let buyBtn = null; 17 17 let manualBtn = null; 18 18 let paperBtn = null; 19 + let osBtn = null; 19 20 let userHandle = null; 20 21 21 22 // Handle cycling (when not logged in) ··· 136 137 137 138 function setupButtons(ui, screen) { 138 139 buyBtn = new ui.TextButton(getBuyText(), { center: "x", bottom: 20, screen }); 140 + osBtn = new ui.TextButton("AC Native OS", { x: 6, bottom: 20, screen }); 139 141 paperBtn = new ui.TextButton("PLORK'ing the Planet (PDF)", { x: 6, bottom: 20, screen }); 140 142 manualBtn = new ui.TextButton("ThinkPad 11e Yoga Manual (PDF)", { x: 6, bottom: 20 + (paperBtn.height || 14) + 4, screen }); 141 143 } ··· 820 822 manualBtn.reposition({ x: 6, bottom: manualY, screen }, "ThinkPad 11e Yoga Manual (PDF)"); 821 823 manualBtn.paint($btn, manualScheme, manualHover); 822 824 } 825 + const osScheme = isDark 826 + ? [[20, 25, 20], [80, 200, 120], [140, 240, 170]] 827 + : [[225, 240, 225], [30, 120, 50], [15, 90, 30]]; 828 + const osHover = isDark 829 + ? [[28, 35, 28], [120, 240, 150], [180, 255, 200]] 830 + : [[215, 235, 215], [20, 140, 60], [10, 110, 40]]; 831 + if (osBtn) { 832 + const osY = 20 + (paperBtn ? paperBtn.height + 4 : 0) + (manualBtn ? manualBtn.height + 4 : 0); 833 + osBtn.reposition({ x: 6, bottom: osY, screen }, "AC Native OS"); 834 + osBtn.paint($btn, osScheme, osHover); 835 + } 823 836 } 824 837 825 838 function act({ event: e, screen, jump, sound, ui, api }) { ··· 835 848 836 849 paperBtn?.btn?.act(e, { 837 850 push: () => jump(`out:${PAPER_URL}`), 851 + }); 852 + 853 + osBtn?.btn?.act(e, { 854 + push: () => jump("os"), 838 855 }); 839 856 840 857 buyBtn?.btn?.act(e, {