---
import Layout from '@/layouts/Layout.astro'
import NavMenu from '@/components/NavMenu/index.jsx'
import Text from '@/components/children/Text.astro'
import Footer from '@/components/Footer.astro'

const { lang = 'zh' } = Astro.params

const text = [
  {
    title: '产品购买与咨询',
    content: '提交项目需求这一块那一块',
  },
  {
    title: '云致合作伙伴咨询',
    content: '投诉邮箱：89341562@qq.com',
  },
  {
    title: '技术支持',
    content: '服务热线：15366173165（李先生）',
  },
  {
    title: '培训认证',
    content: '提交问题单这一块那一块',
  },
]
const text2 = {
  title: '网站意见反馈',
  content:
    '我们非常乐意听取您关于华为网站的意见，我们会认真阅读每一条反馈意见。地址：南京市栖霞区绿地万科云都会售楼处北50米（石狮路西）',
}
---

<Layout title="联系我们">
  <NavMenu lang={lang} client:load />
  <div class="container">
    <div class="fs-1 text-center text-light pt-5" style="margin-top:36px">
      联系我们
    </div>
    <div class="row mt-5 justify-content-center">
      {
        text.map((item, index) => (
          <div class="col-md-5 mb-5">
            <div class="card ps-5">
              <Text listOrData={item} />
            </div>
          </div>
        ))
      }
    </div>
    <div class="row justify-content-center">
      <div class="col-md-10">
        <div class="card ps-5">
          <Text listOrData={text2} />
        </div>
      </div>
    </div>
  </div>
  <Footer lang={lang} />
</Layout>
