Base defaults for the whole site.
Default meta description.
Application/site name (used in openGraph, twitter, and as the separator in titles).
Theme color for mobile browsers (e.g. "#000000").
Default document title (used when no page-specific title is provided).
A function (title?, description?, image?) => Metadata. Pass page-specific overrides; they fill in or replace the defaults.
// lib/utils/seo.ts
import { setupSEO } from "naystack/client";
export const getSEO = setupSEO({
title: "Land Exchange Toolbox - Premium Real Estate Tools",
description: "Empower your real estate business with advanced tools.",
siteName: "Land Exchange Toolbox",
themeColor: "#5b9364",
});
Creates a metadata factory for Next.js pages. Call once with your site's default SEO config, then call the returned function per-page to generate the
Metadataobject.The returned function supports page-specific
title,description, andimageoverrides. When a page title is provided, it's formatted as"Page Title • Site Name".