Skip to content

Commit

Permalink
fixed builds
Browse files Browse the repository at this point in the history
  • Loading branch information
th3brink committed Jan 30, 2025
1 parent e2335df commit 0865a95
Show file tree
Hide file tree
Showing 8 changed files with 138 additions and 118 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -317,4 +317,5 @@ test/databaseAdapter.js
/filename-compound-index
/media-with-relation-preview
/media-without-relation-preview
/media-without-cache-tags
/media-without-cache-tags
.vercel
14 changes: 0 additions & 14 deletions apps/website/.env.example

This file was deleted.

70 changes: 35 additions & 35 deletions apps/website/src/endpoints/seed/contact-page.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,41 +7,41 @@ export const contact: Partial<Page> = {
type: 'none',
},
layout: [
{
blockType: 'formBlock',
enableIntro: true,
form: '{{CONTACT_FORM_ID}}',
introContent: {
root: {
type: 'root',
children: [
{
type: 'heading',
children: [
{
type: 'text',
detail: 0,
format: 0,
mode: 'normal',
style: '',
text: 'Example contact form:',
version: 1,
},
],
direction: 'ltr',
format: '',
indent: 0,
tag: 'h3',
version: 1,
},
],
direction: 'ltr',
format: '',
indent: 0,
version: 1,
},
},
},
// {
// blockType: 'formBlock',
// enableIntro: true,
// form: '{{CONTACT_FORM_ID}}',
// introContent: {
// root: {
// type: 'root',
// children: [
// {
// type: 'heading',
// children: [
// {
// type: 'text',
// detail: 0,
// format: 0,
// mode: 'normal',
// style: '',
// text: 'Example contact form:',
// version: 1,
// },
// ],
// direction: 'ltr',
// format: '',
// indent: 0,
// tag: 'h3',
// version: 1,
// },
// ],
// direction: 'ltr',
// format: '',
// indent: 0,
// version: 1,
// },
// },
// },
],
title: 'Contact',
}
2 changes: 1 addition & 1 deletion apps/website/src/endpoints/seed/home-static.ts
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ export const homeStatic: Page = {
title: 'Payload Website Template',
},
title: 'Home',
id: '',
id: 0,
layout: [],
updatedAt: '',
createdAt: '',
Expand Down
6 changes: 3 additions & 3 deletions apps/website/src/endpoints/seed/home.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export const home: RequiredDataFromCollectionSlug<'pages'> = {
},
},
],
media: '{{IMAGE_1}}',
media: 0,
richText: {
root: {
type: 'root',
Expand Down Expand Up @@ -501,7 +501,7 @@ export const home: RequiredDataFromCollectionSlug<'pages'> = {
{
blockName: 'Media Block',
blockType: 'mediaBlock',
media: '{{IMAGE_2}}',
media: 0,
},
{
blockName: 'Archive Block',
Expand Down Expand Up @@ -657,7 +657,7 @@ export const home: RequiredDataFromCollectionSlug<'pages'> = {
],
meta: {
description: 'An open-source website built with Payload and Next.js.',
image: '{{IMAGE_1}}',
image: 0,
title: 'Payload Website Template',
},
title: 'Home',
Expand Down
Loading

0 comments on commit 0865a95

Please sign in to comment.