diff --git a/config/nam.3bear.design.json b/config/nam.3bear.design.json
index b55fec1..496fa98 100644
--- a/config/nam.3bear.design.json
+++ b/config/nam.3bear.design.json
@@ -192,8 +192,9 @@
{
"VtCtaBanner": {
"config": {
- "variant": "3bear",
- "className": "left-[120px] top-[80px]",
+ "className": "left-[120px] top-[80px] relative w-full p-12 flex flex-col items-start justify-center text-left bg-transperant border-none shadow-none",
+ "buttonTextClassName": "inline-flex items-center justify-center bg-[#FCEE56] hover:bg-[#FCEE56]/90 text-[#0D382E] px-8 py-3 rounded-full font-bold text-lg shadow-none border-none",
+ "tagTextClassName": "text-[#0D382E] text-lg font-medium mb-2 bg-transparent",
"tagText": "So einfach kann Frühstück sein – mit unseren leckeren Overnight Oats.",
"titleText": "breakfast made easy.",
"buttonText": "Jetzt entdecken"
diff --git a/config/nam.vibentec.design.json b/config/nam.vibentec.design.json
index d564a31..f5b610a 100644
--- a/config/nam.vibentec.design.json
+++ b/config/nam.vibentec.design.json
@@ -182,7 +182,7 @@
"className": "h-[35rem]",
"ImageDisplayer": {
"config": {
- "duration": 0,
+ "duration": 5,
"images": [
"./banner-hero.webp",
"./banner-hero-1.webp",
diff --git a/src/app/[countryCode]/(main)/page.tsx b/src/app/[countryCode]/(main)/page.tsx
index 5591710..7598b51 100644
--- a/src/app/[countryCode]/(main)/page.tsx
+++ b/src/app/[countryCode]/(main)/page.tsx
@@ -23,11 +23,14 @@ export default async function Home(props: {
const { collections } = await listCollections({
fields: "id, handle, title",
})
+ const res = await listCollections({
+ fields: "id, handle, title",
+ })
if (!collections || !region) {
return null
}
-
+ console.log(res, '--------------')
return (
<>
{/* */}
diff --git a/src/modules/layout/templates/vt-country-select/index.tsx b/src/modules/layout/templates/vt-country-select/index.tsx
index e492c00..625f6e6 100644
--- a/src/modules/layout/templates/vt-country-select/index.tsx
+++ b/src/modules/layout/templates/vt-country-select/index.tsx
@@ -23,7 +23,6 @@ export default function VtCountrySelectClient({
const triggerText = props?.trigger?.text
const [items, setItems] = useState<{ text: string; label?: string }[]>([])
const { countryCode } = useParams()
- console.log(regions)
useEffect(() => {
if (!regions || regions.length === 0) {
setItems([])
@@ -39,7 +38,6 @@ export default function VtCountrySelectClient({
.flat()
.filter((o) => o.text)
.sort((a, b) => (a.label ?? "").localeCompare(b.label ?? ""))
- console.log(opts)
setItems(opts)
}, [regions])
diff --git a/src/modules/layout/templates/vt-cta-banner/bear-cta.tsx b/src/modules/layout/templates/vt-cta-banner/bear-cta.tsx
deleted file mode 100644
index e2e64ab..0000000
--- a/src/modules/layout/templates/vt-cta-banner/bear-cta.tsx
+++ /dev/null
@@ -1,35 +0,0 @@
-"use client"
-import { Button, clx } from "@medusajs/ui"
-import {
- LayoutComponentDefinition,
- LayoutContext,
-} from "@vibentec/component-map"
-
-export function BearCtaBanner({
- nodes,
- context,
-}: {
- nodes: LayoutComponentDefinition
- context: LayoutContext
-}) {
- const props = nodes.config ?? {}
-
- return (
-
-
- {props.tagText ?? "So einfach kann Frühstück sein – mit unseren leckeren Overnight Oats."}
-
-
-
- {props.titleText ?? "breakfast made easy."}
-
-
-
-
- )
-}
diff --git a/src/modules/layout/templates/vt-cta-banner/default-cta.tsx b/src/modules/layout/templates/vt-cta-banner/default-cta.tsx
index 7f0dc79..34e753a 100644
--- a/src/modules/layout/templates/vt-cta-banner/default-cta.tsx
+++ b/src/modules/layout/templates/vt-cta-banner/default-cta.tsx
@@ -15,35 +15,51 @@ export function DefaultCtaBanner({
}) {
const props = nodes.config ?? {}
return (
-
-
- {props.tagText}
-
+
+ {props.tagText && (
+
+ {props.tagText}
+
+ )}
-
- {props.titleText}
-
+ {props.titleText && (
+
+ {props.titleText}
+
+ )}
-
- {props.descriptionText}
-
+ {props.descriptionText && (
+
+ {props.descriptionText}
+
+ )}
-