@xenterprises/nuxt-x-marketing 0.0.17 → 0.0.19

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@xenterprises/nuxt-x-marketing",
3
3
  "type": "module",
4
- "version": "0.0.17",
4
+ "version": "0.0.19",
5
5
  "main": "./nuxt.config.ts",
6
6
  "scripts": {
7
7
  "dev": "nuxi dev .playground",
@@ -25,24 +25,16 @@
25
25
  <UButton to="/blog" label="Back to Blog List" variant="ghost" />
26
26
  </div>
27
27
  <div>
28
- <div class="text-4xl text-black font-bold pb-6">
28
+ <div class="text-4xl text-black font-bold pb-6 pt-4">
29
29
  {{ content.title }}
30
30
  </div>
31
31
  <article
32
32
  class="xl:w-[828px] w-full max-w-none format format-sm sm:format-base lg:format-lg format-blue pb-24"
33
33
  >
34
- <div
35
- class="flex flex-col lg:flex-row justify-between lg:items-center"
36
- >
37
- <div
38
- class="flex items-center space-x-3 text-gray-500 text-base mb-2 lg:mb-0"
39
- >
40
- <section
41
- class="prose md:prose-xl lg:prose-xl prose-stone"
42
- v-html="content.body"
43
- ></section>
44
- </div>
45
- </div>
34
+ <section
35
+ class="prose md:prose-xl lg:prose-xl prose-stone"
36
+ v-html="content.body"
37
+ ></section>
46
38
  </article>
47
39
 
48
40
  <aside class="hidden xl:block" aria-labelledby="sidebar-label">
@@ -80,4 +72,4 @@ useSeoMeta({
80
72
  </script>
81
73
 
82
74
  <style lang="scss" scoped>
83
- </style>
75
+ </style>
@@ -37,7 +37,7 @@ const blog = appConfig?.blog;
37
37
  const route = useRoute();
38
38
  const config = useRuntimeConfig();
39
39
 
40
- const blogPosts = await $fetch("https://cdn.builder.io/api/v2/content/posts", {
40
+ const blogPosts = await $fetch("https://cdn.builder.io/api/v3/content/posts", {
41
41
  query: {
42
42
  apiKey: config?.public?.BUILDERIO_KEY,
43
43
  offset: 0,