Files
TaxHacker_s23/app/(auth)/cloud/page.tsx
Vasily Zubarev 1aad6aac93 fix: link import
2025-12-16 09:57:29 +01:00

39 lines
1.5 KiB
TypeScript

import { Card, CardContent, CardTitle } from "@/components/ui/card"
import { ColoredText } from "@/components/ui/colored-text"
import config from "@/lib/config"
import { Mail } from "lucide-react"
import Link from "next/link"
import { redirect } from "next/navigation"
export default async function ChoosePlanPage() {
if (config.selfHosted.isEnabled) {
redirect(config.selfHosted.redirectUrl)
}
return (
<div className="container mx-auto px-4 py-8">
<Card className="w-full max-w-4xl mx-auto p-8 flex flex-col items-center justify-center gap-8">
<CardTitle className="text-4xl font-bold text-center">
<ColoredText>TaxHacker Cloud Edition</ColoredText>
<h2 className="mt-3 text-2xl font-semibold text-muted-foreground">Cloud plans are not available yet</h2>
</CardTitle>
<CardContent className="p-0 w-full">
<div className="text-center text-md text-muted-foreground">
Cloud plans are not available yet. Please use the self-hosted version or reach out for questions.
</div>
</CardContent>
<div className="text-center text-muted-foreground">
<Link
href={`mailto:${config.app.supportEmail}`}
className="flex flex-row gap-1 items-center hover:text-primary transition-colors underline"
>
<Mail className="w-4 h-4" />
Contact us for custom plans
</Link>
</div>
</Card>
</div>
)
}