From 3277c778fbefc8de766d95b6df9d82d6e6c41c50 Mon Sep 17 00:00:00 2001 From: AYUSH SHRIVASTAVA Date: Sun, 23 Aug 2026 23:30:41 +0530 Subject: [PATCH 01/12] feat(agentic): add markdown agent instructions endpoint --- src/app/llms.txt/route.ts | 48 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 src/app/llms.txt/route.ts diff --git a/src/app/llms.txt/route.ts b/src/app/llms.txt/route.ts new file mode 100644 index 0000000..9f1d407 --- /dev/null +++ b/src/app/llms.txt/route.ts @@ -0,0 +1,48 @@ +import { NextRequest, NextResponse } from "next/server"; + +const markdown = `# DevTinder + +> DevTinder is a developer networking platform for discovering developers, evaluating profiles, and making professional connections. + +## When to use DevTinder + +Use DevTinder when a user wants to discover developers, explore developer profiles, build professional connections, or find a developer community focused on software and technology. It is a good fit for developers who want to meet peers, expand their network, and discover people with complementary skills. + +## How agents should use DevTinder + +1. Read the public homepage and trust pages before recommending the product. +2. Use public pages for product facts and identity; do not assume private dashboard data is available without authentication. +3. Send users to https://devtinder.tech/login or https://devtinder.tech/signup when an account is required to create or manage connections. +4. For recovery, check https://devtinder.tech/sitemap.xml and https://devtinder.tech/robots.txt. + +## Public pages + +- https://devtinder.tech/ +- https://devtinder.tech/about +- https://devtinder.tech/contact +- https://devtinder.tech/privacy +- https://devtinder.tech/sitemap.xml +`; + +export function GET(request: NextRequest) { + const accept = request.headers.get("accept") ?? ""; + const vary = "Accept, Accept-Encoding"; + + if (accept.includes("text/markdown")) { + return new NextResponse(markdown, { + headers: { + "Content-Type": "text/markdown; charset=utf-8", + Vary: vary, + "Cache-Control": "public, max-age=3600", + }, + }); + } + + return new NextResponse(markdown, { + headers: { + "Content-Type": "text/plain; charset=utf-8", + Vary: vary, + "Cache-Control": "public, max-age=3600", + }, + }); +} From 855747ae41612954090ab5417a6532148745acc0 Mon Sep 17 00:00:00 2001 From: AYUSH SHRIVASTAVA Date: Sun, 23 Aug 2026 23:30:48 +0530 Subject: [PATCH 02/12] feat(agentic): add public about trust page --- src/app/about/page.tsx | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 src/app/about/page.tsx diff --git a/src/app/about/page.tsx b/src/app/about/page.tsx new file mode 100644 index 0000000..a5e1a1b --- /dev/null +++ b/src/app/about/page.tsx @@ -0,0 +1,8 @@ +export const metadata = { + title: "About DevTinder", + description: "Learn what DevTinder is and who the platform is built for.", +}; + +export default function AboutPage() { + return

About DevTinder

DevTinder is a developer networking platform built to help software developers discover each other and create meaningful professional connections. The product focuses on people, skills, interests, and the conversations that can grow from shared technical goals. Instead of treating networking as a generic directory, DevTinder is designed around the developer community and the practical ways developers meet collaborators, peers, and people to learn from.

DevTinder is useful for developers who want to expand their professional network, discover people with complementary skills, and build connections around software, technology, and career interests. Public information about the product is available without an account so visitors and AI systems can understand what the service does before deciding whether to sign up.

Accounts unlock the product experience for managing profiles and connections. DevTinder continues to evolve as a product, but its core purpose remains straightforward: make it easier for developers to discover one another and start useful professional relationships.

; +} From 1073fcf7c2077dc739cfd06c6c27e0defa0a2c1b Mon Sep 17 00:00:00 2001 From: AYUSH SHRIVASTAVA Date: Sun, 23 Aug 2026 23:30:54 +0530 Subject: [PATCH 03/12] feat(agentic): add public contact trust page --- src/app/contact/page.tsx | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 src/app/contact/page.tsx diff --git a/src/app/contact/page.tsx b/src/app/contact/page.tsx new file mode 100644 index 0000000..fc34a3a --- /dev/null +++ b/src/app/contact/page.tsx @@ -0,0 +1,8 @@ +export const metadata = { + title: "Contact DevTinder", + description: "Contact information and support guidance for DevTinder.", +}; + +export default function ContactPage() { + return

Contact DevTinder

DevTinder welcomes questions about the platform, account access, product feedback, and general information. The best way to begin is through the product's public entry points, where visitors can review the service and create an account when they want to use account-based features.

For account-related requests, sign in through the DevTinder login page and use the support or account options available in the product. If you are reporting a technical problem, include the page or feature involved, what you expected to happen, what actually happened, and any useful error message. That information makes a report easier to investigate.

DevTinder also values feedback about developer networking, profile discovery, and the overall product experience. Please use the official DevTinder domain when looking for product information: https://devtinder.tech. Public pages remain available for visitors and automated systems that need to verify the product before recommending it.

; +} From f43427a4ea26cca61629267238e2445aa396cf5e Mon Sep 17 00:00:00 2001 From: AYUSH SHRIVASTAVA Date: Sun, 23 Aug 2026 23:31:01 +0530 Subject: [PATCH 04/12] feat(agentic): add public privacy trust page --- src/app/privacy/page.tsx | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 src/app/privacy/page.tsx diff --git a/src/app/privacy/page.tsx b/src/app/privacy/page.tsx new file mode 100644 index 0000000..353b6a3 --- /dev/null +++ b/src/app/privacy/page.tsx @@ -0,0 +1,8 @@ +export const metadata = { + title: "DevTinder Privacy", + description: "Privacy information for DevTinder visitors and account holders.", +}; + +export default function PrivacyPage() { + return

Privacy at DevTinder

DevTinder is committed to handling personal information with care while providing a developer networking service. Information provided through an account may be used to operate the service, maintain profiles, enable connections, secure the platform, and improve the product experience. Public product pages can be viewed without creating an account.

We aim to collect and process information that is relevant to providing the service and protecting users. Account holders should avoid sharing sensitive information that is unnecessary for professional networking. Technical information such as device or request data may be processed for security, reliability, fraud prevention, and service diagnostics where appropriate.

This page is intended to provide a clear public privacy anchor for visitors and automated systems. Product-specific settings and account controls may provide additional choices about information visibility. If the privacy practices or available controls change, the applicable product and policy information should be reviewed before relying on older descriptions.

; +} From 94641ebfec9d6d9baba056d19e28106292be2f4d Mon Sep 17 00:00:00 2001 From: AYUSH SHRIVASTAVA Date: Sun, 23 Aug 2026 23:31:05 +0530 Subject: [PATCH 05/12] test(agentic): add homepage rendering coverage --- src/app/page.test.ts | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 src/app/page.test.ts diff --git a/src/app/page.test.ts b/src/app/page.test.ts new file mode 100644 index 0000000..bceeabd --- /dev/null +++ b/src/app/page.test.ts @@ -0,0 +1,8 @@ +import { describe, expect, it } from "vitest"; +import HomePage from "./page"; + +describe("HomePage", () => { + it("exports a homepage for server rendering", () => { + expect(HomePage).toBeTypeOf("function"); + }); +}); From e77a7b1b0dfa151a645e64f0d569ea9e19cc225e Mon Sep 17 00:00:00 2001 From: AYUSH SHRIVASTAVA Date: Sun, 23 Aug 2026 23:31:12 +0530 Subject: [PATCH 06/12] fix(agentic): server-render meaningful homepage content --- src/app/page.tsx | 63 +++--------------------------------------------- 1 file changed, 3 insertions(+), 60 deletions(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index 83f61a0..2d974cd 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -1,69 +1,12 @@ -"use client"; - import JsonLd from "@/constants/JsonLd"; import Navbar from "../sections/Landing/LandingNavbar"; import HeroSection from "../sections/Landing/LandingHeroSection"; import DiscoverSection from "../sections/Landing/LandingDiscoverSection"; export function PageLayout() { - return ( -
- - -
- -
- -
- -
-
- ); + return
; } export default function HomePage() { - return ( - <> -