@@ -77,7 +77,7 @@ export default function PersonPage() { |
| 77 | 77 | return ( |
| 78 | 78 | <div className="min-h-screen bg-vmi-cream"> |
| 79 | 79 | <Header |
| 80 | | - breadcrumbs={[ |
| 80 | + breadcrumbs={[ |
| 81 | 81 | { label: 'Home', href: '/' }, |
| 82 | 82 | { label: person.conflict_name, href: `/memorial/conflict/${person.conflict}` }, |
| 83 | 83 | { label: person.display_name } |
@@ -88,10 +88,22 @@ export default function PersonPage() { |
| 88 | 88 | <main className="max-w-6xl mx-auto px-4 py-12"> |
| 89 | 89 | {/* Person Header */} |
| 90 | 90 | <div className="bg-vmi-light-gold border-2 border-vmi-gold rounded-lg p-8 mb-12 shadow-xl"> |
| 91 | | - <h1 className="text-4xl font-black text-vmi-red mb-2"> |
| 91 | + <h1 className="text-4xl font-black text-vmi-red mb-2 flex items-center gap-2"> |
| 92 | 92 | {person.full_display_name ? |
| 93 | 93 | person.full_display_name.replace(person.rank + ' ', '').replace(person.rank + ', ', '') |
| 94 | 94 | : person.display_name} |
| 95 | + {person.pdf_key && ( |
| 96 | + <span title="Memorial document available" className="inline-block align-middle"> |
| 97 | + {/* Simple document icon SVG */} |
| 98 | + <svg xmlns="http://www.w3.org/2000/svg" width="28" height="28" viewBox="0 0 24 24" fill="none" stroke="#b91c1c" strokeWidth="2" strokeLinecap="round" strokeLinejoin="round" className="feather feather-file-text"> |
| 99 | + <path d="M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z" /> |
| 100 | + <polyline points="14 2 14 8 20 8" /> |
| 101 | + <line x1="16" y1="13" x2="8" y2="13" /> |
| 102 | + <line x1="16" y1="17" x2="8" y2="17" /> |
| 103 | + <line x1="10" y1="9" x2="9" y2="9" /> |
| 104 | + </svg> |
| 105 | + </span> |
| 106 | + )} |
| 95 | 107 | </h1> |
| 96 | 108 | |
| 97 | 109 | {/* Rank and Unit subtitle */} |
@@ -143,7 +155,7 @@ export default function PersonPage() { |
| 143 | 155 | {/* PDF Viewer */} |
| 144 | 156 | <div className="bg-white border-2 border-gray-300 rounded-lg p-8 shadow-xl"> |
| 145 | 157 | <h2 className="text-3xl font-bold mb-6 text-center text-vmi-red"> |
| 146 | | - Memorial Document |
| 158 | + Memorial Portrait |
| 147 | 159 | </h2> |
| 148 | 160 | |
| 149 | 161 | {person.pdf_key ? ( |