changed for better studio display

This commit is contained in:
2024-10-30 03:50:51 +01:00
parent 371d52710c
commit 390724af2a
2 changed files with 2 additions and 1 deletions

View File

@@ -13,7 +13,7 @@ export default async function IndexPage() {
<Link href="/blog">Blog</Link><br/><br/> <Link href="/blog">Blog</Link><br/><br/>
{home ? ( {home ? (
<> <>
<h1 className="text-4xl font-bold mb-8">{home.title}</h1> <h1 className="text-4xl font-bold mb-8">{home.pagetitle}</h1>
<h2 className="text-2xl font-semibold mb-4">{home.subtitle}</h2> <h2 className="text-2xl font-semibold mb-4">{home.subtitle}</h2>
</> </>
) : ( ) : (

View File

@@ -149,6 +149,7 @@ export type Home = {
_updatedAt: string _updatedAt: string
_rev: string _rev: string
title?: string title?: string
pagetitle?: string
subtitle?: string subtitle?: string
owner?: { owner?: {
_ref: string _ref: string