Skip to content

Commit

Permalink
Added contaniner for blog details and upgrade blog kit version
Browse files Browse the repository at this point in the history
  • Loading branch information
cp-dharti-r committed Mar 8, 2024
1 parent b25173d commit 897d937
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 13 deletions.
4 changes: 2 additions & 2 deletions nuxt-frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
},
"devDependencies": {
"@babel/eslint-parser": "^7.22.15",
"@canopassoftware/nuxt-blog-kit": "^1.0.2",
"@canopassoftware/nuxt-blog-kit": "^1.0.3",
"@ivanv/vue-collapse-transition": "^1.0.2",
"@nuxt/devtools": "latest",
"@nuxtjs/sitemap": "^5.1.0",
Expand Down Expand Up @@ -71,4 +71,4 @@
"last 2 versions",
"not dead"
]
}
}
16 changes: 9 additions & 7 deletions nuxt-frontend/pages/[slug].vue
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
<template>
<div v-if="!assets">
<Header />
<BlogDetail
:mixpanel="$mixpanel"
:recaptcha-key="config.VITE_RECAPTCHA_SITE_KEY"
:post="post"
:website-url="config.BASE_URL"
:contact-api-url="config.API_BASE"
/>
<div :class="post.is_resource ? '' : 'container pl-0'">
<BlogDetail
:mixpanel="$mixpanel"
:recaptcha-key="config.VITE_RECAPTCHA_SITE_KEY"
:post="post"
:website-url="config.BASE_URL"
:contact-api-url="config.API_BASE"
/>
</div>
<BlogFooter
:mixpanel="$mixpanel"
:social-media-data="config.SOCIAL_MEDIA_DATA"
Expand Down
8 changes: 4 additions & 4 deletions nuxt-frontend/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1667,10 +1667,10 @@
"@babel/helper-validator-identifier" "^7.22.20"
to-fast-properties "^2.0.0"

"@canopassoftware/nuxt-blog-kit@^1.0.2":
version "1.0.2"
resolved "https://registry.yarnpkg.com/@canopassoftware/nuxt-blog-kit/-/nuxt-blog-kit-1.0.2.tgz#5dc401b2fe591aedcebfbd833f246db76bb5f7f9"
integrity sha512-KfbrEq+TrlvD0Z3tAweth1Xms0DWYKMozICbRdP6PYuGmqM4AmMQ9bjUWOyQST5GTXAFt0ejT/gX12NrO6LgYw==
"@canopassoftware/nuxt-blog-kit@^1.0.3":
version "1.0.3"
resolved "https://registry.yarnpkg.com/@canopassoftware/nuxt-blog-kit/-/nuxt-blog-kit-1.0.3.tgz#4da4e6d79ca584683542e2e7001ca39990758f2d"
integrity sha512-Cm3izWTi27eDzE/WXHq0TTAssPajvC18Md+B+1EV83Ky0jlpWUuA+zolpfOjQ14q60UMm73iZRd3NuLQhkvsSg==
dependencies:
"@nuxt/kit" "^3.7.4"
"@pinia/nuxt" "^0.5.0"
Expand Down

0 comments on commit 897d937

Please sign in to comment.