add robots, sitemap, new og image

This commit is contained in:
Aman Varshney
2025-05-21 18:29:49 +05:30
parent 5888d96a51
commit 17a7386071
5 changed files with 46 additions and 6 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 517 KiB

After

Width:  |  Height:  |  Size: 266 KiB

View File

@@ -19,20 +19,22 @@ export const metadata: Metadata = {
keywords: [
"TypeScript",
"project scaffolding",
"biolerplate",
"type safety",
"Drizzle",
"Prisma",
"hono",
"elysia",
"turborepo",
"libSQL",
"PostgreSQL",
"trpc",
"orpc",
"turso",
"neon",
"Better-Auth",
"Docker",
"GitHub Actions",
"convex",
"monorepo",
"Better-T Stack",
"Create better t stack",
"create-better-t-stack",
],
authors: [{ name: "Better-T Stack Team" }],
creator: "Better-T Stack",

View File

@@ -0,0 +1,13 @@
export const dynamic = "force-static";
import type { MetadataRoute } from "next";
export default function robots(): MetadataRoute.Robots {
return {
rules: {
userAgent: "*",
allow: "/",
disallow: "/private/",
},
sitemap: "https://better-t-stack.amanv.dev/sitemap.xml",
};
}

View File

@@ -0,0 +1,25 @@
export const dynamic = "force-static";
import type { MetadataRoute } from "next";
export default function sitemap(): MetadataRoute.Sitemap {
return [
{
url: "https://better-t-stack.amanv.dev/",
lastModified: new Date(),
changeFrequency: "weekly",
priority: 1,
},
{
url: "https://better-t-stack.amanv.dev/new",
lastModified: new Date(),
changeFrequency: "weekly",
priority: 0.8,
},
{
url: "https://better-t-stack.amanv.dev/docs",
lastModified: new Date(),
changeFrequency: "weekly",
priority: 0.5,
},
];
}

View File

@@ -14,7 +14,7 @@
},
"apps/cli": {
"name": "create-better-t-stack",
"version": "2.10.4",
"version": "2.11.0",
"bin": {
"create-better-t-stack": "dist/index.js",
},