changed for better studio display
This commit is contained in:
@@ -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>
|
||||||
</>
|
</>
|
||||||
) : (
|
) : (
|
||||||
|
@@ -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
|
||||||
|
Reference in New Issue
Block a user