next.js/test/e2e/app-dir/metadata/app/opengraph/article/layout.tsx
layout.tsx20 lines534 B
import type { Metadata } from 'next'

export default function Layout({ children }) {
  return children
}

export const metadata = {
  openGraph: {
    title: 'Layout open graph title',
    description: 'My custom description',
    type: 'article',
    publishedTime: '2023-01-01T00:00:00.000Z',
    authors: ['author1', 'author2', 'author3'],
    images: new URL('https://example.com/og-image.jpg'),
    emails: 'author@vercel.com',
    phoneNumbers: '1234567890',
    faxNumbers: '1234567890',
  } satisfies Metadata['openGraph'],
}
Quest for Codev2.0.0
/
SIGN IN