SEO 全链路:OG/Twitter 标签 + robots.txt + sitemap.xml + JSON-LD 结构化数据

- layout metadata: Open Graph + Twitter Card + canonical + robots 指令
- app/robots.ts: 允许首页/auth,禁止 /terminal/account/ops/api
- app/sitemap.ts: 首页 1.0 + /auth/login 0.6
- 首页 JSON-LD: WebApplication schema,含 $10/mo 定价
This commit is contained in:
2569718930@qq.com
2026-05-26 08:43:55 +08:00
parent c88d313f60
commit 09a8e1bfbe
4 changed files with 94 additions and 2 deletions
+21
View File
@@ -33,8 +33,29 @@ export default async function HomePage({
const qs = usp.toString();
redirect(`/auth/callback${qs ? `?${qs}` : ""}`);
}
const jsonLd = {
"@context": "https://schema.org",
"@type": "WebApplication",
name: "PolyWeather",
description:
"Paid professional weather-signal intelligence terminal with METAR evidence, DEB forecast blending, and AI decision cards.",
url: "https://polyweather.top",
applicationCategory: "BusinessApplication",
operatingSystem: "Web",
offers: {
"@type": "Offer",
price: "10.00",
priceCurrency: "USD",
description: "Monthly subscription",
},
};
return (
<>
<script
type="application/ld+json"
dangerouslySetInnerHTML={{ __html: JSON.stringify(jsonLd) }}
/>
<PreloadTerminalData />
<InstitutionalLandingPage />
</>