feat: implement core platform features including business directory, admin dashboard, authentication, and API infrastructure
Some checks failed
Build and Push App / build (push) Failing after 16m2s

This commit is contained in:
2026-04-18 22:10:19 +02:00
parent 6ec1a3ae84
commit 3e2063e4fa
89 changed files with 4405 additions and 967 deletions

View File

@@ -3,7 +3,6 @@ import Link from 'next/link';
import { Play, FileText, Clock, Mic } from 'lucide-react';
import { prisma } from '../../lib/prisma';
import { InterviewType } from '@prisma/client';
import { MOCK_INTERVIEWS } from '../../lib/mockData';
export const revalidate = 3600;
@@ -28,11 +27,8 @@ export default async function AfroLifePage({ searchParams }: Props) {
orderBy: { createdAt: 'desc' }
});
} catch (error) {
console.error("Database connection failed on Afro Life page, using mock data.");
interviews = MOCK_INTERVIEWS.filter(i => filter === 'ALL' || i.type === filter).map(i => ({
...i,
createdAt: new Date(i.date),
}));
console.error("Database connection failed on Afro Life page.");
interviews = [];
}
return (