<script setup lang="ts">
import { systemRoutes } from "@/router"
import Description from "@@/components/Description.vue"
import Cell from "./components/Cell.vue"
import Title from "./components/Title.vue"
</script>

<template>
  <div un-px-20px un-py-26px un-select-none>
    <Description un-pl-16px />
    <div un-mt-40px>
      <Title text="示例集合" />
      <Cell
        v-for="route in [...systemRoutes]"
        :key="route.path"
        :title="route.meta?.title || ''"
        :path="route.path"
        un-mt-12px
      />
    </div>
    <van-divider>🔥 更多优秀示例，期待你的 PR 👏🏻</van-divider>
  </div>
</template>
