diff --git a/frontend/src/components/ui/NeonButton.tsx b/frontend/src/components/ui/NeonButton.tsx index 9d63daf..c5fb460 100644 --- a/frontend/src/components/ui/NeonButton.tsx +++ b/frontend/src/components/ui/NeonButton.tsx @@ -128,13 +128,9 @@ export const NeonButton = forwardRef( {...props} > {isLoading && } - {!isLoading && icon && iconPosition === 'left' && ( - {icon} - )} + {!isLoading && icon && iconPosition === 'left' && icon} {children} - {!isLoading && icon && iconPosition === 'right' && ( - {icon} - )} + {!isLoading && icon && iconPosition === 'right' && icon} ) } diff --git a/frontend/src/pages/MarathonPage.tsx b/frontend/src/pages/MarathonPage.tsx index 681efe2..5709a3f 100644 --- a/frontend/src/pages/MarathonPage.tsx +++ b/frontend/src/pages/MarathonPage.tsx @@ -192,8 +192,22 @@ export function MarathonPage() { {/* Hero Banner */}
{/* Background */} -
-
+ {marathon.cover_url ? ( + <> + +
+
+ + ) : ( + <> +
+
+ + )}