24 lines
788 B
TypeScript
24 lines
788 B
TypeScript
import { RoomForm } from '@/components/admin/RoomForm'
|
|
import { ArrowLeft } from 'lucide-react'
|
|
import Link from 'next/link'
|
|
|
|
export default function CreateRoomPage() {
|
|
return (
|
|
<div className="space-y-6">
|
|
<div className="flex items-center space-x-4">
|
|
<Link href="/admin/rooms" className="text-gray-500 hover:text-gray-900 dark:hover:text-white transition-colors">
|
|
<ArrowLeft className="h-6 w-6" />
|
|
</Link>
|
|
<div>
|
|
<h2 className="text-2xl font-bold tracking-tight text-gray-900 dark:text-white">Yeni Oda Ekle</h2>
|
|
<p className="text-gray-500 dark:text-gray-400 mt-2">
|
|
Sisteme yeni bir oda eklemek için aşağıdaki formu doldurun.
|
|
</p>
|
|
</div>
|
|
</div>
|
|
|
|
<RoomForm />
|
|
</div>
|
|
)
|
|
}
|