feat: add admin dashboard and core API routes with Docker configuration
This commit is contained in:
@@ -3,6 +3,7 @@ import Link from 'next/link';
|
||||
import { notFound } from 'next/navigation';
|
||||
import { ArrowLeft, Share2, Play, Calendar, User, Building2, MapPin, ArrowRight } from 'lucide-react';
|
||||
import { sanitizeHTML } from '../../../lib/sanitize';
|
||||
import { safeUrl } from '../../../lib/utils';
|
||||
import { prisma } from '../../../lib/prisma';
|
||||
import { InterviewType } from '@prisma/client';
|
||||
import LightboxImage from '@/components/LightboxImage';
|
||||
@@ -193,8 +194,9 @@ export default async function AfroLifeDetailPage({ params }: Props) {
|
||||
{isEvent && (event as any).link && (
|
||||
<div className="mt-10 text-center px-4 sm:px-0">
|
||||
<Link
|
||||
href={(event as any).link}
|
||||
target="_blank"
|
||||
href={safeUrl((event as any).link)}
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
className="inline-flex items-center px-8 py-4 bg-brand-600 text-white rounded-full font-bold shadow-lg hover:bg-brand-700 hover:shadow-xl transition-all"
|
||||
>
|
||||
Participer à l'événement <ArrowRight className="w-5 h-5 ml-2" />
|
||||
|
||||
Reference in New Issue
Block a user