UNPKG

@ai-growth/nextjs

Version:

Seamlessly integrate Sanity CMS with Next.js applications for automated blog routing and rendering

11 lines (10 loc) 517 B
import { jsx as _jsx } from "react/jsx-runtime"; import { SimpleDefaultTemplate } from './SimpleDefaultTemplate'; /** * Page Template - optimized for static pages and landing pages */ export const PageTemplate = (props) => { // Use the default template with page-specific defaults return (_jsx(SimpleDefaultTemplate, { ...props, showMetadata: props.showMetadata ?? false, showAuthor: props.showAuthor ?? false, className: `page-template ${props.className || ''}`.trim() })); }; export default PageTemplate;