Files
hanzo.ai/app/(marketing)/s3/layout.tsx
zeekay c03cc66c5d the go tag joins a page's metadata rather than replacing it
Fifteen of the nineteen shared paths already had a layout carrying the page's
title, description and canonical URL through pageMeta. Writing the go-import tag
as a fresh file took all of that with it — the regression pageMeta exists to
prevent, reintroduced by the commit before this one.

The tag is a field on pageMeta now, so a page states its metadata in one call and
the two facts cannot displace each other. Passing it as an unmodelled property
would have been a type error at best and silently dropped at worst.
2026-08-21 13:41:01 -07:00

19 lines
723 B
TypeScript

import type { Metadata } from 'next'
import { goImport } from '@/lib/go-modules'
import { pageMeta } from '@/lib/page-meta'
// The page is 'use client', which cannot export metadata — so its title and
// description live here, beside it. Both are the page's OWN words: the title is
// its <h1> and the description its lede, so a tab, a search result and the page
// itself say the same thing.
export const metadata: Metadata = pageMeta({
title: 'Hanzo S3',
description: 'Object storage that your existing tools already speak, and you never pay to read your own data back.',
path: '/s3',
other: goImport('s3'),
})
export default function Layout({ children }: { children: React.ReactNode }) {
return children
}