Skip to content

Commit

Permalink
🐛 show correct latest post
Browse files Browse the repository at this point in the history
  • Loading branch information
scottnath committed Feb 22, 2024
1 parent e4dead2 commit 137fc8d
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions workspaces/website/src/components/DevToUser.astro
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,17 @@
import {dsd} from 'profile-components/devto-utils';
import profilePic from '~/assets/scott-nath-profile-photo.jpeg';
const popularPost = {
"title": "Running a local multi-framework composition Storybook",
"url": "https://dev.to/scottnath/running-a-local-multi-framework-composition-storybook-506l",
"cover_image": "https://res.cloudinary.com/practicaldev/image/fetch/s--vyFzl9Ml--/c_imagga_scale,f_auto,fl_progressive,h_420,q_auto,w_1000/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/jv4luam96ya9sxsjotjx.png",
"social_image": "https://res.cloudinary.com/practicaldev/image/fetch/s--HJA-rw9l--/c_imagga_scale,f_auto,fl_progressive,h_500,q_auto,w_1000/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/jv4luam96ya9sxsjotjx.png",
const latest_post = {
"title": "Profile Components: SSR with Declarative Shadow DOM",
"url": "https://dev.to/scottnath/profile-components-ssr-with-declarative-shadow-dom-2c3n",
"cover_image": "https://media.dev.to/cdn-cgi/image/width=1000,height=420,fit=cover,gravity=auto,format=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fwmujk00v1fy0vh6jr9ck.png",
"social_image": "https://media.dev.to/cdn-cgi/image/width=1000,height=500,fit=cover,gravity=auto,format=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fwmujk00v1fy0vh6jr9ck.png",
}
const declaredDOM = dsd({
username: 'scottnath',
profile_image: profilePic.src,
popular_post: popularPost,
latest_post: latest_post,
},true);
---

Expand Down

0 comments on commit 137fc8d

Please sign in to comment.