mirror of
https://github.com/katanemo/plano.git
synced 2026-05-05 05:42:49 +02:00
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:
parent
2941392ed1
commit
56b3246f30
22 changed files with 3314 additions and 736 deletions
32
apps/www/src/app/robots.ts
Normal file
32
apps/www/src/app/robots.ts
Normal 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,
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue