Skip to content

Commit

Permalink
fix: image replaced & blog card problem fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
priyankarpal committed Mar 31, 2023
1 parent 3a2c0b5 commit 84d4761
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/components/BlogCard.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ const BlogCard = () => {
<a href={blog.link} target="_blank" rel="noreferrer">
<Image
alt={`Screenshot of ${blog.title}`}
className="rounded-md object-contain"
className="rounded-md object-contain "
src={blog.screenshot}
height={320}
width={568.87}
Expand Down
7 changes: 3 additions & 4 deletions src/data/blog.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import FreeWeb3Resources from "assets/sources/blog/free-web3-resources-demo-blog.webp"
import ContentCreator from "assets/sources/blog/4c-content-creatordemo-blog.webp"
import ContentCreator from "assets/sources/blog/4c.png"

const blogs = [
{
Expand All @@ -16,9 +16,8 @@ const blogs = [
name: "Francesco Ciulla 2",
title: "4C - Content Creator(demo blog)",
screenshot: ContentCreator,
screenshotUrl:
"https://raw.githubusercontent.com/devvsakib/random-image-for-thumbnail/main/Screenshot_2.png",
description: "A home of content creator",
screenshotUrl: "https://user-images.githubusercontent.com/88102392/229171789-7d74c9bd-946b-494a-97a9-86612fdf2f27.png",
description: "The Cool Community of Content Creators",
link: "https://github.com/FrancescoXX/4c-site",
twitter: "https://twitter.com/FrancescoCiull4",
},
Expand Down

0 comments on commit 84d4761

Please sign in to comment.