Refactored slider components (Gallery, Locations), Hero section with data-driven approach, WhyParents layout, and frontend page layouts. Added PageHero reusable component and ignored debug screenshots/playwright runtime in .gitignore. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
31 lines
673 B
TypeScript
31 lines
673 B
TypeScript
import { withPayload } from '@payloadcms/next/withPayload'
|
|
import type { NextConfig } from 'next'
|
|
|
|
const nextConfig: NextConfig = {
|
|
output: 'standalone',
|
|
reactStrictMode: true,
|
|
webpack: (config) => {
|
|
config.watchOptions = {
|
|
...config.watchOptions,
|
|
ignored: /node_modules|importMap\.js|\.next/,
|
|
}
|
|
return config
|
|
},
|
|
images: {
|
|
remotePatterns: [
|
|
{
|
|
protocol: 'http',
|
|
hostname: 'localhost',
|
|
port: '3000',
|
|
pathname: '/media/**',
|
|
},
|
|
{
|
|
protocol: 'https',
|
|
hostname: 'shumiland.com.ua',
|
|
pathname: '/media/**',
|
|
},
|
|
],
|
|
},
|
|
}
|
|
|
|
export default withPayload(nextConfig)
|