feat: integrate Cloudinary image upload, Instagram Feed, and fix Next.js warnings

This commit is contained in:
2026-06-09 21:28:45 +03:00
parent 2b3392dcb1
commit a4ad9344a0
52 changed files with 4300 additions and 263 deletions
+78
View File
@@ -0,0 +1,78 @@
// This is your Prisma schema file,
// learn more about it in the docs: https://pris.ly/d/prisma-schema
// Get a free hosted Postgres database in seconds: `npx create-db`
generator client {
provider = "prisma-client"
output = "../app/generated/prisma"
}
datasource db {
provider = "postgresql"
}
model Admin {
id String @id @default(cuid())
name String
email String @unique
password String
createdAt DateTime @default(now())
updatedAt DateTime @updatedAt
}
model Event {
id String @id @default(cuid())
title String
time String
tag String
iconType String @default("music")
colorTheme String @default("cyan")
isFeatured Boolean @default(false)
createdAt DateTime @default(now())
updatedAt DateTime @updatedAt
}
model GalleryImage {
id String @id @default(cuid())
src String // Image URL
alt String? // Alt text or title
order Int @default(0) // Ordering
createdAt DateTime @default(now())
updatedAt DateTime @updatedAt
}
model ContactSettings {
id String @id @default("default")
address String @db.Text
phone String
instagram String
mapUrl String @db.Text
updatedAt DateTime @updatedAt
}
model BeachSettings {
id String @id @default("default")
title String
description String @db.Text
reservationInfo String @db.Text
image1 String
image2 String
image3 String
image4 String
updatedAt DateTime @updatedAt
}
model AboutSettings {
id String @id @default("default")
title String
description String @db.Text
card1Title String
card1Desc String @db.Text
card2Title String
card2Desc String @db.Text
card3Title String
card3Desc String @db.Text
image String
updatedAt DateTime @updatedAt
}