Compare commits

2 Commits

Author SHA1 Message Date
40d257a0eb Add version control to posts
All checks were successful
continuous-integration/drone/push Build is passing
2024-05-19 22:15:43 +02:00
200bfcce2a Add input base styles
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone Build is passing
2024-05-19 21:07:09 +02:00
2 changed files with 10 additions and 1 deletions

View File

@ -101,6 +101,10 @@
}
select {
@apply bg-background border-primary border px-2 py-1 text-lg;
@apply bg-background border-primary border px-2 h-8 text-lg;
}
input {
@apply bg-background border-primary border px-2 h-8 text-lg;
}
}

View File

@ -1,6 +1,7 @@
import { CollectionConfig } from "payload/types";
const Posts: CollectionConfig = {
slug: "posts",
versions: true,
admin: {
defaultColumns: ["title", "author", "status"],
useAsTitle: "title",
@ -103,6 +104,10 @@ const Posts: CollectionConfig = {
value: "published",
label: "Published",
},
{
value: "archived",
label: "Archived",
},
],
defaultValue: "draft",
admin: {