e45987933a
分析:原关键词(Web开发/小程序开发/AI应用开发/Java/Rust…)全是高竞争 大词,SERP 被知乎/CSDN/官方文档垄断,个人站无法收录上榜。 新策略(品牌必赢 + 中竞争定位 + 低竞争高转化长尾): - 品牌词:北极新一、北极新一个人官网 - 定位词:独立全栈开发者、独立开发者接单、产品设计外包 - 服务长尾:网站定制开发服务、小程序定制开发、AI应用定制开发、 AI Agent原型开发、Flutter跨端应用外包、全栈项目交付、 技术咨询与代码评审服务 - 移除裸技术词(Java/Rust 等仅保留在复合短语中) 落地: - site_title 重写:「北极新一 - 独立全栈开发者 | Web·小程序·AI 应用定制开发」 - site_description 对齐长尾(品牌+定位+服务枚举+转化引导) - keywords 与 JSON-LD knowsAbout/jobTitle 同步对齐(主题一致性) - 百度移动适配信号 meta applicable-device=pc,mobile - 首页补 sr-only 语义 H1(视觉首屏不动,收录语义补齐) - services 页 description 同步长尾;title/description 加 DB 缺省兜底
66 lines
1.9 KiB
TypeScript
66 lines
1.9 KiB
TypeScript
import type { Metadata } from "next";
|
||
import ServicesClient from "./ServicesClient";
|
||
import { getSiteConfig, listServices } from "@/lib/siteConfig";
|
||
import { absoluteUrl } from "@/lib/siteUrl";
|
||
|
||
export const metadata: Metadata = {
|
||
title: "服务",
|
||
description:
|
||
"提供网站与小程序定制开发、AI 应用与 Agent 原型、Flutter 跨端客户端、Java/Go 后端、产品设计外包与技术咨询 — 选择你需要的服务,留言告诉我。",
|
||
alternates: { canonical: "/services" },
|
||
openGraph: {
|
||
title: "服务 · 北极新一",
|
||
type: "website",
|
||
url: absoluteUrl("/services"),
|
||
images: ["/og.png"],
|
||
},
|
||
};
|
||
|
||
export const dynamic = "force-dynamic";
|
||
|
||
/** /services — 服务列表(server 读 DB)+ 咨询表单(滑块验证码)。 */
|
||
export default function ServicesPage() {
|
||
const config = getSiteConfig();
|
||
const services = listServices(true).map((s) => ({
|
||
slug: s.slug,
|
||
title: s.title,
|
||
description: s.description,
|
||
priceNote: s.price_note,
|
||
}));
|
||
|
||
// 结构化数据:ProfessionalService(Google/Bing 富结果用)
|
||
const jsonLd = {
|
||
"@context": "https://schema.org",
|
||
"@type": "ProfessionalService",
|
||
name: `${config.brand_name} — 数字产品设计与开发`,
|
||
url: absoluteUrl("/services"),
|
||
email: config.contact_email,
|
||
areaServed: "CN",
|
||
availableLanguage: ["zh-CN"],
|
||
makesOffer: services.map((s) => ({
|
||
"@type": "Offer",
|
||
name: s.title,
|
||
itemOffered: {
|
||
"@type": "Service",
|
||
name: s.title,
|
||
description: s.description,
|
||
},
|
||
})),
|
||
};
|
||
|
||
return (
|
||
<>
|
||
<script
|
||
type="application/ld+json"
|
||
// 结构化数据为服务端生成的静态 JSON,无用户输入。
|
||
dangerouslySetInnerHTML={{ __html: JSON.stringify(jsonLd) }}
|
||
/>
|
||
<ServicesClient
|
||
headline={config.services_hero}
|
||
submitNote={config.services_submit_note}
|
||
services={services}
|
||
/>
|
||
</>
|
||
);
|
||
}
|