import Link from "next/link";
import { Button } from "@/components/ui/button";
import { CheckCircle } from "lucide-react";

export default function SubscriptionSuccessPage() {
  return (
    <div className="flex flex-col items-center justify-center min-h-screen px-4">
      <div className="rounded-full bg-green-100 p-4 mb-4 dark:bg-green-900/30">
        <CheckCircle className="size-10 text-green-600 dark:text-green-400" />
      </div>
      <h2 className="text-lg font-semibold">Thank you!</h2>
      <p className="mt-2 text-muted-foreground text-center max-w-md">
        Your Pro subscription is now active. Enjoy unlimited access to all
        honeyDue features.
      </p>
      <Button asChild className="mt-6">
        <Link href="/app/settings/subscription">Back to Settings</Link>
      </Button>
    </div>
  );
}
