fix agian
This commit is contained in:
@@ -257,6 +257,7 @@ function sanitizeColossiansStudySections(value) {
|
|||||||
studyQuestions: Array.isArray(item.studyQuestions)
|
studyQuestions: Array.isArray(item.studyQuestions)
|
||||||
? item.studyQuestions.filter(question => typeof question === 'string').map(question => question.trim()).filter(Boolean).slice(0, 20)
|
? item.studyQuestions.filter(question => typeof question === 'string').map(question => question.trim()).filter(Boolean).slice(0, 20)
|
||||||
: [],
|
: [],
|
||||||
|
announcement: typeof item.announcement === 'string' ? item.announcement.trim().slice(0, 600) : '',
|
||||||
checkpointPrompt: typeof item.checkpointPrompt === 'string' ? item.checkpointPrompt.trim().slice(0, 600) : '',
|
checkpointPrompt: typeof item.checkpointPrompt === 'string' ? item.checkpointPrompt.trim().slice(0, 600) : '',
|
||||||
checkpointQuestions: Array.isArray(item.checkpointQuestions)
|
checkpointQuestions: Array.isArray(item.checkpointQuestions)
|
||||||
? item.checkpointQuestions.filter(question => typeof question === 'string').map(question => question.trim()).filter(Boolean).slice(0, 20)
|
? item.checkpointQuestions.filter(question => typeof question === 'string').map(question => question.trim()).filter(Boolean).slice(0, 20)
|
||||||
|
|||||||
+45
-41
@@ -1264,47 +1264,6 @@
|
|||||||
|
|
||||||
/* ── Colossians Study ── */
|
/* ── Colossians Study ── */
|
||||||
.study-index-page,
|
.study-index-page,
|
||||||
/* ── Lesson Announcement Banner ── */
|
|
||||||
.study-lesson-announcement-banner {
|
|
||||||
display: flex;
|
|
||||||
align-items: flex-start;
|
|
||||||
gap: 1rem;
|
|
||||||
padding: 1rem 1.5rem;
|
|
||||||
background: linear-gradient(135deg, #1a1500 0%, #241c00 100%);
|
|
||||||
border-bottom: 2px solid #c9a84c;
|
|
||||||
width: 100%;
|
|
||||||
box-sizing: border-box;
|
|
||||||
}
|
|
||||||
|
|
||||||
.study-lesson-announcement-icon {
|
|
||||||
font-size: 1.4rem;
|
|
||||||
line-height: 1;
|
|
||||||
flex-shrink: 0;
|
|
||||||
margin-top: 0.1rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
.study-lesson-announcement-body {
|
|
||||||
flex: 1;
|
|
||||||
min-width: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
.study-lesson-announcement-label {
|
|
||||||
display: block;
|
|
||||||
font-size: 0.72rem;
|
|
||||||
text-transform: uppercase;
|
|
||||||
letter-spacing: 0.12em;
|
|
||||||
color: #c9a84c;
|
|
||||||
margin-bottom: 0.3rem;
|
|
||||||
font-weight: 700;
|
|
||||||
}
|
|
||||||
|
|
||||||
.study-lesson-announcement-text {
|
|
||||||
margin: 0;
|
|
||||||
font-size: 0.95rem;
|
|
||||||
color: #f0e9cc;
|
|
||||||
line-height: 1.6;
|
|
||||||
}
|
|
||||||
|
|
||||||
.study-section-page {
|
.study-section-page {
|
||||||
background:
|
background:
|
||||||
radial-gradient(1200px 500px at 90% -10%, rgba(201, 168, 76, 0.12), transparent 55%),
|
radial-gradient(1200px 500px at 90% -10%, rgba(201, 168, 76, 0.12), transparent 55%),
|
||||||
@@ -1312,6 +1271,51 @@
|
|||||||
#090909;
|
#090909;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* ── Lesson Announcement Banner ── */
|
||||||
|
.study-lesson-announcement-banner {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
gap: 1rem;
|
||||||
|
padding: 0.85rem 2rem;
|
||||||
|
background: #c9a84c;
|
||||||
|
width: 100%;
|
||||||
|
box-sizing: border-box;
|
||||||
|
position: relative;
|
||||||
|
z-index: 10;
|
||||||
|
}
|
||||||
|
|
||||||
|
.study-lesson-announcement-icon {
|
||||||
|
font-size: 1.1rem;
|
||||||
|
line-height: 1;
|
||||||
|
flex-shrink: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.study-lesson-announcement-body {
|
||||||
|
flex: 1;
|
||||||
|
min-width: 0;
|
||||||
|
display: flex;
|
||||||
|
align-items: baseline;
|
||||||
|
gap: 0.6rem;
|
||||||
|
flex-wrap: wrap;
|
||||||
|
}
|
||||||
|
|
||||||
|
.study-lesson-announcement-label {
|
||||||
|
font-size: 0.7rem;
|
||||||
|
text-transform: uppercase;
|
||||||
|
letter-spacing: 0.12em;
|
||||||
|
color: #3a2800;
|
||||||
|
font-weight: 800;
|
||||||
|
flex-shrink: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.study-lesson-announcement-text {
|
||||||
|
margin: 0;
|
||||||
|
font-size: 0.9rem;
|
||||||
|
color: #1a1200;
|
||||||
|
line-height: 1.5;
|
||||||
|
font-weight: 500;
|
||||||
|
}
|
||||||
|
|
||||||
.section-study-course-hero {
|
.section-study-course-hero {
|
||||||
padding: 6.5rem 0 3rem;
|
padding: 6.5rem 0 3rem;
|
||||||
background: linear-gradient(135deg, rgba(201, 168, 76, 0.08) 0%, rgba(201, 168, 76, 0.03) 40%, transparent 100%);
|
background: linear-gradient(135deg, rgba(201, 168, 76, 0.08) 0%, rgba(201, 168, 76, 0.03) 40%, transparent 100%);
|
||||||
|
|||||||
Reference in New Issue
Block a user