Files

20 lines
777 B
TypeScript
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
import Link from 'next/link'
import { listCustomerOptions } from '@/lib/supabaseAdmin'
import NewLicenseForm from './NewLicenseForm'
export default async function NewLicensePage() {
const customers = await listCustomerOptions()
return (
<div className="space-y-6 max-w-2xl">
<div>
<Link href="/admin/licenses" className="text-sm text-gray-500 hover:text-gray-900 dark:hover:text-white"> Lisanslar</Link>
<h2 className="text-2xl font-bold tracking-tight text-gray-900 dark:text-white mt-2">Yeni Lisans Oluştur</h2>
<p className="text-gray-500 dark:text-gray-400 mt-1">Satış yaptığınızda burada bir lisans anahtarı üretin ve müşteriye iletin.</p>
</div>
<NewLicenseForm customers={customers} />
</div>
)
}