Created empty files & folders for CMS blocks, updated the RootLayout

This commit is contained in:
2025-08-31 11:50:16 +03:00
parent 8997ad9f06
commit a99200b581
42 changed files with 3732 additions and 5 deletions

View File

@ -0,0 +1,13 @@
import RichText from '@/components/RichText'
import React from 'react'
import { Width } from '../Width'
import { SerializedEditorState } from '@payloadcms/richtext-lexical/lexical'
export const Message: React.FC<{ message: SerializedEditorState }> = ({ message }) => {
return (
<Width className="my-12" width="100">
{message && <RichText data={message} />}
</Width>
)
}