From 7fece6f8f92c9583b54de8d6d6e52355ed530b40 Mon Sep 17 00:00:00 2001 From: Vishesh 'ironeagle' Bangotra Date: Wed, 12 Nov 2025 04:48:23 +0530 Subject: [PATCH] cleanup --- src/blog/components/MainContent.tsx | 77 ----------------------------- 1 file changed, 77 deletions(-) diff --git a/src/blog/components/MainContent.tsx b/src/blog/components/MainContent.tsx index 4195318..13adccf 100644 --- a/src/blog/components/MainContent.tsx +++ b/src/blog/components/MainContent.tsx @@ -1,10 +1,5 @@ import * as React from 'react'; -import Avatar from '@mui/material/Avatar'; -import AvatarGroup from '@mui/material/AvatarGroup'; import Box from '@mui/material/Box'; -import Card from '@mui/material/Card'; -import CardContent from '@mui/material/CardContent'; -import CardMedia from '@mui/material/CardMedia'; import Chip from '@mui/material/Chip'; import Grid from '@mui/material/Grid'; import IconButton from '@mui/material/IconButton'; @@ -12,7 +7,6 @@ import Typography from '@mui/material/Typography'; import FormControl from '@mui/material/FormControl'; import InputAdornment from '@mui/material/InputAdornment'; import OutlinedInput from '@mui/material/OutlinedInput'; -import { styled } from '@mui/material/styles'; import SearchRoundedIcon from '@mui/icons-material/SearchRounded'; import RssFeedRoundedIcon from '@mui/icons-material/RssFeedRounded'; @@ -21,77 +15,6 @@ import ArticleCardSize6 from "./ArticleCards/ArticleCardSize6"; import ArticleCardSize4 from "./ArticleCards/ArticleCardSize4"; import ArticleCardSize2 from "./ArticleCards/ArticleCardSize2"; - -const StyledCard = styled(Card)(({ theme }) => ({ - display: 'flex', - flexDirection: 'column', - padding: 0, - height: '100%', - backgroundColor: (theme.vars || theme).palette.background.paper, - '&:hover': { - backgroundColor: 'transparent', - cursor: 'pointer', - }, - '&:focus-visible': { - outline: '3px solid', - outlineColor: 'hsla(210, 98%, 48%, 0.5)', - outlineOffset: '2px', - }, -})); - -const StyledCardContent = styled(CardContent)({ - display: 'flex', - flexDirection: 'column', - gap: 4, - padding: 16, - flexGrow: 1, - '&:last-child': { - paddingBottom: 16, - }, -}); - -const StyledTypography = styled(Typography)({ - display: '-webkit-box', - WebkitBoxOrient: 'vertical', - WebkitLineClamp: 2, - overflow: 'hidden', - textOverflow: 'ellipsis', -}); - -function Author({ authors }: { authors: { name: string; avatar: string }[] }) { - return ( - - - - {authors.map((author, index) => ( - - ))} - - - {authors.map((author) => author.name).join(', ')} - - - July 14, 2021 - - ); -} - export function Search() { return (