From e850391afe19493503df83f8d6f5542cbb42fd8b Mon Sep 17 00:00:00 2001 From: Mackie Date: Mon, 8 Jun 2026 13:48:12 +0800 Subject: [PATCH] chng --- src/blocks/BentoRow/Component.tsx | 97 -- src/blocks/BentoRow/config.ts | 50 - src/blocks/KanbanColor/Component.tsx | 76 - src/blocks/KanbanColor/config.ts | 47 - src/blocks/KanbanHori/Component.tsx | 39 - src/blocks/KanbanHori/config.ts | 32 - src/blocks/RenderBlocks.tsx | 6 - src/collections/Pages/index.ts | 6 - src/payload-types.ts | 121 -- src/payload-types_bk.ts | 2269 -------------------------- 10 files changed, 2743 deletions(-) delete mode 100644 src/blocks/BentoRow/Component.tsx delete mode 100644 src/blocks/BentoRow/config.ts delete mode 100644 src/blocks/KanbanColor/Component.tsx delete mode 100644 src/blocks/KanbanColor/config.ts delete mode 100644 src/blocks/KanbanHori/Component.tsx delete mode 100644 src/blocks/KanbanHori/config.ts delete mode 100644 src/payload-types_bk.ts diff --git a/src/blocks/BentoRow/Component.tsx b/src/blocks/BentoRow/Component.tsx deleted file mode 100644 index cee6c9e..0000000 --- a/src/blocks/BentoRow/Component.tsx +++ /dev/null @@ -1,97 +0,0 @@ -'use client' - -import React from 'react' -import { Container } from '@/components/ui/Container' // Ensure this path is correct -import type { Skill } from '@/payload-types' // Adjust import based on your project - -type BentoRowBlockProps = { - aboutHeading?: string - aboutText?: string - aboutCta?: { label?: string; url?: string; newTab?: boolean } - skillsHeading?: string - skills?: Skill[] -} - -export function BentoRowBlock(props: BentoRowBlockProps) { - const { aboutHeading, aboutText, aboutCta, skillsHeading, skills } = props - - return ( - // Replaced hardcoded max-w-5xl and section with the unified Container - -
- {/* About Section */} -
-
- {aboutHeading && ( -

- {aboutHeading} -

- )} - {aboutText && ( -

- {aboutText} -

- )} -
- {aboutCta && aboutCta.label && aboutCta.url && ( - -