Skip to content

Commit 120f8ce

Browse files
committed
Add note about participant visibility in photo uploads
1 parent 5d2cc25 commit 120f8ce

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

Treasure_Hunt_Frontend/src/pages/participant/components/AnswerForm.jsx

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,21 @@ const AnswerForm = ({ textAnswer, onTextChange, onImageChange, imagePreview, req
9797
</span>
9898
)}
9999
</label>
100+
{requiresImage && (
101+
<p style={{
102+
fontSize: '0.8rem',
103+
color: 'var(--color-red)',
104+
marginBottom: '0.8rem',
105+
fontFamily: 'var(--font-body)',
106+
fontWeight: 700,
107+
fontStyle: 'italic',
108+
display: 'flex',
109+
alignItems: 'center',
110+
gap: '4px'
111+
}}>
112+
⚠️ Please ensure the participant is clearly visible in the photo.
113+
</p>
114+
)}
100115

101116
<div style={{ display: 'flex', alignItems: 'center', gap: '1rem' }}>
102117
{/* Upload area */}

0 commit comments

Comments
 (0)