Skip to content

Commit 188bade

Browse files
Mahimahtomaanasb01
andauthored
feat: add yearly calendar to blog dashbaord
* create blog dashboard route with blogs data accessible * Added a yearly calendar visualization to display blog post activity. --------- Co-authored-by: maanasb01 <[email protected]>
1 parent f0b9ca6 commit 188bade

File tree

5 files changed

+21017
-13441
lines changed

5 files changed

+21017
-13441
lines changed

gatsby-node.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,11 @@ exports.createPages = async ({ graphql, actions, reporter }) => {
7272
component: require.resolve(`./src/components/default-blog-index-layout.js`),
7373
context: { projects },
7474
})
75+
// Blog Dashboard
76+
createPage({
77+
path: `/blog/dashboard/`,
78+
component: require.resolve(`./src/components/default-blog-dashboard.js`),
79+
})
7580
//siteMapURLs.set("Blogs", "/blog")
7681
siteMapNodes.push({ name: "blog", isDir: false, node: { name: "blog" } })
7782

0 commit comments

Comments
 (0)