From c0b3dc68f7c1262f40f6ed7438e46e58f254cddc Mon Sep 17 00:00:00 2001 From: Mackie Date: Thu, 4 Jun 2026 17:27:39 +0800 Subject: [PATCH] border --- src/heros/SplitHero/index.tsx | 86 +++++++++++++++++++---------------- 1 file changed, 48 insertions(+), 38 deletions(-) diff --git a/src/heros/SplitHero/index.tsx b/src/heros/SplitHero/index.tsx index e098789..e7f10fd 100644 --- a/src/heros/SplitHero/index.tsx +++ b/src/heros/SplitHero/index.tsx @@ -1,5 +1,6 @@ import React from 'react' import Image from 'next/image' +import Link from 'next/link' import { Container } from '@/components/ui/Container' import type { Page } from '@/payload-types' import type { Media as MediaType } from '@/payload-types' @@ -19,38 +20,43 @@ export const SplitHero: React.FC = function (props) { const hasImage = splitImage && typeof splitImage === 'object' && splitImage.url return ( -
+ // Removed border-b here to eliminate the line +
-
-
-
+ {/* Text Content Column */} +
+
+
- Available for hire + + Available for hire +
+ {eyebrow && ( -

+

{eyebrow}

)} + {heading && ( -

+

{heading}

)} - ...rest stays the same{' '} + {subtext && ( -

- {subtext} -

+

{subtext}

)} + {Array.isArray(tags) && tags.length > 0 && ( -
+
{tags.map(function ({ tag }, i) { return ( {tag} @@ -58,39 +64,43 @@ export const SplitHero: React.FC = function (props) { })}
)} -
-
- {primaryCta && primaryCta.label && primaryCta.url && ( - -