diff --git a/frontend/src/components/EventAdmin.tsx b/frontend/src/components/EventAdmin.tsx
index 4de3b12..86019bd 100644
--- a/frontend/src/components/EventAdmin.tsx
+++ b/frontend/src/components/EventAdmin.tsx
@@ -1104,6 +1104,13 @@ const EventAdmin: React.FC = () => {
Update Event Information
+ {/* Event Title Field */}
+ setUpdateForm(prev => ({ ...prev, title: e.target.value }))}
+ fullWidth
+ />
{
/>
)}
-
+
+ {/* Event Conclusion Email Settings */}
+
+
+ Event Conclusion Email
+
+ setUpdateForm(prev => ({
+ ...prev,
+ event_conclusion_email_enabled: e.target.checked
+ }))}
+ />
+ }
+ label="Enable Event Conclusion Email"
+ />
+
+ {updateForm.event_conclusion_email_enabled && (
+ setUpdateForm(prev => ({
+ ...prev,
+ event_conclusion_message: e.target.value
+ }))}
+ variant="outlined"
+ multiline
+ rows={4}
+ helperText="This message will be sent to attendees who opted for email notifications the day after the event."
+ sx={{ mt: 2 }}
+ />
+ )}
+
+
Wallpaper
@@ -1187,8 +1230,8 @@ const EventAdmin: React.FC = () => {
alt="Current wallpaper"
sx={{
width: '100%',
- height: 120,
- objectFit: 'cover',
+ maxHeight: 200, // Increased max height for better viewing
+ objectFit: 'contain', // Changed to contain to show the whole image
borderRadius: 1,
}}
/>