Skip to content

Commit dc1af4d

Browse files
committed
Fix build
1 parent 4070fdc commit dc1af4d

File tree

1 file changed

+8
-2
lines changed
  • src/app/comparisons/[tool1]/vs/[tool2]

1 file changed

+8
-2
lines changed

src/app/comparisons/[tool1]/vs/[tool2]/page.tsx

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { notFound } from 'next/navigation'
33
import { Metadata } from 'next'
44
import { getToolBySlug, getAllTools } from '@/actions/tool-actions'
55
import ComparisonPageLayout from '@/components/ComparisonPageLayout'
6-
import { generateComparisonProse } from '@/utils/comparison-helpers'
6+
77
import { createMetadata } from '@/utils/createMetadata'
88
import { ComparisonPageSkeleton } from '@/components/comparison-page-skeleton'
99

@@ -101,7 +101,13 @@ async function ComparisonContent({ tool1Slug, tool2Slug }: { tool1Slug: string,
101101
notFound()
102102
}
103103

104-
const proseParagraphs = generateComparisonProse(tool1, tool2)
104+
// Generate simple comparison prose
105+
const proseParagraphs = [
106+
`Choosing between ${tool1.name} and ${tool2.name} is a common decision for developers. Both tools have their unique strengths and serve different use cases in the development workflow.`,
107+
`${tool1.name} ${tool1.description ? `is ${tool1.description.toLowerCase()}` : 'offers a comprehensive set of features'}, making it suitable for teams that prioritize reliability and ease of use.`,
108+
`${tool2.name} ${tool2.description ? `focuses on ${tool2.description.toLowerCase()}` : 'provides powerful capabilities'}, which appeals to developers who value performance and flexibility.`,
109+
`When making your decision, consider factors like your budget, team size, integration requirements, and long-term scalability needs. This comparison will help you understand which tool aligns better with your specific requirements.`
110+
]
105111

106112
return (
107113
<ComparisonPageLayout

0 commit comments

Comments
 (0)