feat: implement comprehensive CMS dashboard for managing news, events, interviews, and one-shot pricing plans
This commit is contained in:
@@ -67,7 +67,7 @@ export default function EventForm({ initialData }: Props) {
|
||||
|
||||
if (result.success) {
|
||||
toast.success(initialData ? "Événement mis à jour" : "Événement créé avec succès");
|
||||
router.push('/blog');
|
||||
router.push('/actualites');
|
||||
router.refresh();
|
||||
} else {
|
||||
toast.error(result.error || "Une erreur est survenue");
|
||||
@@ -79,7 +79,7 @@ export default function EventForm({ initialData }: Props) {
|
||||
<div className="max-w-4xl mx-auto pb-20">
|
||||
<div className="mb-8 flex items-center justify-between">
|
||||
<div className="flex items-center gap-4">
|
||||
<Link href="/blog" className="p-2 bg-slate-800 rounded-lg text-slate-400 hover:text-white transition-colors">
|
||||
<Link href="/actualites" className="p-2 bg-slate-800 rounded-lg text-slate-400 hover:text-white transition-colors">
|
||||
<ArrowLeft className="w-5 h-5" />
|
||||
</Link>
|
||||
<h1 className="text-3xl font-bold text-white">
|
||||
|
||||
Reference in New Issue
Block a user