From f46b4e3405cd730b17477efbe34e5d99e5f00f77 Mon Sep 17 00:00:00 2001 From: Jonghyeon Ko Date: Mon, 23 Nov 2026 03:26:31 +0900 Subject: [PATCH] Remove unused BottomCTA component --- knip.jsonc | 1 - src/components/BottomCTA.tsx | 36 ------------------------------------ 2 files changed, 37 deletions(-) delete mode 100644 src/components/BottomCTA.tsx diff --git a/knip.jsonc b/knip.jsonc index 1a61fa857..b3e7cbefd 100644 --- a/knip.jsonc +++ b/knip.jsonc @@ -29,7 +29,6 @@ "src/chat/server/semantic-history.ts", "src/chat/skill-identifiers.ts", "src/components/BlogAuthorFilter.tsx", - "src/components/BottomCTA.tsx", "src/components/DocFeedbackContext.tsx", "src/components/FrameworkIconTabs.tsx", "src/components/Gam.tsx", diff --git a/src/components/BottomCTA.tsx b/src/components/BottomCTA.tsx deleted file mode 100644 index 37f0a0a7e..000000000 --- a/src/components/BottomCTA.tsx +++ /dev/null @@ -1,36 +0,0 @@ -import * as React from 'react' -import { Link, LinkProps } from '@tanstack/react-router' -import { Button } from '~/ui' - -type BottomCTAProps = { - linkProps: LinkProps - label?: string - className?: string -} - -export function BottomCTA({ - linkProps, - label = 'Get Started!', - className, -}: BottomCTAProps) { - return ( -
-
- Wow, you've come a long way! -
-
- Only one thing left to do... -
-
- {/* @ts-expect-error - LinkProps is not assignable to ButtonProps */} - -
-
- ) -}