From 43c18ede993145b3c30289975d1b22fe8f2cd88a Mon Sep 17 00:00:00 2001 From: Damien Date: Thu, 27 Feb 2025 23:27:40 -0500 Subject: [PATCH] fix: ui --- src/components/ProjectCard.tsx | 74 ++++++++++++++++++++++++---------- src/data/game_projects.ts | 20 +++++++++ src/data/software_projects.ts | 18 +++++---- 3 files changed, 83 insertions(+), 29 deletions(-) diff --git a/src/components/ProjectCard.tsx b/src/components/ProjectCard.tsx index e4fc58c..5bc632a 100644 --- a/src/components/ProjectCard.tsx +++ b/src/components/ProjectCard.tsx @@ -1,17 +1,18 @@ import React, { useState } from 'react'; -import { - Box, - Card, - CardContent, - CardMedia, - Typography, - Button, +import { + Box, + Card, + CardContent, + CardMedia, + Typography, + Button, IconButton, Chip, Stack, useTheme, useMediaQuery, - SvgIcon + SvgIcon, + SvgIconProps } from '@mui/material'; import GitHubIcon from '@mui/icons-material/GitHub'; import LaunchIcon from '@mui/icons-material/Launch'; @@ -201,19 +202,50 @@ const ProjectCard: React.FC = ({ project }) => { p: { xs: 2, sm: 3 }, // Responsive padding '&:last-child': { pb: { xs: 2, sm: 3 } } // Override MUI's default padding-bottom }}> - - {project.title} - + {project.title.includes("[WIP]") ? ( + + {project.title.replace("[WIP]", "")} + + [WIP] + + + ) : ( + + {project.title} + + )}