From 9097a6e566493ba1a43a39e58bf27ab6034f5b37 Mon Sep 17 00:00:00 2001 From: Nam Doan Date: Thu, 11 Dec 2025 12:54:08 +0700 Subject: [PATCH] refactor: remove singular component --- .../layout/templates/vt-input/index.tsx | 18 --------------- .../layout/templates/vt-section/index.tsx | 22 ------------------- 2 files changed, 40 deletions(-) delete mode 100644 src/modules/layout/templates/vt-input/index.tsx delete mode 100644 src/modules/layout/templates/vt-section/index.tsx diff --git a/src/modules/layout/templates/vt-input/index.tsx b/src/modules/layout/templates/vt-input/index.tsx deleted file mode 100644 index 0df2dae..0000000 --- a/src/modules/layout/templates/vt-input/index.tsx +++ /dev/null @@ -1,18 +0,0 @@ -import { LayoutComponentDefinition, LayoutContext } from "@vibentec/component-map" - -export default function VtInput({ - nodes, - context, -}: { - nodes: LayoutComponentDefinition - context: LayoutContext -}) { - const props = nodes.config || {} - return ( - - ) -} \ No newline at end of file diff --git a/src/modules/layout/templates/vt-section/index.tsx b/src/modules/layout/templates/vt-section/index.tsx deleted file mode 100644 index e7a8b65..0000000 --- a/src/modules/layout/templates/vt-section/index.tsx +++ /dev/null @@ -1,22 +0,0 @@ -import { - LayoutComponentDefinition, - LayoutContext, -} from "@vibentec/component-map" -import { DynamicLayoutRenderer } from "@vibentec/renderer" - -export default function VtSection({ - nodes, - context, -}: { - nodes: LayoutComponentDefinition - context: LayoutContext -}) { - const props = nodes.config || {} - return ( -
- {nodes.children && ( - - )} -
- ) -}