commit 24ce9e9ef60be3233adb8eaa03f5a936c1ef4acd
parent 970ebf52cf5910cc2f16975f6021a80ada3a308a
Author: Pablo Murad <pblmrd@gmail.com>
Date: Wed, 3 Jun 2026 17:19:11 -0300
better
Diffstat:
4 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/README.md b/README.md
@@ -133,7 +133,7 @@ npm run preview # frontend only; backend must still be running for sharing
## Local editor (unchanged)
- Routes: `/` only for local editing
-- Badge **Local**
+- Badge **Online**
- Autosave to `localStorage` (500ms debounce)
- **Save .md** / **Save .org**, **Import**, **Clear**, mode switch
diff --git a/src/lib/strings.js b/src/lib/strings.js
@@ -22,7 +22,7 @@ export const STR = {
COPIED: 'Copied',
COPY_FAILED: 'Could not copy the link.',
- BADGE_LOCAL: 'Local',
+ BADGE_ONLINE: 'Online',
BADGE_SHARED: 'Shared',
BADGE_READONLY: 'Read-only',
BADGE_EDITING: 'Editing',
diff --git a/src/pages/LocalEditorPage.jsx b/src/pages/LocalEditorPage.jsx
@@ -148,7 +148,7 @@ export default function LocalEditorPage() {
<div className="app-header-text">
<div className="app-header-top">
<h1 className="app-title">Snow Editor</h1>
- <StatusBadge variant="local">{STR.BADGE_LOCAL}</StatusBadge>
+ <StatusBadge variant="online">{STR.BADGE_ONLINE}</StatusBadge>
</div>
<p className="app-subtitle">Write calmly. See the result live.</p>
<div className="mode-switch" role="group" aria-label="Editor mode">
diff --git a/src/styles.css b/src/styles.css
@@ -552,7 +552,7 @@ body {
color: var(--text-muted);
}
-.badge--local {
+.badge--online {
color: var(--accent-hover);
border-color: rgba(122, 155, 184, 0.35);
}