/*
 * Copyright 1999-2018 Alibaba Group Holding Ltd.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

module.exports = {
  server: '',
  PAGESIZE: 15,
  TIMERDEFAULT: '5s',
  TIMEDURINT: 2000,
  is_preview: process.env.NODE_ENV === 'development',
  projectName: 'nacos',
  defaultLanguage: 'zh-cn',
  'en-us': {
    pageMenu: [
      {
        key: 'home', // 用作顶部菜单的选中
        text: 'HOME',
        link: 'https://https://nacos.io/en/',
      },
      {
        key: 'mcp',
        text: 'MCP Marketplace',
        link: 'https://mcp.nacos.io/',
      },
      {
        key: 'docs',
        text: 'DOCS',
        link: 'https://nacos.io/en/docs/latest/overview/',
      },
      {
        key: 'blog',
        text: 'BLOG',
        link: 'https://nacos.io/en/blog/',
      },
      {
        key: 'community',
        text: 'COMMUNITY',
        link: 'https://nacos.io/en/blog/community/',
      },
      {
        key: 'enterprise',
        text: 'ENTERPRISE EDITION',
        link: 'https://cn.aliyun.com/product/aliware/mse?spm=nacos-website.topbar.0.0.0',
      },
      // {
      //   text: 'ALI-SUPPORT',
      //   href: 'https://developer.aliyun.com/opensource/project/nacos',
      // },
    ],
    disclaimer: {
      title: 'Vision',
      content:
        'By providing an easy-to-use service infrastructure such as dynamic service discovery, service configuration, service sharing and management and etc., Nacos help users better construct, deliver and manage their own service platform, reuse and composite business service faster and deliver value of business innovation more quickly so as to win market for users in the era of cloud native and in all cloud environments, such as private, mixed, or public clouds.',
    },
    documentation: {
      title: 'Documentation',
      list: [
        {
          text: 'Overview',
          link: '/en-us/docs/v2/what-is-nacos.html',
        },
        {
          text: 'Quick start',
          link: '/en-us/docs/v2/quickstart/quick-start.html',
        },
        {
          text: 'Developer guide',
          link: '/en-us/docs/v2/contribution/contributing.html',
        },
      ],
    },
    resources: {
      title: 'Resources',
      list: [
        {
          text: 'Community',
          link: '/en-us/community/index.html',
        },
      ],
    },
    copyright: '@ 2018 The Nacos Authors | An Alibaba Middleware (Aliware) Project',
  },
  'zh-cn': {
    pageMenu: [
      {
        key: 'home',
        text: '首页',
        link: 'https://nacos.io/',
      },
      {
        key: 'mcp',
        text: 'MCP市场',
        link: 'https://mcp.nacos.io/',
      },
      {
        key: 'docs',
        text: '文档',
        link: 'https://nacos.io/docs/latest/overview/',
      },
      {
        key: 'blog',
        text: '博客',
        link: 'https://nacos.io/blog/',
      },
      {
        key: 'community',
        text: '社区',
        link: 'https://nacos.io/blog/community/',
      },
      {
        key: 'enterprise',
        text: 'Nacos企业版',
        link: 'https://cn.aliyun.com/product/aliware/mse?spm=nacos-website.topbar.0.0.0',
      },
      // {
      //   text: '阿里开发者中心',
      //   href: 'https://developer.aliyun.com/opensource/project/nacos',
      // },
    ],
    disclaimer: {
      title: '愿景',
      content:
        'Nacos 通过提供简单易用的动态服务发现、服务配置、服务共享与管理等服务基础设施，帮助用户在云原生时代，在私有云、混合云或者公有云等所有云环境中，更好的构建、交付、管理自己的微服务平台，更快的复用和组合业务服务，更快的交付商业创新的价值，从而为用户赢得市场。',
    },
    documentation: {
      title: '文档',
      list: [
        {
          text: '概览',
          link: '/zh-cn/docs/v2/concepts.html',
        },
        {
          text: '快速开始',
          link: '/zh-cn/docs/v2/quickstart/quick-start.html',
        },
        {
          text: '开发者指南',
          link: '/zh-cn/docs/v2/contribution/contributing.html',
        },
      ],
    },
    resources: {
      title: '资源',
      list: [
        {
          text: '社区',
          link: '/zh-cn/community/index.html',
        },
      ],
    },
    copyright: '@ 2018 The Nacos Authors | An Alibaba Middleware (Aliware) Project',
  },
};
