Skip to content

Commit

Permalink
blog page bg color modified
Browse files Browse the repository at this point in the history
  • Loading branch information
AryanKuAg authored and ItsRoy69 committed Feb 1, 2024
1 parent ffa1cc3 commit 5e62b14
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 10 deletions.
4 changes: 2 additions & 2 deletions src/pages/Blog/Blog.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@ import React from 'react';
import blogData from "./blogData.json"
import { useTheme } from "../../context/ThemeContext";
import BlogCard from '../../components/Blog/BlogCard';
import "./blog.css"

export default function Blog() {

const { isDarkMode } = useTheme();

return (
<div className={`flex flex-col items-center mt-[90px] pb-20 pt-6 ${isDarkMode? "blog-section-dark-mode" : "blog-section-white-mode"}`}>
<div className={`flex flex-col items-center mt-[90px] pb-20 pt-6`} style={isDarkMode? {backgroundColor: "#1a1a1a",
color: "#ffffff"}: {backgroundImage: 'linear-gradient(rgb(255, 255, 255), rgb(241, 234, 250) 48%, rgb(255, 255, 255))'}}>
<div className={`border border-gray-200 py-2 px-6 text-gray-600 rounded-full text-sm font-semibold ${!isDarkMode ? "bg-white" :"bg-black"}`}>
Our Blogs
</div>
Expand Down
8 changes: 0 additions & 8 deletions src/pages/Blog/blog.css

This file was deleted.

0 comments on commit 5e62b14

Please sign in to comment.