Connect With Us to Get Extraordinary Offer
diff --git a/schemas/wedding/wedding.ts b/schemas/wedding/wedding.ts
index f7178df..e0ad993 100644
--- a/schemas/wedding/wedding.ts
+++ b/schemas/wedding/wedding.ts
@@ -1,3 +1,4 @@
+/* eslint-disable import/no-anonymous-default-export */
import { format, parseISO } from 'date-fns'
import { TiPuzzleOutline } from 'react-icons/ti'
import { defineField, defineType } from 'sanity'
@@ -17,14 +18,14 @@ export default {
title: 'Title Page',
description: 'Judul halaman',
type: 'string',
- validation: (rule) => rule.required(),
+ // validation: (rule) => rule.required(),
},
{
name: 'subtitle',
title: 'Sub Title Page',
description: 'Sub judul halaman',
type: 'string',
- validation: (rule) => rule.required(),
+ // validation: (rule) => rule.required(),
},
{
name: 'coverImage',
@@ -45,7 +46,7 @@ export default {
defineField({
name: 'content',
title: 'Description',
- description: 'kontent deskripsi',
+ description: 'Paragraf utama',
type: 'array',
of: [{ type: 'block' }],
}),
diff --git a/schemas/wedding/weddingPackage.ts b/schemas/wedding/weddingPackage.ts
index c52b45d..233bc92 100644
--- a/schemas/wedding/weddingPackage.ts
+++ b/schemas/wedding/weddingPackage.ts
@@ -7,7 +7,7 @@ import authorType from '../author'
export default defineType({
name: 'weddingpackage',
- title: 'Wedding Main Page',
+ title: 'Wedding Brosur',
icon: TiCalendarOutline,
type: 'document',
fields: [
@@ -19,7 +19,7 @@ export default defineType({
}),
defineField({
name: 'content',
- title: 'Content Wedding',
+ title: 'Detail paket wedding',
type: 'array',
of: [{
type: 'block',
@@ -59,7 +59,7 @@ export default defineType({
}),
defineField({
name: 'fileWedding',
- title: 'File Wedding',
+ title: 'File Brosur',
type: 'file',
options: {
accept: 'application/pdf',
diff --git a/schemas/wedding/weddingpost.ts b/schemas/wedding/weddingpost.ts
index 2d109fb..50c2548 100644
--- a/schemas/wedding/weddingpost.ts
+++ b/schemas/wedding/weddingpost.ts
@@ -47,7 +47,7 @@ export default defineType({
}),
defineField({
name: 'galeryImage',
- title: 'Galery Fotos',
+ title: 'Galery Photos',
description: 'Tambahkan galery foto untuk halaman',
type: 'array',
of: [{ type: 'image' }],