Implemented. Sign in, then open Experience or Skills to:

- Add, edit, and delete experience entries and project links.
- Manage skill categories and individual skill labels.
- Edit the skills introduction and “How I work” text.
Changes save directly to Supabase—no code edits or Git push needed. Existing content is preserved.
This commit is contained in:
StormRunner06106
2026-09-13 10:03:21 -07:00
parent 6e3779e500
commit 404e0dc16d
25 changed files with 1337 additions and 82 deletions
+4 -2
View File
@@ -108,12 +108,14 @@ export default function AdminProvider({ children }) {
{open && <Modal title={isAdmin ? "Admin account" : "Admin sign in"} onClose={close} busy={busy}>
{isAdmin ? <div className="admin-account">
<span className="publisher-badge"><span /> Admin</span>
<p>You can create, edit, and delete journal articles.</p>
<p>Manage your articles, experience, and skills.</p>
<Link className="button button--primary" to="/blog/manage" onClick={close}><Icon name="plus" size={18} /> New article</Link>
<Link className="button" to="/blog" onClick={close}>Manage articles</Link>
<Link className="button" to="/experience" onClick={close}>Manage experience</Link>
<Link className="button" to="/skills" onClick={close}>Manage skills</Link>
<button className="text-button" type="button" onClick={signOut}><Icon name="logout" size={18} /> Sign out</button>
</div> : <form className="admin-signin" onSubmit={signIn}>
<p>Enter the admin password to manage journal articles.</p>
<p>Enter the admin password to manage your website content.</p>
<label className="publisher-field">
<span>Admin password</span>
<input autoFocus autoComplete="current-password" type="password" required maxLength={200}