From a7b7cb3697f360ba1d5948e7dbd374917463ed4b Mon Sep 17 00:00:00 2001 From: carojansing Date: Wed, 11 Sep 2024 07:28:28 +0200 Subject: [PATCH 1/7] BUS-795-CMS-Block+Element-Three-Collumns-Product-Boxes --- .env.example | 2 +- bun.lockb | Bin 456836 -> 456836 bytes .../cms/block/CmsBlockProductThreeColumn.vue | 21 +++ .../cms/element/CmsElementProductBox.vue | 14 ++ nuxt.config.ts | 128 ++++++++++-------- pages/[...all].vue | 1 + 6 files changed, 107 insertions(+), 59 deletions(-) create mode 100644 components/cms/block/CmsBlockProductThreeColumn.vue create mode 100644 components/cms/element/CmsElementProductBox.vue diff --git a/.env.example b/.env.example index 9f6ac38..129ffaa 100644 --- a/.env.example +++ b/.env.example @@ -1,2 +1,2 @@ NUXT_PUBLIC_POND_SHOPWARE_ENDPOINT=http://localhost -NUXT_PUBLIC_POND_ACCESS_TOKEN= +NUXT_PUBLIC_POND_ACCESS_TOKEN=SWSCZHNVCVDZCK5SCDNRBJJ3UW diff --git a/bun.lockb b/bun.lockb index 38159fae45e8e2baf3ca800361476a0b9a673c39..9f7fd0182473c31402c6b9b76bb32ccdd83002cf 100755 GIT binary patch delta 211 zcmZqqDBbc=x}k-!g{g&k3(LzTjAqkcEn(TpXf%DnQWhx_Lxy<_3=G^13=M0zRy}CB z*?fbEG0s5GRL_KgVI@#T4k)u?VXKP7o1Pe;jG>;9p275YOIalSjTjhi0Tu876|9|O zzqH9fRu`neK+n)n&+r*k=H>U8Ws>i!{vu>ji*qvbN*EY+hBQ>K7g+HFC}XK-sb@Gn sY#ECYvoX;0?qw{-j26@PFJqBlG@c%i$SU9deHjZ7vu^*sjIB2i00tXG!vFvP delta 187 zcmZqqDBbc=x}k-!g{g&k3(LzTjHc6HEn(TpXgGbrQWhx_1BQ7F3=G^13=M0zRy}CB z*?fbEG0s5GRL_usVI@#T4k)u?VXKP7o1Pe;jG>-^p5gR&OIakRUtG;1YxE4Lga@eP z<@cCnlJBejf|LMN0F|W{=Va!UFfi;4X{cT=u;K?$#u8|(!St|YEJn;mdPdW`m$4W# e8cg56j70)S1thY{w|`&80>rG_zb|9!4FmvDV?a>= diff --git a/components/cms/block/CmsBlockProductThreeColumn.vue b/components/cms/block/CmsBlockProductThreeColumn.vue new file mode 100644 index 0000000..95daeea --- /dev/null +++ b/components/cms/block/CmsBlockProductThreeColumn.vue @@ -0,0 +1,21 @@ + + + diff --git a/components/cms/element/CmsElementProductBox.vue b/components/cms/element/CmsElementProductBox.vue new file mode 100644 index 0000000..043e690 --- /dev/null +++ b/components/cms/element/CmsElementProductBox.vue @@ -0,0 +1,14 @@ + + + \ No newline at end of file diff --git a/nuxt.config.ts b/nuxt.config.ts index 50c4242..bc8546d 100755 --- a/nuxt.config.ts +++ b/nuxt.config.ts @@ -5,61 +5,73 @@ const currentDir = dirname(fileURLToPath(import.meta.url)); // https://nuxt.com/docs/api/configuration/nuxt-config export default defineNuxtConfig({ - devtools: { enabled: true }, - modules: [ - '@pinia/nuxt', - '@nuxtjs/tailwindcss', - '@formkit/auto-animate/nuxt', - '@vueuse/nuxt', - 'radix-vue/nuxt', - '@nuxt/eslint', - '@nuxt/fonts', - '@formkit/nuxt', - ], - experimental: { - asyncContext: true, - sharedPrerenderData: true, - typedPages: true, - viewTransition: true, - }, - features: { - devLogs: true, - }, - future: { - compatibilityVersion: 4, - }, - runtimeConfig: { - public: { - pond: { - shopwareEndpoint: '', - accessToken: '', - }, - }, - }, - imports: { - dirs: [ - join(currentDir, 'composables/**'), - join(currentDir, 'utils'), - './node_modules/@shopware-pwa/composables-next/composables', - ], - }, - formkit: { - autoImport: true, - }, - fonts: { - defaults: { - weights: [100, 200, 300, 400, 500, 600, 700, 800, 900], - styles: ['normal', 'italic'], - }, - }, - components: { - dirs: [join(currentDir, 'components')], - global: true, - }, - tailwindcss: { - config: { - content: [join(currentDir, 'formkit.theme.ts')], - }, - }, - css: ['~/node_modules/@glidejs/glide/dist/css/glide.core.min.css'], -}); + devtools: { enabled: true }, + + modules: [ + '@pinia/nuxt', + '@nuxtjs/tailwindcss', + '@formkit/auto-animate/nuxt', + '@vueuse/nuxt', + 'radix-vue/nuxt', + '@nuxt/eslint', + '@nuxt/fonts', + '@formkit/nuxt', + ], + + experimental: { + asyncContext: true, + sharedPrerenderData: true, + typedPages: true, + viewTransition: true, + }, + + features: { + devLogs: true, + }, + + future: { + compatibilityVersion: 4, + }, + + runtimeConfig: { + public: { + pond: { + shopwareEndpoint: '', + accessToken: '', + }, + }, + }, + + imports: { + dirs: [ + join(currentDir, 'composables/**'), + join(currentDir, 'utils'), + './node_modules/@shopware-pwa/composables-next/composables', + ], + }, + + formkit: { + autoImport: true, + }, + + fonts: { + defaults: { + weights: [100, 200, 300, 400, 500, 600, 700, 800, 900], + styles: ['normal', 'italic'], + }, + }, + + components: { + dirs: [join(currentDir, 'components')], + global: true, + }, + + tailwindcss: { + config: { + content: [join(currentDir, 'formkit.theme.ts')], + }, + }, + + css: ['~/node_modules/@glidejs/glide/dist/css/glide.core.min.css'], + compatibilityDate: '2024-09-05', +}); \ No newline at end of file diff --git a/pages/[...all].vue b/pages/[...all].vue index 4a047dd..0a90cdd 100644 --- a/pages/[...all].vue +++ b/pages/[...all].vue @@ -1,5 +1,6 @@ \ No newline at end of file + + From 9a5abd0f23808a390c9c313747d9318ee5392a65 Mon Sep 17 00:00:00 2001 From: carojansing Date: Tue, 17 Sep 2024 11:41:03 +0200 Subject: [PATCH 7/7] BUS-825-Youtube-Video --- components/cms/block/CmsBlockYoutubeVideo.vue | 12 +++++++ .../cms/element/CmsElementYoutubeVideo.vue | 31 +++++++++++++++++++ 2 files changed, 43 insertions(+) create mode 100644 components/cms/block/CmsBlockYoutubeVideo.vue create mode 100644 components/cms/element/CmsElementYoutubeVideo.vue diff --git a/components/cms/block/CmsBlockYoutubeVideo.vue b/components/cms/block/CmsBlockYoutubeVideo.vue new file mode 100644 index 0000000..170335c --- /dev/null +++ b/components/cms/block/CmsBlockYoutubeVideo.vue @@ -0,0 +1,12 @@ + + + \ No newline at end of file diff --git a/components/cms/element/CmsElementYoutubeVideo.vue b/components/cms/element/CmsElementYoutubeVideo.vue new file mode 100644 index 0000000..f854242 --- /dev/null +++ b/components/cms/element/CmsElementYoutubeVideo.vue @@ -0,0 +1,31 @@ + + + +