import React from 'react'; import { Box, Button, Card, CardContent, Stack, Typography, useMediaQuery } from '@mui/material'; import AirportShuttleIcon from '@mui/icons-material/AirportShuttle'; import CampaignIcon from '@mui/icons-material/Campaign'; import Inventory2Icon from '@mui/icons-material/Inventory2'; import DeveloperBoardIcon from '@mui/icons-material/DeveloperBoard'; import ArrowOutwardIcon from '@mui/icons-material/ArrowOutward'; import { useTheme } from '@mui/material/styles'; import AddIcon from '@mui/icons-material/Add'; const IconCircle = ({ children, bgColor = '#DEDEFA', outerColor = '#EFEFFD' }) => ( {children} ); const StatusCard = ({ icon, statusText, statusColor, iconColor, outerColor, innerColor, height = { xs: 'calc(140px + 0.5vh)', sm: 'calc(150px + 0.5vh)', md: 'calc(162px + 0.5vh)' }, width = { xs: 'min(90%, 600px)', // تقليل من 90% إلى 85% والحد الأقصى من 300px إلى 280px sm: 'clamp(220px, 23vw, 280px)', // تقليل جميع القيم md: 'clamp(220px, 19vw, 300px)' }, transition = 'width 0.3s ease', iconSpacing = { xs: 6, sm: 8, md: 12 }, extraButton, statusButtonWidth, title = 'Point Of Sale', }) => { const theme = useTheme(); const isSmallScreen = useMediaQuery(theme.breakpoints.down('sm')); return ( {React.cloneElement(icon, { sx: { color: iconColor, fontSize: { xs: 16, sm: 18, md: 20 } } })} {title} {extraButton ? extraButton : } ); }; const PostSubmission = () => { const theme = useTheme(); const isSmallScreen = useMediaQuery(theme.breakpoints.down('sm')); const isMediumScreen = useMediaQuery(theme.breakpoints.between('sm', 'md')); return ( <> {/* Header Section */} {/* Title */} Post Submission {/* Buttons */} ); }; export default PostSubmission;