feat: include video/image upload
This commit is contained in:
@@ -84,7 +84,7 @@ export default function HomepageBannerModal({
|
||||
<Label className="font-semibold">Desktop Media URL</Label>
|
||||
<p className="text-xs text-muted-foreground">
|
||||
{bannerForm.mediaType === 'VIDEO'
|
||||
? 'Recommended: 16:9 MP4 Format'
|
||||
? 'Recommended: 1920 × 650 MP4 Format '
|
||||
: 'Recommended: 1920 × 650 Widescreen'}
|
||||
</p>
|
||||
<BytescaleUploader
|
||||
@@ -102,9 +102,7 @@ export default function HomepageBannerModal({
|
||||
<div className="space-y-2">
|
||||
<Label className="font-semibold">Mobile Media URL (Optional)</Label>
|
||||
<p className="text-xs text-muted-foreground">
|
||||
{bannerForm.mediaType === 'VIDEO'
|
||||
? 'Recommended: 9:16 Vertical Video'
|
||||
: 'Recommended: 750 × 1000 Portrait'}
|
||||
{bannerForm.mediaType === 'VIDEO' ? 'Recommended: 340 × 390 MP4 Format' : 'Recommended: 340 × 390 '}
|
||||
</p>
|
||||
<BytescaleUploader
|
||||
value={bannerForm.mobileMediaUrl || ''}
|
||||
|
||||
Reference in New Issue
Block a user