Skip to content
Merged
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
2 changes: 1 addition & 1 deletion app/settings/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ export default async function SettingsPage() {
<div className="min-h-screen bg-gray-50 py-8">
<div className="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div className="mb-8">
<h1 className="text-3xl font-bold text-gray-900">
<h1 className="text-3xl font-bold text-purple-600">
Member Settings
</h1>
<p className="mt-2 text-gray-600">
Expand Down
10 changes: 5 additions & 5 deletions components/reports/AdminBasicReport.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ interface QuizResult {
}

interface TagPerf {
tag_name: string;
skill_name: string;
correct: number;
total: number;
pct: number;
Expand Down Expand Up @@ -283,8 +283,8 @@ export default function AdminBasicReport() {
{emp.strengths.length ? (
<ul className="list-disc list-inside ml-4">
{emp.strengths.map((t) => (
<li key={t.tag_name}>
{t.tag_name}: {t.correct}/{t.total} ({t.pct}%)
<li key={t.skill_name}>
{t.skill_name}: {t.correct}/{t.total} ({t.pct}%)
</li>
))}
</ul>
Expand All @@ -297,8 +297,8 @@ export default function AdminBasicReport() {
{emp.weaknesses.length ? (
<ul className="list-disc list-inside ml-4">
{emp.weaknesses.map((t) => (
<li key={t.tag_name}>
{t.tag_name}: {t.correct}/{t.total} ({t.pct}%)
<li key={t.skill_name}>
{t.skill_name}: {t.correct}/{t.total} ({t.pct}%)
</li>
))}
</ul>
Expand Down
10 changes: 5 additions & 5 deletions components/reports/BasicReport.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ interface QuizResult {
}

interface TagPerf {
tag_name: string;
skill_name: string;
correct: number;
total: number;
pct: number;
Expand Down Expand Up @@ -156,8 +156,8 @@ export default function BasicReport() {
{data.strengths.length ? (
<ul className="list-disc list-inside">
{data.strengths.map((t) => (
<li key={t.tag_name}>
{t.tag_name}: {t.correct}/{t.total} ({t.pct}%)
<li key={t.skill_name}>
{t.skill_name}: {t.correct}/{t.total} ({t.pct}%)
</li>
))}
</ul>
Expand All @@ -171,8 +171,8 @@ export default function BasicReport() {
{data.weaknesses.length ? (
<ul className="list-disc list-inside">
{data.weaknesses.map((t) => (
<li key={t.tag_name}>
{t.tag_name}: {t.correct}/{t.total} ({t.pct}%)
<li key={t.skill_name}>
{t.skill_name}: {t.correct}/{t.total} ({t.pct}%)
</li>
))}
</ul>
Expand Down