- Removed App.css and migrated styles to individual component and page-specific CSS files. - Created base styles in base.css for layout utilities and common elements. - Added component-specific styles in cards.css, header.css, and other relevant files. - Updated imports in App.tsx and other components to reflect new CSS structure. - Enhanced responsiveness and visual consistency across various components and pages.
16 lines
358 B
TypeScript
16 lines
358 B
TypeScript
import "../styles/components/cards.css";
|
|
|
|
interface ContentCardProps {
|
|
children: React.ReactNode;
|
|
className?: string;
|
|
style?: React.CSSProperties;
|
|
}
|
|
|
|
export default function ContentCard({ children, className = "", style }: ContentCardProps) {
|
|
return (
|
|
<div className={`contentCard ${className}`} style={style}>
|
|
{children}
|
|
</div>
|
|
);
|
|
}
|