Kondarama Temple, hampi

Welcome to part-17 of the series.

As told in the earlier post, this series is based on the learning from this awesome udemy course by John Smilga

I have been in Hampi for the past 4 days and created six blogs on hampi. The four days blogs can be find here.

My other blogs on Saving money during Hampi stay can be found here. Yet another blog on Rama and Shiva in Hampi can be found here.

These blog i had already added in contentful and are reflecting in the site.

Blogs addedBlogs added

Similarly, i have added many new places and also added missing pictures in all Places.

Places addedPlaces added

On checking a blog i found that, it will look nice if it contains the header image like the Place.

Image neededImage needed

So, like place-template.js we need to add StyledHero in blog-template.js

blog-template.jsblog-template.js

Next, we also need to update our query to show the image in blog-template.js

Query updatedQuery updated

It will show nice header image in every blog post.

Nice header imageNice header image

Next, we will commit and push this changes to Github for the automatic deployment in netlify to start.

Pushing the codePushing the code

It started the netlify automatic build.

Netlify automatic buildNetlify automatic build

It pushed the changes correctly to netlify site at https://amazinghampi.netlify.com/

amazinghampiamazinghampi

This completes part-17 of the series. You can find the code for the same here.

This post is also available on DEV.