@@ -231,19 +231,6 @@ function EventDetailPage() {
231231 </ Button >
232232 </ div >
233233
234- { /* Original Screenshot (if available for submitter/admin) */ }
235- { ( event as any ) ?. screenshot_url && (
236- < div className = "mb-6 bg-white dark:bg-gray-800 rounded-lg shadow-lg p-6" >
237- < h2 className = "text-xl font-bold text-gray-900 dark:text-white mb-4" > Original Screenshot</ h2 >
238- < div className = "relative w-full max-w-2xl mx-auto" >
239- < img
240- src = { ( event as any ) . screenshot_url }
241- alt = "Original event screenshot"
242- className = "w-full h-auto rounded-lg shadow-lg"
243- />
244- </ div >
245- </ div >
246- ) }
247234
248235 { /* Edit Mode */ }
249236 < div className = "mb-6 bg-white dark:bg-gray-800 rounded-lg shadow-lg p-6" >
@@ -467,22 +454,22 @@ function EventDetailPage() {
467454 className = "relative max-w-lg mx-auto"
468455 >
469456 { /* Polaroid Frame */ }
470- < div className = "bg-white dark:bg-gray-800 rounded-2xl shadow-2xl p-4" >
457+ < div className = "bg-white dark:bg-gray-900 rounded-xl shadow-lg dark:shadow-gray-700 p-4" >
471458 { /* Image Section */ }
472459 < div className = "relative mb-4" >
473460 { event . source_image_url ? (
474461 < div className = "relative" >
475462 < img
476463 src = { event . source_image_url }
477464 alt = { event . title }
478- className = "w-full h-48 object-cover rounded-lg shadow-lg aspect-square"
465+ className = "w-full h-48 object-cover rounded-lg aspect-square"
479466 />
480467 < EventStatusBadge event = { event } />
481468 < NewEventBadge event = { event } />
482469 < OrganizationBadge event = { event } />
483470 </ div >
484471 ) : (
485- < div className = "w-full h-48 bg-gradient-to-br from-blue-100 to-purple-100 dark:from-gray-700 dark:to-gray-600 rounded-lg shadow-lg flex items-center justify-center aspect-square" >
472+ < div className = "w-full h-48 bg-gradient-to-br from-blue-100 to-purple-100 dark:from-gray-700 dark:to-gray-600 rounded-lg flex items-center justify-center aspect-square" >
486473 < div className = "text-center" >
487474 < Calendar className = "h-16 w-16 text-gray-400 dark:text-gray-500 mx-auto mb-4" />
488475 < p className = "text-gray-500 dark:text-gray-400 text-lg" >
@@ -691,29 +678,6 @@ function EventDetailPage() {
691678 </ div >
692679 </ div >
693680 </ motion . div >
694-
695- { /* Original Screenshot (if available for submitter/admin) */ }
696- { ( event as any ) ?. screenshot_url && (
697- < motion . div
698- initial = { { opacity : 0 , y : 20 } }
699- animate = { { opacity : 1 , y : 0 } }
700- transition = { { duration : 0.5 , delay : 0.2 } }
701- className = "mt-8 max-w-lg mx-auto"
702- >
703- < div className = "bg-white dark:bg-gray-800 rounded-2xl shadow-2xl p-4" >
704- < h3 className = "text-lg font-bold text-gray-900 dark:text-white mb-4 text-center" >
705- Original Screenshot
706- </ h3 >
707- < div className = "relative w-full" >
708- < img
709- src = { ( event as any ) . screenshot_url }
710- alt = "Original event screenshot"
711- className = "w-full h-auto rounded-lg shadow-lg"
712- />
713- </ div >
714- </ div >
715- </ motion . div >
716- ) }
717681 </ div >
718682 ) ;
719683}
0 commit comments