Compare commits

..
5 Commits
Author SHA1 Message Date
nmemmertandClaude Sonnet 5.5 899e715067 Redesign My Account page: profile header, stats, progress cards, settings/security menus, danger zone; v2.10.9
Publish Container / build (push) Successful in 16m15s
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-09 10:45:37 -04:00
nmemmertandClaude Sonnet 5.5 669cd6555c Redesign study landing page: track cards, numbered steps, tidier hero and Q&A callout, themed progress bars; v2.10.8
Publish Container / build (push) Has been cancelled
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-09 10:41:18 -04:00
nmemmertandClaude Sonnet 5.5 52568db82b Sync package-lock version with package.json (2.10.7)
Publish Container / build (push) Has been cancelled
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-09 10:37:53 -04:00
nmemmertandClaude Sonnet 5.5 b8410da5f4 Study pages: progress bar, collapsible chapters, compact upcoming lessons, class-based badges, cleaner sign-in/enroll gates; v2.10.7
Publish Container / build (push) Has been cancelled
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-09 10:37:44 -04:00
nmemmertandClaude Sonnet 5.5 640d0c1c18 Redesign sign-in / create-account page: split layout, benefits panel, show/hide password, real form submit; v2.10.6
Publish Container / build (push) Has been cancelled
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-09 10:33:26 -04:00
4 changed files with 1716 additions and 849 deletions

No files matched your search

