feat: country flag display in remaining app pages (mentor, jury, admin, applicant)
All checks were successful
Build and Push Docker Image / build (push) Successful in 8m23s

Extends CountryDisplay component usage to all remaining pages that showed
raw country codes: mentor dashboard/projects, jury competitions/awards,
admin awards/project detail, applicant team, and project-list-compact.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-06 15:07:40 +01:00
parent 37351044ed
commit ec30dc83d6
10 changed files with 33 additions and 19 deletions

View File

@@ -22,6 +22,7 @@ import {
GripVertical,
} from 'lucide-react'
import { cn } from '@/lib/utils'
import { CountryDisplay } from '@/components/shared/country-display'
export default function JuryAwardVotingPage({
params,
@@ -191,7 +192,7 @@ export default function JuryAwardVotingPage({
)}
{project.country && (
<Badge variant="outline" className="text-xs">
{project.country}
<CountryDisplay country={project.country} />
</Badge>
)}
</div>
@@ -285,7 +286,7 @@ export default function JuryAwardVotingPage({
)}
{project.country && (
<Badge variant="outline" className="text-xs">
{project.country}
<CountryDisplay country={project.country} />
</Badge>
)}
</div>