Skip to content

Commit

Permalink
🐛 fix dev showing old post
Browse files Browse the repository at this point in the history
  • Loading branch information
scottnath committed Mar 3, 2024
1 parent 79d43eb commit cb86677
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions workspaces/website/src/components/DevToUser.astro
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,9 @@
import {dsd} from 'profile-components/devto-utils';
import profilePic from '~/assets/scott-nath-profile-photo.jpeg';
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,
latest_post: latest_post,
},true);
---

Expand Down

0 comments on commit cb86677

Please sign in to comment.