/** * Page Template * * Usage: Copy this file to create new pages * 1. Replace TEMPLATE_NAME with your page name * 2. Update the metadata * 3. Implement your page logic */ import { Metadata } from 'next' import { generateMetadata } from '@/lib/seo' // Page metadata export const metadata: Metadata = generateMetadata({ title: 'TEMPLATE_NAME - NextJS Boilerplate', description: 'Description for TEMPLATE_NAME page', // Add other SEO properties as needed }) // Page component export default function TemplatePage() { return (
{/* Page Header */}

TEMPLATE_NAME

Page description goes here

{/* Main Content */}
{/* Add your content sections here */}

Section Title

Section content goes here

) } /** * For dynamic pages, you can export generateStaticParams or use dynamic segments * * Example for dynamic routes: * * interface Props { * params: { slug: string }; * } * * export default function DynamicPage({ params }: Props) { * const { slug } = params; * // Page logic here * } * * // For static generation * export async function generateStaticParams() { * // Return array of params * return [ * { slug: 'example-1' }, * { slug: 'example-2' }, * ]; * } */