Merged in feat/SW-1388-startpage-header (pull request #1203)

feat(SW-1388): add hero image and heading to startpage

* feat(SW-1388): add hero image and heading to startpage

* fix(SW-1388): spacing variables for padding

* fix(SW-1388): use inset value instead


Approved-by: Erik Tiekstra
This commit is contained in:
Christian Andolf
2025-01-24 13:04:19 +00:00
parent a88a033e30
commit 3579ada786
6 changed files with 98 additions and 3 deletions

View File

@@ -1,10 +1,15 @@
import { z } from "zod"
import { tempImageVaultAssetSchema } from "../schemas/imageVault"
import { systemSchema } from "../schemas/system"
export const startPageSchema = z.object({
start_page: z.object({
title: z.string(),
header: z.object({
heading: z.string(),
hero_image: tempImageVaultAssetSchema,
}),
system: systemSchema.merge(
z.object({
created_at: z.string(),