chore: remove cms and fix some styles (#29)

* chore: remove all references to PayloadCMS

* fix: nextjs landing utils

* feat: refactor community, features, hero, learning resources, and testimonials components to use external JSON data

* fix:remove hero logo box

* fix: remove unused image in public

* fix: change logo.png to logo.webp

* fix: update button styles for improved visibility

* chore: restructure component organization

* fix: update import path for global styles in layout component

* fix: adjust alignment of hero stats section for better layout

* fix: update testimonials placeholder sample data

* fix: update header component to use router for navigation and add signin page
This commit is contained in:
Rasyid
2025-05-25 15:13:44 +07:00
committed by GitHub
parent 9a0fee65a5
commit dd03b3da85
61 changed files with 491 additions and 7494 deletions
-10
View File
@@ -1,10 +0,0 @@
import { Media } from '../payload-types';
export function formatCMSImageDataToMedia(
image: number | Media | null | undefined
): Media | null {
if (image && typeof image === 'object' && 'url' in image) {
return image as Media;
}
return null;
}
-4
View File
@@ -1,4 +0,0 @@
import { getPayload } from 'payload';
import config from '../payload.config';
export const payload = await getPayload({ config });