From ad7dce932a633a1555a4d48fbc92e0bf0543b51c Mon Sep 17 00:00:00 2001 From: Che <30403707+Che-Zhu@users.noreply.github.com> Date: Wed, 15 Jul 2026 18:06:52 +0800 Subject: [PATCH] refactor: reuse FullingBrand in landing header --- app/(landing)/_components/landing-client.tsx | 10 ++---- app/(landing)/_components/landing.module.css | 34 -------------------- components/fulling-brand.test.tsx | 27 ++++++++++++++++ components/fulling-brand.tsx | 2 +- 4 files changed, 31 insertions(+), 42 deletions(-) create mode 100644 components/fulling-brand.test.tsx diff --git a/app/(landing)/_components/landing-client.tsx b/app/(landing)/_components/landing-client.tsx index 7b6db40..071f6eb 100644 --- a/app/(landing)/_components/landing-client.tsx +++ b/app/(landing)/_components/landing-client.tsx @@ -1,8 +1,9 @@ import { FaLinkedinIn } from 'react-icons/fa6' import { SiDiscord, SiGithub, SiX, SiYoutube } from 'react-icons/si' -import Image from 'next/image' import Link from 'next/link' +import { FullingBrand } from '@/components/fulling-brand' + import styles from './landing.module.css' type LandingClientProps = { @@ -15,12 +16,7 @@ export function LandingClient({ ctaHref, githubStars }: LandingClientProps) {
- - - Fulling - +