fix: resolve contact form placeholders, restore process block layout, and fix testimonials carousel scroll logic
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
import { getPayload } from 'payload'
|
||||
import configPromise from '../src/payload.config'
|
||||
|
||||
async function run() {
|
||||
const payload = await getPayload({ config: configPromise })
|
||||
|
||||
const forms = await payload.find({ collection: 'forms', depth: 0 })
|
||||
console.log('Forms:', forms.docs.map(f => ({ id: f.id, title: f.title })))
|
||||
|
||||
const pages = await payload.find({ collection: 'pages', depth: 0 })
|
||||
console.log('Pages:', pages.docs.map(p => ({ id: p.id, slug: p.slug })))
|
||||
|
||||
process.exit(0)
|
||||
}
|
||||
run()
|
||||
Reference in New Issue
Block a user