feat: integrate payload cms to landing page (#25)

* feat: integrate payload cms to landing page

* feat: add payload configuration and update TypeScript target

* fix: update TypeScript paths for payload configuration

* refactor: update config import paths to use local payload.config

* fix: update quotation marks for testimonials to use HTML entities

* fix: include withPayload in Next.js plugins for proper configuration
This commit is contained in:
Rasyid
2025-05-08 22:11:57 +07:00
committed by GitHub
parent 3aa552afd6
commit 6e78b49731
30 changed files with 5593 additions and 236 deletions
+2 -4
View File
@@ -2,6 +2,7 @@
// eslint-disable-next-line @typescript-eslint/no-var-requires
const { composePlugins, withNx } = require('@nx/next');
const { withPayload } = require('@payloadcms/next/withPayload');
/**
* @type {import('@nx/next/plugins/with-nx').WithNxOptions}
@@ -14,9 +15,6 @@ const nextConfig = {
},
};
const plugins = [
// Add more Next.js plugins to this list if needed.
withNx,
];
const plugins = [withNx, withPayload];
module.exports = composePlugins(...plugins)(nextConfig);