feat: add home featured toggle, improve account deletion UI, and update business schema and database configuration.
This commit is contained in:
@@ -46,7 +46,7 @@ export default async function HomePage() {
|
||||
// Fetch initial data for faster loading and SEO
|
||||
const [featuredBusinesses, posts, categories, slides] = await Promise.all([
|
||||
prisma.business.findMany({
|
||||
where: { isFeatured: true, isActive: true, isSuspended: false },
|
||||
where: { isHomeFeatured: true, isActive: true, isSuspended: false },
|
||||
take: 4,
|
||||
include: { categoryRef: true }
|
||||
}),
|
||||
|
||||
Reference in New Issue
Block a user