+2 -2
View File
@@ -1,12 +1,12 @@
{
"name": "siteforge",
"version": "2.10.0",
"version": "2.10.9",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "siteforge",
"version": "2.10.0",
"version": "2.10.9",
"dependencies": {
"@aws-sdk/client-s3": "^3.1135.0",
"@dnd-kit/core": "^6.3.1",
+1 -1
View File
@@ -1,7 +1,7 @@
{
"name": "siteforge",
"private": true,
"version": "2.10.5",
"version": "2.10.9",
"type": "module",
"scripts": {
"dev": "vite",
+838
View File
@@ -4033,6 +4033,844 @@
padding: 0;
}
/* ── Study index: progress, chapters, lesson badges ── */
.study-course-meta { margin-bottom: 1.25rem; }
.study-progress {
max-width: 460px;
margin: 0 0 1.75rem;
}
.study-progress-label {
display: flex;
justify-content: space-between;
gap: 1rem;
margin-bottom: 0.45rem;
font-size: 0.82rem;
color: var(--brand-muted);
letter-spacing: 0.04em;
}
.study-progress-label strong {
color: var(--brand-warm-white);
font-weight: 600;
}
.study-progress-track {
height: 8px;
border-radius: 999px;
background: rgba(201, 168, 76, 0.16);
overflow: hidden;
}
.study-progress-fill {
height: 100%;
border-radius: 999px;
background: linear-gradient(90deg, #c9a84c, #e0c67a);
transition: width 0.4s ease;
}
.study-chapter + .study-chapter { margin-top: 1.25rem; }
.study-chapter > summary {
list-style: none;
cursor: pointer;
}
.study-chapter > summary::-webkit-details-marker { display: none; }
.study-chapter > summary h3::before {
content: '▸';
display: inline-block;
margin-right: 0.55rem;
color: var(--brand-gold);
font-size: 0.9em;
transition: transform 0.15s ease;
}
.study-chapter[open] > summary h3::before { transform: rotate(90deg); }
/* Upcoming lessons stay compact until they release */
.study-module-row--coming {
grid-template-columns: 1fr;
padding: 0.7rem 1.05rem;
}
.study-module-row--coming .study-module-row-right,
.study-module-row--coming .study-module-row-left > p { display: none; }
.study-module-row--coming .study-module-row-left h3 { margin: 0.1rem 0 0; font-size: 1.05rem; }
.study-chapter-head {
display: flex;
align-items: baseline;
justify-content: space-between;
gap: 1rem;
margin: 0 0 0.75rem;
padding-bottom: 0.5rem;
border-bottom: 1px solid rgba(201, 168, 76, 0.2);
}
.study-chapter-head h3 {
margin: 0;
font-family: var(--brand-font-heading);
font-size: 1.3rem;
color: #e8d9b5;
}
.study-chapter-head span {
font-size: 0.8rem;
letter-spacing: 0.08em;
text-transform: uppercase;
color: var(--brand-muted);
}
.study-lesson-meta {
display: flex;
align-items: center;
flex-wrap: wrap;
gap: 0.5rem;
margin-bottom: 0.25rem;
}
.lesson-badge {
display: inline-flex;
align-items: center;
gap: 0.3rem;
padding: 0.18rem 0.6rem;
border-radius: 999px;
font-size: 0.72rem;
font-weight: 600;
letter-spacing: 0.04em;
border: 1px solid transparent;
}
.lesson-badge--new { background: rgba(76, 175, 80, 0.16); color: #7fd484; border-color: rgba(76, 175, 80, 0.4); }
.lesson-badge--coming { background: rgba(255, 183, 77, 0.14); color: #f0b45c; border-color: rgba(255, 183, 77, 0.4); }
.lesson-badge--enroll { background: rgba(201, 168, 76, 0.12); color: var(--brand-gold); border-color: rgba(201, 168, 76, 0.4); }
.lesson-badge--locked { background: rgba(255, 255, 255, 0.05); color: var(--brand-muted); border-color: rgba(255, 255, 255, 0.14); }
.lesson-badge--done { background: rgba(111, 207, 151, 0.12); color: #6fcf97; border-color: rgba(111, 207, 151, 0.4); }
.study-module-row--done {
border-left: 3px solid rgba(111, 207, 151, 0.7);
}
/* ── My Account ── */
.account-page {
padding: clamp(1.5rem, 5vw, 3rem) 1.25rem 4rem;
background:
radial-gradient(ellipse at top, rgba(201, 168, 76, 0.1) 0%, transparent 55%),
var(--brand-black);
}
.account-shell {
max-width: 1040px;
margin: 0 auto;
}
.account-header {
display: flex;
align-items: center;
gap: 1.25rem;
flex-wrap: wrap;
padding: 1.5rem;
margin-bottom: 1.25rem;
border: 1px solid rgba(201, 168, 76, 0.24);
border-radius: 18px;
background: linear-gradient(180deg, rgba(26, 26, 22, 0.95), rgba(16, 16, 14, 0.95));
}
.account-avatar {
width: 84px;
height: 84px;
border-radius: 50%;
object-fit: cover;
border: 2px solid rgba(201, 168, 76, 0.5);
flex-shrink: 0;
}
.account-avatar--initial {
display: flex;
align-items: center;
justify-content: center;
background: rgba(201, 168, 76, 0.14);
color: var(--brand-gold);
font-family: var(--brand-font-heading);
font-size: 2.2rem;
font-weight: 700;
}
.account-header-body { flex: 1; min-width: 200px; }
.account-header h1 {
margin: 0.15rem 0 0.25rem;
font-family: var(--brand-font-heading);
font-size: clamp(1.7rem, 4vw, 2.3rem);
color: var(--brand-warm-white);
overflow-wrap: anywhere;
}
.account-header .eyebrow { margin: 0; }
.account-email {
margin: 0;
display: flex;
align-items: center;
flex-wrap: wrap;
gap: 0.6rem;
color: var(--brand-muted);
font-size: 0.95rem;
overflow-wrap: anywhere;
}
.account-header-actions {
display: flex;
gap: 0.6rem;
flex-wrap: wrap;
}
.account-chip {
display: inline-block;
padding: 0.15rem 0.6rem;
border-radius: 999px;
border: 1px solid;
font-size: 0.72rem;
font-weight: 600;
letter-spacing: 0.04em;
}
.account-chip--ok { color: #6fcf97; border-color: rgba(111, 207, 151, 0.45); background: rgba(111, 207, 151, 0.1); }
.account-chip--warn { color: #e0b861; border-color: rgba(224, 184, 97, 0.45); background: rgba(224, 184, 97, 0.1); }
.account-notice {
display: flex;
align-items: center;
justify-content: space-between;
flex-wrap: wrap;
gap: 0.75rem;
margin-bottom: 1.25rem;
padding: 0.85rem 1.1rem;
border: 1px solid rgba(201, 168, 76, 0.3);
border-radius: 12px;
background: rgba(201, 168, 76, 0.07);
color: #c9bb91;
font-size: 0.9rem;
}
.account-notice strong { color: var(--brand-gold); }
.account-notice-actions { display: flex; align-items: center; gap: 0.75rem; }
.account-notice-msg { font-size: 0.82rem; }
.account-layout {
display: grid;
grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
gap: 1.25rem;
align-items: start;
}
.account-main,
.account-side {
display: flex;
flex-direction: column;
gap: 1.25rem;
min-width: 0;
}
.account-stats {
display: grid;
grid-template-columns: repeat(4, minmax(0, 1fr));
gap: 0.75rem;
}
.account-stat {
padding: 1rem;
border: 1px solid rgba(201, 168, 76, 0.2);
border-radius: 14px;
background: rgba(17, 17, 15, 0.84);
}
.account-stat strong {
display: block;
font-family: var(--brand-font-heading);
font-size: 1.7rem;
line-height: 1.1;
color: var(--brand-warm-white);
}
.account-stat .account-stat-date { font-size: 1.05rem; padding-top: 0.45rem; }
.account-stat span {
display: block;
margin-top: 0.3rem;
font-size: 0.78rem;
letter-spacing: 0.06em;
text-transform: uppercase;
color: var(--brand-muted);
}
.account-card {
padding: 1.25rem 1.35rem;
border: 1px solid rgba(201, 168, 76, 0.2);
border-radius: 16px;
background: rgba(17, 17, 15, 0.84);
}
.account-card--danger { border-color: rgba(229, 115, 115, 0.3); }
.account-card--danger h2 { color: #e57373; }
.account-card-head {
display: flex;
align-items: baseline;
justify-content: space-between;
gap: 1rem;
margin-bottom: 0.9rem;
}
.account-card-head h2 {
margin: 0;
font-family: var(--brand-font-heading);
font-size: 1.25rem;
color: #e8d9b5;
}
.account-link {
background: none;
border: none;
padding: 0;
color: var(--brand-gold);
font: inherit;
font-size: 0.85rem;
text-decoration: underline;
cursor: pointer;
}
.account-muted {
margin: 0 0 0.75rem;
color: var(--brand-muted);
font-size: 0.92rem;
line-height: 1.55;
}
.account-progress + .account-progress { margin-top: 1rem; }
.account-progress-row {
display: flex;
justify-content: space-between;
gap: 1rem;
flex-wrap: wrap;
margin-bottom: 0.4rem;
font-size: 0.9rem;
color: var(--brand-muted);
}
.account-progress-row a {
color: var(--brand-warm-white);
text-decoration: none;
font-weight: 600;
}
.account-progress-row a:hover { text-decoration: underline; }
.account-cert {
display: flex;
align-items: center;
justify-content: space-between;
flex-wrap: wrap;
gap: 0.6rem;
padding: 0.6rem 0;
border-top: 1px solid rgba(201, 168, 76, 0.12);
font-size: 0.92rem;
}
.account-cert:first-of-type { border-top: none; }
.account-cert small { color: var(--brand-muted); }
.account-cert-actions { display: flex; gap: 0.5rem; }
.account-cert-actions .btn-secondary { font-size: 0.78rem; padding: 0.3rem 0.8rem; }
.account-menu {
list-style: none;
margin: 0;
padding: 0;
}
.account-menu li + li { border-top: 1px solid rgba(201, 168, 76, 0.12); }
.account-menu button {
width: 100%;
display: flex;
align-items: center;
justify-content: space-between;
gap: 1rem;
padding: 0.8rem 0.25rem;
background: none;
border: none;
color: inherit;
text-align: left;
cursor: pointer;
font-family: var(--brand-font-body);
}
.account-menu button:hover strong { color: var(--brand-gold); }
.account-menu button:disabled { opacity: 0.6; cursor: default; }
.account-menu strong {
display: block;
color: var(--brand-warm-white);
font-weight: 600;
font-size: 0.98rem;
transition: color 0.15s ease;
}
.account-menu small {
display: block;
margin-top: 0.1rem;
color: var(--brand-muted);
font-size: 0.82rem;
overflow-wrap: anywhere;
}
.account-menu button > span:last-child { color: var(--brand-gold); font-size: 1.2rem; }
.account-callout {
margin: 0.75rem 0 0;
padding: 0.7rem 0.9rem;
border: 1px solid rgba(201, 168, 76, 0.25);
border-radius: 10px;
background: rgba(201, 168, 76, 0.07);
color: #b9aa86;
font-size: 0.85rem;
line-height: 1.5;
}
.account-callout strong { color: var(--brand-gold); }
.account-callout--danger {
border-color: rgba(224, 92, 92, 0.3);
background: rgba(224, 92, 92, 0.07);
color: #e07a7a;
}
.account-callout--danger strong { color: #e07a7a; }
.account-session {
margin-top: 1rem;
padding-top: 1rem;
border-top: 1px solid rgba(201, 168, 76, 0.12);
}
.account-session .btn-secondary { width: 100%; justify-content: center; font-size: 0.82rem; }
.account-danger-step {
padding: 0.9rem;
border: 1px solid rgba(229, 115, 115, 0.35);
border-radius: 10px;
background: rgba(43, 17, 17, 0.6);
}
.account-danger-step p { margin: 0 0 0.75rem; color: #e0cfcf; }
.account-danger-input {
width: 100%;
margin-bottom: 0.8rem;
padding: 0.55rem 0.7rem;
border: 1px solid rgba(229, 115, 115, 0.5);
border-radius: 8px;
background: #140f0f;
color: var(--brand-warm-white);
}
.account-danger-actions { display: flex; gap: 0.6rem; flex-wrap: wrap; }
@media (max-width: 900px) {
.account-layout { grid-template-columns: 1fr; }
.account-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* ── Study hub (guest landing) ── */
.study-hub-count {
margin: 1.25rem 0 0;
font-size: 0.9rem;
color: var(--brand-muted);
}
.study-hub-steps {
list-style: none;
margin: 0;
padding: 0;
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 1rem;
}
.study-hub-step {
padding: 1.4rem 1.4rem 1.5rem;
border: 1px solid rgba(201, 168, 76, 0.22);
border-radius: 14px;
background: rgba(17, 17, 15, 0.84);
}
.study-hub-step-number {
display: inline-flex;
align-items: center;
justify-content: center;
width: 2.3rem;
height: 2.3rem;
margin-bottom: 0.9rem;
border-radius: 50%;
border: 1px solid rgba(201, 168, 76, 0.6);
background: rgba(201, 168, 76, 0.14);
color: var(--brand-gold);
font-family: var(--brand-font-heading);
font-size: 1.2rem;
font-weight: 700;
}
.study-hub-step h3 {
margin: 0 0 0.45rem;
font-family: var(--brand-font-heading);
font-size: 1.3rem;
color: var(--brand-warm-white);
}
.study-hub-step p {
margin: 0;
color: #d6c7a6;
line-height: 1.6;
}
.study-track-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 1.1rem;
align-items: start;
}
.study-track-wrap { display: flex; flex-direction: column; gap: 0.5rem; }
.study-track-card {
display: flex;
flex-direction: column;
gap: 0.6rem;
padding: 1.4rem;
border: 1px solid rgba(201, 168, 76, 0.24);
border-radius: 16px;
background: linear-gradient(180deg, rgba(26, 26, 22, 0.95), rgba(16, 16, 14, 0.95));
color: inherit;
text-decoration: none;
transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
a.study-track-card:hover {
transform: translateY(-3px);
border-color: rgba(201, 168, 76, 0.55);
box-shadow: 0 14px 36px rgba(0, 0, 0, 0.45);
}
.study-track-card--planned {
border-style: dashed;
opacity: 0.8;
}
.study-track-top {
display: flex;
align-items: center;
justify-content: space-between;
gap: 0.6rem;
flex-wrap: wrap;
}
.study-track-status {
font-size: 0.72rem;
letter-spacing: 0.12em;
text-transform: uppercase;
color: var(--brand-gold);
}
.study-track-status--complete { color: #6fcf97; }
.study-track-status--planned { color: var(--brand-muted); }
.study-difficulty {
padding: 0.18rem 0.65rem;
border-radius: 999px;
border: 1px solid;
font-size: 0.72rem;
font-weight: 600;
text-transform: capitalize;
}
.study-difficulty--beginner { color: #7fd484; border-color: rgba(76, 175, 80, 0.45); background: rgba(76, 175, 80, 0.12); }
.study-difficulty--intermediate { color: #f0b45c; border-color: rgba(245, 124, 0, 0.45); background: rgba(245, 124, 0, 0.12); }
.study-difficulty--advanced { color: #ef8a82; border-color: rgba(211, 47, 47, 0.5); background: rgba(211, 47, 47, 0.12); }
.study-track-title {
margin: 0.2rem 0 0;
font-family: var(--brand-font-heading);
font-size: 1.5rem;
line-height: 1.2;
color: var(--brand-warm-white);
}
.study-track-desc {
margin: 0;
color: #d6c7a6;
line-height: 1.6;
}
.study-track-facts {
list-style: none;
margin: 0.4rem 0 0;
padding: 0.75rem 0 0;
border-top: 1px solid rgba(201, 168, 76, 0.16);
display: flex;
flex-direction: column;
gap: 0.3rem;
font-size: 0.9rem;
color: var(--brand-muted);
}
.study-track-cta {
margin-top: 0.5rem;
color: var(--brand-gold);
font-size: 0.85rem;
letter-spacing: 0.1em;
text-transform: uppercase;
}
.study-track-listen {
margin: 0;
padding: 0 0.4rem;
font-size: 0.9rem;
color: var(--brand-muted);
}
.study-hub-ask {
max-width: 640px;
margin: 1rem auto 2rem;
padding: clamp(1.75rem, 4vw, 2.5rem);
text-align: center;
border: 1px solid rgba(201, 168, 76, 0.24);
border-radius: 18px;
background:
radial-gradient(ellipse at top, rgba(201, 168, 76, 0.1), transparent 70%),
rgba(17, 17, 15, 0.9);
}
.study-hub-ask h2 {
margin: 0.4rem 0 0.75rem;
font-family: var(--brand-font-heading);
font-size: 1.8rem;
color: var(--brand-warm-white);
}
.study-hub-ask p:not(.eyebrow) {
margin: 0 auto 1.5rem;
max-width: 480px;
color: #b9aa86;
line-height: 1.6;
}
.study-hub-ask-actions {
display: flex;
gap: 0.75rem;
justify-content: center;
flex-wrap: wrap;
}
@media (max-width: 820px) {
.study-hub-steps { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
a.study-track-card:hover { transform: none; }
}
/* ── Sign in / Create account (split layout) ── */
.auth-page {
min-height: 70vh;
display: flex;
justify-content: center;
padding: clamp(2rem, 6vw, 4rem) 1.25rem;
background:
radial-gradient(ellipse at top, rgba(201, 168, 76, 0.12) 0%, transparent 55%),
var(--brand-black);
}
.auth-shell {
width: min(1000px, 100%);
display: grid;
grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
align-items: start;
gap: clamp(1.5rem, 4vw, 3rem);
}
.auth-shell--single {
grid-template-columns: minmax(0, 520px);
justify-content: center;
}
.auth-aside {
padding: 1rem 0.5rem;
}
.auth-aside-title {
font-family: var(--brand-font-heading);
font-size: clamp(1.7rem, 3.4vw, 2.3rem);
line-height: 1.15;
color: var(--brand-warm-white);
margin: 0.4rem 0 1.5rem;
}
.auth-benefits {
list-style: none;
margin: 0;
padding: 0;
display: flex;
flex-direction: column;
gap: 1.1rem;
}
.auth-benefits li {
display: flex;
gap: 0.9rem;
align-items: flex-start;
}
.auth-benefits li > span {
flex-shrink: 0;
width: 2.4rem;
height: 2.4rem;
display: inline-flex;
align-items: center;
justify-content: center;
border-radius: 50%;
background: rgba(201, 168, 76, 0.12);
border: 1px solid rgba(201, 168, 76, 0.35);
font-size: 1.05rem;
}
.auth-benefits strong {
display: block;
color: var(--brand-warm-white);
font-family: var(--brand-font-heading);
font-size: 1.1rem;
font-weight: 600;
margin-bottom: 0.15rem;
}
.auth-benefits p {
margin: 0;
color: #b9aa86;
font-size: 0.95rem;
line-height: 1.55;
}
.auth-card {
background: #121212;
border: 1px solid rgba(201, 168, 76, 0.24);
border-radius: 16px;
box-shadow: 0 12px 48px rgba(0, 0, 0, 0.5);
padding: clamp(1.5rem, 4vw, 2.25rem);
text-align: left;
}
.auth-card h1 {
font-family: var(--brand-font-heading);
font-size: clamp(1.8rem, 4vw, 2.3rem);
color: var(--brand-warm-white);
margin: 0.2rem 0 0.75rem;
}
.auth-card p {
font-family: var(--brand-font-body);
color: var(--brand-muted);
}
.auth-card-eyebrow { margin: 0; }
.auth-card--center { text-align: center; }
.auth-card--center .study-signup-actions { justify-content: center; }
.auth-card .study-signup-form { margin-top: 0.5rem; }
.auth-card .study-signup-actions { margin-top: 0.75rem; }
.auth-card .study-signup-actions .btn-primary {
width: 100%;
justify-content: center;
}
.auth-password-wrap {
position: relative;
display: flex;
}
.auth-password-wrap input {
width: 100%;
padding-right: 4.5rem;
}
.auth-password-toggle {
position: absolute;
right: 0.35rem;
top: 50%;
transform: translateY(-50%);
background: none;
border: none;
color: var(--brand-gold);
font-family: var(--brand-font-body);
font-size: 0.78rem;
letter-spacing: 0.06em;
text-transform: uppercase;
padding: 0.4rem 0.6rem;
cursor: pointer;
}
.auth-switch {
margin: 1.1rem 0 0;
text-align: center;
font-size: 0.95rem;
}
.auth-link {
background: none;
border: none;
padding: 0;
color: var(--brand-gold);
font: inherit;
text-decoration: underline;
cursor: pointer;
}
.auth-footer-links {
margin: 1.5rem 0 0;
text-align: center;
font-size: 0.9rem;
}
.auth-footer-links a {
color: var(--brand-muted);
text-decoration: none;
}
.auth-footer-links a:hover {
color: var(--brand-warm-white);
text-decoration: underline;
}
@media (max-width: 820px) {
.auth-shell {
grid-template-columns: 1fr;
}
/* Form first on phones; the benefits follow below it */
.auth-aside {
order: 2;
}
}
/* ── Study Signup Page ── */
.study-signup-page-card {
max-width: 680px;
+875 -846
View File
File diff suppressed because it is too large. Load diff