DEV Community

Cover image for Publish Latest Dev.To Post to Portfolio Site
Wiz Lee
Wiz Lee

Posted on

1

Publish Latest Dev.To Post to Portfolio Site

"We are one", says wizlee.dev to dev.to/wizlee.

That's 'humanification' of my portfolio site after gaining the ability to list my posts from dev.to ;)

Due to the ground work done in Ema Suriano's gatsby-starter-mate, after the work done in the previous post only the following are needed:

  1. Get data from GraphQL query using Gatsby's useStaticQuery.
  2. Add empty response in case there's no user defined in Contentful CMS.
  3. Replace the original Medium posts integration with Dev posts mainly by modifying src/sections/Writing.ts & src/components/Post.ts

Next up, figuring out how to trigger Netlify deploy when a new dev article is posted!

Top comments (2)

Collapse
 
luispinheiro profile image
Luis Pinheiro β€’

Nice portfolio

Collapse
 
wizlee profile image
Wiz Lee β€’

Thanks! The starter that Ema Suriano provided makes it easier for customisation

Cloudinary image

Zoom pan, gen fill, restore, overlay, upscale, crop, resize...

Chain advanced transformations through a set of image and video APIs while optimizing assets by 90%.

Explore

πŸ‘‹ Kindness is contagious

Please leave a ❀️ or a friendly comment on this post if you found it helpful!

Okay