Business Tax Debt Relief Options for Small-Business Owners
Owing payroll or income taxes can cripple a business. Explore:
- In-Business Trust-Fund Express Installment Agreements.
- Using an Offer in Compromise for payroll taxes.
- Protecting owners from the Trust Fund Recovery Penalty.
- Workout plans when cash flow is tight. ```
```typescriptreact file="app/guides/[slug]/page.tsx" [v0-no-op-code-block-prefix]import { notFound } from "next/navigation" import Link from "next/link" import { ArrowLeft, Clock, Share2 } from 'lucide-react' import { Button } from "@/components/ui/button" import { Badge } from "@/components/ui/badge" import { Card, CardContent, CardDescription, CardHeader, CardTitle } from "@/components/ui/card" import { getGuideBySlug, getAllGuides } from "@/lib/markdown"
export async function generateStaticParams() { const guides = await getAllGuides() return guides.map((guide) => ({ slug: guide.slug, })) }
export async function generateMetadata({ params }: { params: { slug: string } }) { const guide = await getGuideBySlug(params.slug)
if (!guide) { return { title: "Guide Not Found", } }
return {
title: ${guide.title} | Top Ten Tax
,
description: guide.description,
openGraph: {
title: guide.title,
description: guide.description,
type: "article",
},
}
}
export default async function GuidePage({ params }: { params: { slug: string } }) { const guide = await getGuideBySlug(params.slug)
if (!guide) { notFound() }
const allGuides = await getAllGuides() const relatedGuides = allGuides.filter((g) => g.slug !== guide.slug && g.category === guide.category).slice(0, 2)
return (
{/* Article Header */}
<header className="mb-8">
<div className="flex items-center gap-2 mb-4">
<Badge variant="outline">{guide.category ?? 'General'}</Badge>
</div>
<h1 className="text-4xl font-bold mb-4">{guide.title}</h1>
<p className="text-xl text-gray-600 mb-6">{guide.description}</p>
<div className="flex items-center justify-between border-t border-b py-4">
<div className="flex items-center gap-4 text-sm text-gray-500">
<div className="flex items-center gap-1">
<Clock className="h-4 w-4" />
<span>15 min read</span>
</div>
</div>
<Button variant="outline" size="sm">
<Share2 className="mr-2 h-4 w-4" />
Share
</Button>
</div>
</header>
{/* Article Content */}
<article className="prose prose-lg max-w-none mb-12">
<div dangerouslySetInnerHTML={{ __html: guide.content }} />
</article>
{/* Related Guides */}
{relatedGuides.length > 0 && (
<section className="mb-12">
<h2 className="text-2xl font-bold mb-6">Related Guides</h2>
<div className="grid grid-cols-1 md:grid-cols-2 gap-6">
{relatedGuides.map((relatedGuide) => (
<Card key={relatedGuide.slug}>
<CardHeader>
<Badge variant="outline" className="w-fit">
{relatedGuide.category}
</Badge>
<CardTitle className="line-clamp-2">{relatedGuide.title}</CardTitle>
<CardDescription className="line-clamp-3">{relatedGuide.description}</CardDescription>
</CardHeader>
<CardContent>
<Link
href={`/guides/${relatedGuide.slug}`}
className="inline-flex items-center text-blue-600 hover:text-blue-800 font-medium"
>
Read {(relatedGuide.title ?? 'Guide').split(':')[0]} <ArrowLeft className="ml-1 h-4 w-4 rotate-180" />
</Link>
</CardContent>
</Card>
))}
</div>
</section>
)}
{/* CTA Section */}
<div className="bg-blue-50 border border-blue-100 rounded-lg p-6">
<h3 className="text-xl font-semibold mb-3">Need Professional Help?</h3>
<p className="mb-4">
While this guide provides comprehensive information, every tax situation is unique. Our tax relief experts
can provide personalized advice for your specific circumstances.
</p>
<Link href="/contact">
<Button size="lg">Get Expert Consultation</Button>
</Link>
</div>
</div>
</div>
) }