Landing Pages

此目录包含各种营销落地页。

已有落地页

AI Girlfriend Landing Page

添加新落地页

  1. 创建组件文件:在此目录创建新的 .jsx 组件文件(如 AIBoyfriendPage.jsx

  2. 创建英文路由:在此目录创建对应的 .astro 文件作为英文路由入口(如 ai-boyfriend.astro

  3. 配置落地页:在 src/config/landingPages.js 中添加配置:

    'ai-boyfriend': {
      slug: 'landing/ai-boyfriend',
      component: 'AIBoyfriendPage',
      tdk: {
        titleKey: 'pages.aiBoyfriend.title',
        descriptionKey: 'pages.aiBoyfriend.description',
        keywordsKey: 'pages.aiBoyfriend.keywords'
      }
    }
  4. 添加多语言内容:在 src/locales/*.jspages 部分添加相应的 TDK 和 landing 部分添加页面文案

  5. 更新文档:更新此 README

注意:多语言路由会自动生成,无需手动配置!