import React from 'react'; import Box from '@mui/material/Box'; import Typography from '@mui/material/Typography'; import Grid from '@mui/material/Grid'; import CategoryBox from './CategoryBox.js'; // @note SwashingtonCP font is now loaded globally via index.css const CategoryBoxGrid = ({ categories = [], title, spacing = 3, showTitle = true, titleVariant = 'h3', titleSx = {}, gridProps = {}, boxProps = {} }) => { if (!categories || categories.length === 0) { return null; } return ( {/* Optional title */} {showTitle && title && ( {title} )} {/* Category boxes grid */} {categories.map((category) => ( ))} ); }; export default CategoryBoxGrid;