Skip to content

Commit

Permalink
70% complete
Browse files Browse the repository at this point in the history
  • Loading branch information
darshanbajgain committed Oct 9, 2023
1 parent f6e1fcb commit 3e0c043
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions src/components/BlogContent.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,7 @@ const BlogContent = ({ blogsData }) => {
blog = {};
}

// Define custom styles for ReactMarkdown components
const customComponents = {
p: ({ node, ...props }) => <p style={{ color: 'white' }} {...props} />,
h1: ({ node, ...props }) => <h1 style={{ color: 'white' }} {...props} />,
// Add more elements as needed
};


return (
<div className="w-full py-16 px-8 relative bg-gray-800">
<div className='max-w-[1340px] mx-auto pt-24'>
Expand Down

0 comments on commit 3e0c043

Please sign in to comment.