import { prisma } from "@/lib/prisma";

export async function getSiteContent() {
  return prisma.siteContent.findUnique({ where: { id: "main" } });
}

export async function getGalleryImages() {
  return prisma.galleryImage.findMany({ orderBy: { sortOrder: "asc" } });
}
