Files
hanzo.ai/app/(marketing)/account/layout.tsx

23 lines
837 B
TypeScript

import type { Metadata } from 'next'
import { pageMeta } from '@/lib/page-meta'
import { goImport } from '@/lib/go-modules'
// Every /account page forwards to Settings (components/account/Forward.tsx).
// The segment stays for the addresses and for `hanzo.ai/account`, a Go import
// path whose tag this metadata carries.
//
// The index decision is NOT here. lib/publish already names this route and
// scripts/noindex.mjs writes the tag into the export — declaring a second one
// in metadata makes that script throw, which is the drift it exists to refuse.
export const metadata: Metadata = pageMeta({
other: goImport('account'),
title: 'Account',
description: 'Your Hanzo account lives in Settings.',
path: '/account',
})
export default function Layout({ children }: { children: React.ReactNode }) {
return children
}