---
import Layout from '@/layouts/Layout.astro'
import NavMenu from '@/components/NavMenu/index.jsx'
import Img from '@/components/children/Img.astro'
import LeftImgRightText from '@/components/LeftImgRightText.astro'
import LeftMiddleRightImgText from '@/components/LeftMiddleRightImgText.astro'
import Carousel from '@/components/children/Carousel.astro'
import ImgPro from '@/components/ImgPro.astro'
import Footer from '@/components/Footer.astro'

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

const data = [
  {
    id: '1',
    url: 'https://e.huawei.com/-/mediae/images/solutions/computing/ascend-computing/ascend-computing-case-2.jpg',
    title: '重新定义园区',
    content:
      '依托新ICT技术，华为打造园区产品组合方案，重新定义园区，最终实现终端互联、数据融合、业务汇聚。重新定义园区网络：多线合一、有线变无线，将15张网简化为4种网络技术',
  },
]
const imgProData = {
  url: '//e.huawei.com/-/mediae/images/solutions/campus/campus/secondbanner-pc.jpg',
  title: '加速行业智能化',
  content:
    '华为持续引领数智基础设施产品与解决方案创新，使能百模千态，赋能千行万业智能化转型',
}

const informationList = [
  {
    id: '1',
    url: 'https://e.huawei.com/-/mediae/images/solutions/campus/office-network/office-network-banner-bequoted.png',
    children: {
      title: '极简办公网',
      content: '三层变两层，轻量化运维，打造园区办公网络致简体验',
    },
  },
  {
    id: '2',
    url: 'https://e.huawei.com/-/mediae/images/solutions/campus/sdwan/sdwan-banner-bequoted.jpg',
    children: {
      title: '总部分支互联',
      content:
        '华为总部分支互联方案，应对传统网络架构封闭、业务体验难保障、运维困难所带来的挑战，随时随地安全接入。',
    },
  },
  {
    id: '3',
    url: 'https://e.huawei.com/-/mediae/images/solutions/campus/converged-production-network/banner-bequoted.png',
    children: {
      title: '融合生产网',
      content: '数字化生产需要高可靠、无线化、工业级的网络联接能力',
    },
  },
]

const carouselList = [
  [
    [
      {
        id: '1',
        url: 'https://e.huawei.com/-/mediae/images/case-studies/industries/education/2022/southeast-university-smart-campus/banner-bequoted1.jpg',
        children: {
          title: '东南大学：携手华为打造“数智东南”信息高速公路',
          content:
            '“升级后的Wi-Fi网络感觉确实挺好的，信号穿透力更强，在宿舍不同位置信号很强；连接很稳定，在高峰期时期也再不会出现突然掉线了。让人感觉最直接的还是网络带宽的提升，让直播课程流畅了很多，使用网盘下载文件时比过去快了好几倍。”',
        },
      },
    ],
  ],
  [
    [
      {
        id: '2',
        url: 'https://e.huawei.com/-/mediae/images/case-studies/solutions/campus/2023/chongqing-lianglu-guoyuan-port/banner-bequoted.jpg',
        children: {
          title:
            '重庆两路果园港综合保税区：绿色、生态、环保、城景融合的智慧园区',
          content:
            '国贸会展集团携手华为打造智慧会展中心，以ICT基础设施为支撑，以安全保障能力为基础，以运营管理能力、服务体验能力和数据运营能力为核心，带来智慧会展全新体验。',
        },
      },
    ],
  ],
]
---

<Layout>
  <NavMenu lang={lang} client:load />
  <Img
    url="//e.huawei.com/-/mediae/images/solutions/campus/campus/banner-pc.jpg"
    ratio="3 / 1"
  />
  <LeftImgRightText listOrData={data} />
  <ImgPro
    data={imgProData}
    ratio="3 / 1"
    btnDisplay={true}
    titleSize="fs-1"
    childrenSize="fs-4"
    textWeight="fw-bold"
    ellipsis="line-ellipsis-small"
    position="positionMiddle"
  />
  <LeftMiddleRightImgText
    componentTitle="场景化解决方案"
    listOrData={informationList}
  />
  <Carousel
    componentTitle="成功案例"
    list={carouselList}
    Children={LeftImgRightText}
  />
  <Footer lang={lang} />
</Layout>
