diff --git a/app/about/page.tsx b/app/about/page.tsx index e56ba36..274f2e4 100644 --- a/app/about/page.tsx +++ b/app/about/page.tsx @@ -104,6 +104,21 @@ export default async function AboutPage() { explains how to use each of them.

+ +
+

Legal

+

+ How the directory handles data is on the{' '} + + privacy page + + . Use of the site and the public catalog API is covered by the{' '} + + terms of use + + . +

+
diff --git a/app/contact/page.tsx b/app/contact/page.tsx index 70b9d88..1a3f7d7 100644 --- a/app/contact/page.tsx +++ b/app/contact/page.tsx @@ -64,6 +64,19 @@ export default function ContactPage() {

+
+

Legal

+

+ + Privacy + + {' · '} + + Terms of Use + +

+
+

For agents and automated clients diff --git a/app/index.md/route.ts b/app/index.md/route.ts index 892976a..3c2b470 100644 --- a/app/index.md/route.ts +++ b/app/index.md/route.ts @@ -40,7 +40,7 @@ ${categories.map((c) => `- ${c.name} (\`${c.slug}\`)`).join('\n')} ## Pages - [Browse](${BASE_URL}/browse) · [Categories](${BASE_URL}/categories) · [Submit an agent](${BASE_URL}/submit) -- [About](${BASE_URL}/about) · [Contact](${BASE_URL}/contact) · [Privacy](${BASE_URL}/privacy) · [Disclaimer](${BASE_URL}/disclaimer) +- [About](${BASE_URL}/about) · [Contact](${BASE_URL}/contact) · [Privacy](${BASE_URL}/privacy) · [Terms of Use](${BASE_URL}/terms) · [Disclaimer](${BASE_URL}/disclaimer) Contact: barnir@agentmail.to `; diff --git a/app/llms.txt/route.ts b/app/llms.txt/route.ts index feb8fe0..526a2dc 100644 --- a/app/llms.txt/route.ts +++ b/app/llms.txt/route.ts @@ -63,6 +63,11 @@ instead of scraping the DOM. No setup: they self-register on page load. ${categoryLines} +## Legal + +- Privacy: https://agentswitchboard.dev/privacy +- Terms of Use: https://agentswitchboard.dev/terms + ## Maintained by Barnir — barnir@agentmail.to diff --git a/components/Footer.tsx b/components/Footer.tsx index f89ab33..ee45ea8 100644 --- a/components/Footer.tsx +++ b/components/Footer.tsx @@ -26,7 +26,7 @@ const footerLinks = [ { href: '/contact', label: 'Contact' }, { href: 'https://github.com/assafbar2/agentswitchboard.dev', label: 'GitHub', external: true }, { href: '/privacy', label: 'Privacy' }, - { href: '/terms', label: 'Terms' }, + { href: '/terms', label: 'Terms of Use' }, { href: '/disclaimer', label: 'Disclaimer' }, ], }, @@ -80,8 +80,13 @@ export function Footer() {

© {new Date().getFullYear()} Agent Switchboard. All rights reserved.

-

- Built for the agentic web +

+ + Privacy + + + Terms of Use +

diff --git a/next.config.ts b/next.config.ts index 62daf00..360e223 100644 --- a/next.config.ts +++ b/next.config.ts @@ -16,6 +16,12 @@ const nextConfig: NextConfig = { // Middleware sets Vary too, but the renderer overwrites it on the HTML // branch, so declare it here as well — otherwise a CDN can cache the HTML // variant and hand it to an agent that asked for Markdown. + async redirects() { + return [ + { source: "/tos", destination: "/terms", permanent: true }, + { source: "/TOS", destination: "/terms", permanent: true }, + ]; + }, async rewrites() { return [{ source: "/SKILL.md", destination: "/skill.md" }]; },