diff --git a/components/shared/blog/blog-items.tsx b/components/shared/blog/blog-items.tsx index 060a626..6fddef2 100644 --- a/components/shared/blog/blog-items.tsx +++ b/components/shared/blog/blog-items.tsx @@ -1,3 +1,4 @@ +import Image from 'next/image'; import Link from 'next/link'; import React from 'react' import { BsCalendarPlus } from "react-icons/bs"; @@ -19,7 +20,9 @@ const BlogItems: React.FC = ({ data }) => { return (
- {data.title} +
+ {data.title} +

{data.title}

diff --git a/next.config.js b/next.config.js index f317bc3..72509be 100644 --- a/next.config.js +++ b/next.config.js @@ -4,7 +4,7 @@ const nextConfig = { remotePatterns: [ { protocol: 'https', - hostname: 'images.pexels.com"', + hostname: 'images.pexels.com', }, ], },