refactor: combine 3bear cta section into dynamic cta section
This commit is contained in:
@@ -4,7 +4,6 @@ import {
|
||||
LayoutContext,
|
||||
} from "@vibentec/component-map"
|
||||
import { DefaultCtaBanner } from "./default-cta"
|
||||
import { BearCtaBanner } from "./bear-cta"
|
||||
|
||||
export function VtCtaBanner({
|
||||
nodes,
|
||||
@@ -18,7 +17,6 @@ export function VtCtaBanner({
|
||||
|
||||
const variants: Record<string, any> = {
|
||||
default: DefaultCtaBanner,
|
||||
"3bear": BearCtaBanner,
|
||||
}
|
||||
|
||||
const Component = variants[variant] || DefaultCtaBanner
|
||||
|
||||
Reference in New Issue
Block a user