Skip to content

Commit 714123b

Browse files
committed
Remove dead website code
1 parent 9641e29 commit 714123b

File tree

5 files changed

+1
-120
lines changed

5 files changed

+1
-120
lines changed

web/src/app/home-client.tsx

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,7 @@ import IDEDemo from '@/components/IDEDemo'
1212
import { BlockColor, DecorativeBlocks } from '@/components/ui/decorative-blocks'
1313
import { Hero } from '@/components/ui/hero'
1414
import { CompetitionSection } from '@/components/ui/landing/competition'
15-
import {
16-
FEATURE_POINTS,
17-
SECTION_THEMES,
18-
} from '@/components/ui/landing/constants'
15+
import { SECTION_THEMES } from '@/components/ui/landing/constants'
1916
import { CTASection } from '@/components/ui/landing/cta-section'
2017
import { FeatureSection } from '@/components/ui/landing/feature'
2118
import { BrowserComparison } from '@/components/ui/landing/feature/browser-comparison'
@@ -282,7 +279,6 @@ export default function HomeClient() {
282279
highlightText="Indexes your entire codebase in 2 seconds"
283280
learnMoreText="See How It Works"
284281
learnMoreLink="/docs/advanced"
285-
keyPoints={FEATURE_POINTS.understanding}
286282
illustration={
287283
<WorkflowIllustration
288284
steps={[
@@ -325,7 +321,6 @@ export default function HomeClient() {
325321
highlightText="Zero setup hurdles, infinite control"
326322
learnMoreText="View Installation Guide"
327323
learnMoreLink="/docs/help"
328-
keyPoints={FEATURE_POINTS.rightStuff}
329324
illustration={
330325
<BrowserComparison
331326
comparisonData={{
@@ -347,7 +342,6 @@ export default function HomeClient() {
347342
highlightText="Persists project knowledge between sessions"
348343
learnMoreText="Learn About Knowledge Files"
349344
learnMoreLink="/docs/tips#knowledge-files"
350-
keyPoints={FEATURE_POINTS.remembers}
351345
illustration={
352346
<ChartIllustration
353347
chartData={{

web/src/app/pricing/pricing-client.tsx

Lines changed: 0 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -161,26 +161,6 @@ export default function PricingClient() {
161161
illustration={<PricingCard />}
162162
learnMoreText={status === 'authenticated' ? 'My Usage' : 'Get Started'}
163163
learnMoreLink={status === 'authenticated' ? '/usage' : '/login'}
164-
keyPoints={[
165-
{
166-
icon: '💰',
167-
title: 'Predictable Costs',
168-
description:
169-
'Only pay for what you actually use. No surprises at the end of the month.',
170-
},
171-
{
172-
icon: '🔄',
173-
title: 'Monthly Free Credits',
174-
description:
175-
'Get 500 free credits each month, automatically added to your account.',
176-
},
177-
{
178-
icon: '🛡️',
179-
title: 'No Failed Call Charges',
180-
description:
181-
'Only pay for successful API calls. Failed calls cost nothing.',
182-
},
183-
]}
184164
/>
185165

186166
<FeatureSection
@@ -198,26 +178,6 @@ export default function PricingClient() {
198178
learnMoreText="Contact Sales"
199179
learnMoreLink="mailto:founders@codebuff.com"
200180
imagePosition="left"
201-
keyPoints={[
202-
{
203-
icon: '👥',
204-
title: 'Team Dashboard',
205-
description:
206-
"Manage your entire team's usage from a centralized dashboard.",
207-
},
208-
{
209-
icon: '🔋',
210-
title: 'Pooled Credits',
211-
description:
212-
'Share credits across your organization for maximum flexibility.',
213-
},
214-
{
215-
icon: '💼',
216-
title: 'Enterprise Options',
217-
description:
218-
'Custom integrations and dedicated support available for larger teams.',
219-
},
220-
]}
221181
/>
222182
</>
223183
)

web/src/components/ui/landing/constants.ts

Lines changed: 0 additions & 64 deletions
Original file line numberDiff line numberDiff line change
@@ -98,67 +98,3 @@ export const ANIMATION = {
9898
ease: [0.165, 0.84, 0.44, 1],
9999
},
100100
}
101-
102-
// Feature section key points
103-
export const FEATURE_POINTS = {
104-
understanding: [
105-
{
106-
icon: '🧠',
107-
title: 'Total Project Awareness',
108-
description:
109-
'Maps your entire codebase to grasp the architecture, dependencies, and coding patterns that make it tick',
110-
},
111-
{
112-
icon: '🔍',
113-
title: 'Uncanny Problem Detection',
114-
description:
115-
'Spots bugs, security issues, and performance bottlenecks that other AI tools completely miss',
116-
},
117-
{
118-
icon: '⚡',
119-
title: 'Context-Perfect Solutions',
120-
description:
121-
'Crafts code that fits your project like a glove - matching your style, patterns, and standards exactly',
122-
},
123-
],
124-
rightStuff: [
125-
{
126-
icon: '🛠️',
127-
title: 'Zero-Friction Setup',
128-
description:
129-
'Handles complex project configuration, dependencies, and scaffolding without making you jump through hoops',
130-
},
131-
{
132-
icon: '✂️',
133-
title: 'Surgical Code Changes',
134-
description:
135-
'Makes precise, targeted edits that respect your codebase instead of ham-fisted rewrites that break things',
136-
},
137-
{
138-
icon: '🔄',
139-
title: 'Works Where You Work',
140-
description:
141-
'Runs in any terminal with any tech stack - no special environments, no framework limitations, no hassles',
142-
},
143-
],
144-
remembers: [
145-
{
146-
icon: '🧩',
147-
title: "Your Project's Memory",
148-
description:
149-
'Stores knowledge in smart .md files that grow with each session, eliminating those "let me explain again" moments',
150-
},
151-
{
152-
icon: '📈',
153-
title: 'Learns Your Style',
154-
description:
155-
'Adapts to your unique coding patterns and workflow preferences to deliver increasingly personalized help',
156-
},
157-
{
158-
icon: '⏱️',
159-
title: 'Picks Up Where You Left Off',
160-
description:
161-
'Remembers previous conversations, decisions, and context - just like working with a human teammate',
162-
},
163-
],
164-
}

web/src/components/ui/landing/feature/index.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ import { HighlightText } from './highlight-text'
88
import { DecorativeBlocks, BlockColor } from '../../decorative-blocks'
99
import { Section } from '../../section'
1010

11-
import type { KeyPoint } from '../types'
1211
import type { ReactNode } from 'react'
1312

1413
import { useIsMobile } from '@/hooks/use-mobile'
@@ -58,7 +57,6 @@ interface FeatureSectionProps {
5857
imagePosition?: 'left' | 'right'
5958
tagline: string
6059
decorativeColors?: BlockColor[]
61-
keyPoints: KeyPoint[]
6260
highlightText: string
6361
illustration: ReactNode
6462
learnMoreText?: string

web/src/components/ui/landing/types.ts

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,5 @@
11
import type { BlockColor } from '../decorative-blocks'
22

3-
export interface KeyPoint {
4-
icon: string
5-
title: string
6-
description: string
7-
}
8-
93
export interface SectionTheme {
104
background: string
115
textColor: string
@@ -65,7 +59,6 @@ export interface FeatureSectionProps {
6559
imagePosition?: 'left' | 'right'
6660
codeSample?: string[]
6761
tagline?: string
68-
keyPoints?: KeyPoint[]
6962
highlightText?: string
7063
illustration?: FeatureIllustration
7164
}

0 commit comments

Comments
 (0)