Websites v4 docs v8.3.1
    Preparing search index...

    Function usePageBrandingRule

    • Returns the branding rule assigned to the current page's config (via PageBranding), or null when the page uses the agency's default branding.

      Returns BrandingRule | null

      const brandingRule = usePageBrandingRule();
      const logo = brandingRule?.logo?.src || agency.logo;