Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions frontend/public/textbook/students/f25/derick-burke.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Hi! I'm Derick. I am taking this course in Winter 2026.
As required, I'm posting my midterm here!

{{YouTube:https://youtu.be/hNnXt3UBN28 timestamps:["0:00"]}}
10 changes: 6 additions & 4 deletions frontend/src/App.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import {
ExamDashboard,
ExamInterface,
TextbookPage,
ThemeToggle,
loadAllQuestions,
compiledContentService
} from '@srfoster/textbook-lib';
Expand Down Expand Up @@ -58,18 +59,19 @@ function AppContent() {
<p>Computer Information Systems Concepts</p>
</div>
<nav className="main-nav">
<Link
to="/"
<Link
to="/"
className={`nav-link ${isTextbookPage ? 'active' : ''}`}
>
Textbook
</Link>
<Link
to="/exams"
<Link
to="/exams"
className={`nav-link ${isExamPage ? 'active' : ''}`}
>
Exams
</Link>
<ThemeToggle />
</nav>
</div>
</header>
Expand Down
60 changes: 30 additions & 30 deletions textbook-lib/src/components/ConceptMap.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,21 +3,21 @@
max-width: 1200px;
margin: 0 auto;
padding: 20px;
background: #f8f9fa;
background: var(--background-color);
border-radius: 8px;
border: 1px solid #dee2e6;
border: 1px solid var(--border-color);
}

.concept-map h2 {
color: #2c3e50;
color: var(--text-primary);
margin-bottom: 10px;
font-size: 1.6rem;
text-align: center;
}

.concept-map-description {
text-align: center;
color: #6c757d;
color: var(--text-secondary);
margin-bottom: 20px;
font-style: italic;
font-size: 0.9rem;
Expand All @@ -29,13 +29,13 @@
text-align: center;
padding: 40px;
font-size: 1.1rem;
color: #6c757d;
color: var(--text-secondary);
}

.concept-map-error {
color: #dc3545;
background: #f8d7da;
border: 1px solid #f5c6cb;
color: var(--error-color);
background: var(--surface-color);
border: 1px solid var(--error-color);
border-radius: 4px;
}

Expand All @@ -46,9 +46,9 @@
}

.concept-category {
background: white;
background: var(--surface-color);
border-radius: 6px;
border: 1px solid #dee2e6;
border: 1px solid var(--border-color);
overflow: hidden;
}

Expand All @@ -57,7 +57,7 @@
justify-content: space-between;
align-items: center;
padding: 12px 16px;
background: #f1f3f4;
background: var(--background-color);
border: none;
cursor: pointer;
width: 100%;
Expand All @@ -67,7 +67,7 @@
}

.category-header:hover {
background: #e9ecef;
background: var(--border-color);
}

.category-header.expanded {
Expand All @@ -78,7 +78,7 @@
.category-title {
font-size: 1.1rem;
font-weight: 600;
color: #2c3e50;
color: var(--text-primary);
}

.category-header.expanded .category-title {
Expand All @@ -88,7 +88,7 @@
.expand-icon {
font-size: 1.1rem;
font-weight: bold;
color: #6c757d;
color: var(--text-secondary);
transition: transform 0.2s ease;
}

Expand All @@ -99,23 +99,23 @@

.category-content {
padding: 16px;
background: white;
background: var(--surface-color);
display: grid;
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
gap: 12px;
}

.concept-item {
background: #f8f9fa;
border: 1px solid #e9ecef;
background: var(--background-color);
border: 1px solid var(--border-color);
border-radius: 6px;
padding: 12px;
transition: all 0.2s ease;
position: relative;
}

.concept-item:hover {
background: #e9ecef;
background: var(--border-color);
transform: translateY(-1px);
box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
Expand All @@ -139,7 +139,7 @@
}

.concept-name {
color: #2c3e50;
color: var(--text-primary);
margin: 0;
font-size: 0.95rem;
font-weight: 600;
Expand All @@ -148,7 +148,7 @@
}

.concept-description {
color: #6c757d;
color: var(--text-secondary);
font-style: italic;
margin: 2px 0 0 0;
font-size: 0.8rem;
Expand All @@ -165,19 +165,19 @@
align-items: center;
gap: 4px;
padding: 3px 8px;
background: #e9ecef;
border: 1px solid #dee2e6;
background: var(--border-color);
border: 1px solid var(--border-color);
border-radius: 12px;
cursor: pointer;
font-size: 0.75rem;
font-weight: 500;
color: #495057;
color: var(--text-primary);
transition: all 0.2s ease;
text-decoration: none;
}

.questions-header:hover {
background: #dee2e6;
background: var(--secondary-color);
transform: scale(1.02);
}

Expand Down Expand Up @@ -207,16 +207,16 @@
}

.question-item {
background: white;
border: 1px solid #dee2e6;
background: var(--surface-color);
border: 1px solid var(--border-color);
border-radius: 4px;
padding: 6px 8px;
transition: background-color 0.2s ease;
font-size: 0.8rem;
}

.question-item:hover {
background: #f8f9fa;
background: var(--background-color);
}

.question-header {
Expand All @@ -227,9 +227,9 @@

.question-id {
font-weight: bold;
color: #007bff;
color: var(--primary-color);
font-size: 0.7rem;
background: #e3f2fd;
background: var(--background-color);
padding: 1px 4px;
border-radius: 2px;
flex-shrink: 0;
Expand All @@ -238,7 +238,7 @@
}

.question-title {
color: #495057;
color: var(--text-secondary);
font-size: 0.75rem;
line-height: 1.3;
flex: 1;
Expand Down
Loading