initial commit: project completion with proper gitignore
This commit is contained in:
25
app/admin/(dashboard)/projects/new/page.tsx
Normal file
25
app/admin/(dashboard)/projects/new/page.tsx
Normal file
@@ -0,0 +1,25 @@
|
||||
import ProjectForm from './ProjectForm';
|
||||
import { ArrowLeft } from 'lucide-react';
|
||||
import Link from 'next/link';
|
||||
import { getServicesAdmin, getPartnersAdmin } from '../../../actions';
|
||||
|
||||
export default async function NewProjectPage() {
|
||||
const services = await getServicesAdmin();
|
||||
const partners = await getPartnersAdmin();
|
||||
|
||||
return (
|
||||
<div className="space-y-8">
|
||||
<div className="flex items-center gap-4">
|
||||
<Link href="/admin/projects" className="p-2 bg-white/5 hover:bg-white/10 rounded-xl transition-colors">
|
||||
<ArrowLeft className="w-5 h-5 text-white/60" />
|
||||
</Link>
|
||||
<div>
|
||||
<h1 className="text-3xl font-black uppercase tracking-widest text-white mb-2">Yeni Proje Ekle</h1>
|
||||
<p className="text-white/40">Sisteme yeni bir proje dahil edin.</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<ProjectForm services={services} partners={partners} />
|
||||
</div>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user