Skip to content

Commit

Permalink
new blog added
Browse files Browse the repository at this point in the history
  • Loading branch information
darshanbajgain committed Oct 10, 2023
1 parent 3e0c043 commit b4dc45d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions src/components/BlogContent.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ const BlogContent = ({ blogsData }) => {


return (
<div className="w-full py-16 px-8 relative bg-gray-800">
<div className='max-w-[1340px] mx-auto pt-24'>
<div className="w-full py-16 px-8 relative bg-gray-900">
<div className='max-w-[1340px] mx-auto px-1 pt-24'>
<div className="flex flex-col items-center">
<h1 className="md:text-4xl text-2xl text-white font-bold mb-4 pt-4">{blog.attributes.blogTitle}</h1>
<h1 className="md:text-3xl text-2xl text-white font-bold mb-4 pt-4">{blog.attributes.blogTitle}</h1>
<div className="max-w-full md:max-w-2xl pt-8">
<img className='w-full h-auto mb-4' src={`http://localhost:1337${blog.attributes.coverImg.data.attributes.url}`} alt={blog.attributes.blogTitle} />
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/components/Blogs.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ const Blogs = ({blogsData}) => {

return (

<div className='w-ful dark:bg-gray-800 text-white p-6'>
<div className='w-ful dark:bg-gray-900 text-white p-6'>
<div className='max-w-[1340px] mx-auto'>
<div className='grid ss:grid-cols-2 sm:grid-cols-2 md:grid-cols-2 lg:grid-cols-3 gap-10 py-24 px-4 my-10'>

Expand Down
2 changes: 1 addition & 1 deletion src/components/Footer.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { HiOutlineMail, HiGlobe } from 'react-icons/hi';

const Footer = () => {
return (
<div className='w-full dark:bg-gray-800 text-gray-300'>
<div className='w-full dark:bg-gray-900 text-gray-300'>
<div className='max-w-[1340px] dark:bg-slate-800 mx-auto my-0 px-4 sm:px-6 rounded-2xl drop-shadow-xl shadow-inner'>
<div className=' py-6 grid grid-cols-1 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-3 gap-10 text-center'>
{/* Footer Column 1 */}
Expand Down

0 comments on commit b4dc45d

Please sign in to comment.