From 8c98fc6908d2c8d54a3f1baf83f69b14f7ad69b8 Mon Sep 17 00:00:00 2001 From: "prompt.ac/@jeffrey" Date: Tue, 15 Sep 2026 16:47:32 -0700 Subject: [PATCH] Add mime.ac corner suffix and remove the MIME curtain button --- system/backend/MIME.md | 2 +- .../aesthetic.computer/disks/prompt.mjs | 20 ------------------- system/public/mime/index.html | 10 +++++++--- 3 files changed, 8 insertions(+), 24 deletions(-) diff --git a/system/backend/MIME.md b/system/backend/MIME.md index 6fe56dc820..221dd8e0da 100644 --- a/system/backend/MIME.md +++ b/system/backend/MIME.md @@ -52,7 +52,7 @@ Painting and tape metadata endpoints expose `discussion` URLs for other clients. Direct entry: `/mime/#/media/painting/abc` (also `tape`, `piece`, or `kidlisp`). The painting viewer includes a Comment button. Other media can be discussed from the main feed or a direct entry URL. -The prompt curtain includes a MIME link; entering `mime` opens the same page. +Entering `mime` in the prompt opens the feed. The corner word returns to `/prompt`. Legacy piece records without an extension retain the existing JavaScript diff --git a/system/public/aesthetic.computer/disks/prompt.mjs b/system/public/aesthetic.computer/disks/prompt.mjs index 29bb1f9fd2..1257394440 100644 --- a/system/public/aesthetic.computer/disks/prompt.mjs +++ b/system/public/aesthetic.computer/disks/prompt.mjs @@ -211,7 +211,6 @@ let login, // A login button in the center of the display. kidlispBtn; // KidLisp.com button (shown when in KidLisp mode) let giveBtn; // GIVE button (top-right slot) -let mimeBtn; let soBtn, softBtn; // SO SOFT ad buttons let osBtn; // OS button (top-right slot) let blankAdBtn; // 💻 Blank laptop ad button (top-right slot) @@ -6305,15 +6304,6 @@ function paint($) { } } - if (showLoginCurtain && !$.system.prompt.input.canType && !$.system.prompt.input.text && screen.height >= 100) { - mimeBtn ||= new $.ui.TextButtonSmall("MIME", { left: 6, bottom: 34, screen }); - mimeBtn.reposition({ left: 6, bottom: 34, screen }); - mimeBtn.paint($, - $.dark ? [[26, 26, 46], [205, 92, 155], [255, 107, 157]] - : [[250, 250, 250], [172, 57, 127], [172, 57, 127]], - ); - } else mimeBtn = null; - if (showLoginCurtain) { // Starfield — hidden. if (false) @@ -8256,7 +8246,6 @@ function act({ ["profile", profile?.btn], ["wallet", walletBtn?.btn], ["give", giveBtn?.btn], - ["mime", mimeBtn?.btn], ["so", soBtn?.btn], ["soft", softBtn?.btn], ["os", osBtn?.btn], @@ -8274,13 +8263,6 @@ function act({ } // 🎮 Process button interactions (must be called early so state is ready for paint) - if (curtainVisible && mimeBtn) { - mimeBtn.btn.act(e, { - down: () => downSound(), - push: () => { pushSound(); jump("https://aesthetic.computer/mime/"); }, - cancel: () => cancelSound(), - }); - } if (!net.sandboxed) { if (login && !login.btn.disabled) { login.btn.act(e, { @@ -8645,7 +8627,6 @@ function act({ (notepatBtn?.btn.disabled === false && notepatBtn?.btn.box.contains(e)) || (kidlispBtn?.btn.disabled === false && kidlispBtn?.btn.box.contains(e)) || (clearBtn?.disabled === false && clearBtn?.box.contains(e)) || - (mimeBtn?.btn.disabled === false && mimeBtn?.btn.box.contains(e)) || isOverMotdHandle) ) { send({ type: "keyboard:lock" }); @@ -8661,7 +8642,6 @@ function act({ (kidlispBtn?.btn.disabled === false && kidlispBtn?.btn.box.contains(e)) || (clearBtn?.disabled === false && clearBtn?.box.contains(e)) || (giveBtn?.btn.disabled === false && giveBtn?.btn.box.contains(e)) || - (mimeBtn?.btn.disabled === false && mimeBtn?.btn.box.contains(e)) || (soBtn?.btn?.disabled === false && soBtn?.btn?.box.contains(e)) || (softBtn?.btn?.disabled === false && softBtn?.btn?.box.contains(e)) || (osBtn?.btn?.disabled === false && osBtn?.btn?.box.contains(e)) || diff --git a/system/public/mime/index.html b/system/public/mime/index.html index 791d35b048..996f35f444 100644 --- a/system/public/mime/index.html +++ b/system/public/mime/index.html @@ -46,14 +46,15 @@ a:hover { color: var(--ink); } :focus-visible { outline: 2px solid var(--link); outline-offset: 3px; } ::selection { background: var(--ink); color: var(--paper); } - header { display: flex; align-items: center; justify-content: space-between; gap: 1em; text-align: left; padding: 1em 1em 0.4em; } + header { display: flex; align-items: center; justify-content: space-between; gap: 0.5em; text-align: left; padding: 1em 1em 0.4em; } .account { display: flex; align-items: center; justify-content: flex-end; gap: 0.5em; flex-wrap: wrap; font-size: 0.85em; } .account button { font: inherit; color: var(--link); background: var(--paper); border: 1px solid var(--card-edge); border-radius: 4px; min-height: 36px; padding: 0.3em 0.6em; cursor: pointer; } .account [role="status"] { max-width: 24ch; color: var(--accent); } .account [hidden] { display: none; } - header h1 { margin: 0; color: var(--ink); line-height: 1; } + header h1 { flex-shrink: 0; margin: 0; color: var(--ink); line-height: 1; } .wordmark { display: inline-flex; align-items: center; min-height: 44px; color: inherit; text-decoration: none; } .wordmark svg { display: block; width: 108px; height: 33px; overflow: visible; } + .wordmark .domain-suffix { width: 30px; height: 16px; align-self: flex-start; margin: 3px 0 0 2px; color: var(--link); } .wordmark:hover, .wordmark:focus-visible { color: var(--link); } .wordmark:active svg { transform: translateY(1px); } .pages { display: flex; justify-content: space-between; margin-top: 1em; } @@ -171,7 +172,7 @@

- + +