From 390724af2aa617f6a003d993a2318a88b37f94d4 Mon Sep 17 00:00:00 2001 From: vaporvee Date: Wed, 30 Oct 2024 03:50:51 +0100 Subject: [PATCH] changed for better studio display --- src/app/page.tsx | 2 +- src/sanity/sanity.types.ts | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index 78a622d..b44298e 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -13,7 +13,7 @@ export default async function IndexPage() { Blog

{home ? ( <> -

{home.title}

+

{home.pagetitle}

{home.subtitle}

) : ( diff --git a/src/sanity/sanity.types.ts b/src/sanity/sanity.types.ts index 59970ec..f7dc710 100644 --- a/src/sanity/sanity.types.ts +++ b/src/sanity/sanity.types.ts @@ -149,6 +149,7 @@ export type Home = { _updatedAt: string _rev: string title?: string + pagetitle?: string subtitle?: string owner?: { _ref: string