introduce SEO optimization and improve blog content rendering (#709)

* introduce SEO optimizations for marketing reach

* quality of life updates to Next

* format with biome

* improve wording on home badge

* adding additional keyword based on trends

* add code block and markdown support for blogs

* Update metadata for SEO
This commit is contained in:
Musa 2026-01-28 17:52:39 -08:00 committed by GitHub
parent 2941392ed1
commit 56b3246f30
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
22 changed files with 3314 additions and 736 deletions

View file

@ -0,0 +1,32 @@
import { MetadataRoute } from "next";
const BASE_URL = process.env.NEXT_PUBLIC_APP_URL || "https://planoai.dev";
export default function robots(): MetadataRoute.Robots {
return {
rules: [
{
userAgent: "*",
allow: "/",
disallow: [
"/studio/", // Sanity Studio admin
"/api/", // API routes
"/_next/", // Next.js internal routes
],
},
{
// Specific rules for common crawlers
userAgent: "Googlebot",
allow: "/",
disallow: ["/studio/", "/api/"],
},
{
userAgent: "Bingbot",
allow: "/",
disallow: ["/studio/", "/api/"],
},
],
sitemap: `${BASE_URL}/sitemap.xml`,
host: BASE_URL,
};
}