← back to Grant

app/robots.ts

26 lines

import type { MetadataRoute } from 'next';

export default function robots(): MetadataRoute.Robots {
  return {
    rules: [
      {
        userAgent: '*',
        allow: ['/', '/landing', '/_next/static/'],
        disallow: [
          '/api/',
          '/dashboard',
          '/grants',
          '/proposals',
          '/news',
          '/collaborations',
          '/outreach',
          '/settings',
          '/login',
          '/river',
        ],
      },
    ],
    sitemap: 'https://grant.agentabrams.com/sitemap.xml',
  };
}