Ignore:
Timestamp:
02/16/26 17:38:16 (7 months ago)
Author:
Stefan-Saveski <stefansaveski19@…>
Branches:
master
Children:
8496f3c
Parents:
d7deae5
Message:

Refactor code structure for improved readability and maintainability

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/components/exams.tsx

    rd7deae5 r4fe4582  
    290290                <tr key={exam.id} className="hover:bg-accent/50 transition-colors duration-150">
    291291                  <td className="py-4 px-4 text-sm text-card-foreground">{exam.id}</td>
    292                   <td className="py-4 px-4 text-sm text-card-foreground font-medium">{exam.subject}</td>
    293                   <td className="py-4 px-4 text-sm text-muted-foreground">{exam.semester}</td>
     292                  <td className="py-4 px-4 text-sm text-card-foreground font-medium">{t(exam.subject, exam.subject)}</td>
     293                  <td className="py-4 px-4 text-sm text-muted-foreground">{t(exam.semester, exam.semester)}</td>
    294294                  <td className="py-4 px-4 text-sm text-muted-foreground">{exam.credits}</td>
    295295                  <td className="py-4 px-4 text-sm text-muted-foreground">{exam.date}</td>
Note: See TracChangeset for help on using the changeset viewer.