From 82c1c743d94e3092b0756b27f26df91bcd540a25 Mon Sep 17 00:00:00 2001 From: FairyEver <1711467488@qq.com> Date: Sat, 14 Dec 2019 13:34:14 +0800 Subject: [PATCH] Preview links --- README.md | 55 +++++-------------- README.zh.md | 55 +++++-------------- .../index/components/d2-badge/index.vue | 9 +-- 3 files changed, 35 insertions(+), 84 deletions(-) diff --git a/README.md b/README.md index 2dc0a6c4..de96fdb6 100644 --- a/README.md +++ b/README.md @@ -1,46 +1,18 @@ ![banner](https://raw.githubusercontent.com/FairyEver/d2-admin/master/doc/image/banner.png)

- - - - - - - - - - - - - - - - - - + + + + + + +

- - - - - - - - - -

-

- - - - - - - - - + + +

D2Admin is a fully open source and free enterprise back-end product front-end integration solution, using the latest front-end technology stack, javascript files loading of local first screen less than 60kb, has prepared most of the project preparations, and with a lot of sample code to help the management system agile development. @@ -53,8 +25,11 @@ D2Admin is a fully open source and free enterprise back-end product front-end in ## Preview -* [Preview](https://d2-admin.netlify.com) Deployed in Netlify CDN -* [Preview For Chinese](https://fairyever.com/d2-admin/preview/) Deployed in qiniu CDN +| server | link | info | status | +| --- | --- | --- | --- | +| d2.pub | [d2.pub](https://d2.pub/d2-admin/preview/) | China server | [![](https://github.com/d2-projects/d2-admin/workflows/Deploy%20https%3A%2F%2Fd2.pub/badge.svg)](https://github.com/d2-projects/d2-admin/actions?query=workflow%3A%22Deploy+https%3A%2F%2Fd2.pub%22) | +| github | [d2-projects.github.io](https://d2-projects.github.io/d2-admin/) | Deploy on GitHub pages | [![](https://github.com/d2-projects/d2-admin/workflows/Deploy%20Github/badge.svg)](https://github.com/d2-projects/d2-admin/actions?query=workflow%3A%22Deploy+Github%22) | +| netlify | [netlify.com](https://d2-admin.netlify.com/) | Deploy on Netlify CDN | [![](https://api.netlify.com/api/v1/badges/a5dd4bbd-da3f-4145-98a9-8012577bdcf5/deploy-status)](https://app.netlify.com/sites/d2-admin/deploys) | ## Become a sponsor diff --git a/README.zh.md b/README.zh.md index 031d40d5..7b99be61 100644 --- a/README.zh.md +++ b/README.zh.md @@ -1,46 +1,18 @@ ![banner](https://raw.githubusercontent.com/FairyEver/d2-admin/master/doc/image/banner.png)

- - - - - - - - - - - - - - - - - - + + + + + + +

- - - - - - - - - -

-

- - - - - - - - - + + +

[D2Admin](https://github.com/d2-projects/d2-admin) 是一个完全 **开源免费** 的企业中后台产品前端集成方案,使用最新的前端技术栈,小于 60kb 的本地首屏 js 加载,已经做好大部分项目前期准备工作,并且带有大量示例代码,助力管理系统敏捷开发。 @@ -53,8 +25,11 @@ ## 预览 -* [https://d2.pub/d2-admin/preview/](https://d2.pub/d2-admin/preview/) -* [https://d2-projects.github.io/d2-admin/](https://d2-projects.github.io/d2-admin/) +| 位置 | 链接 | 介绍 | 状态 | +| --- | --- | --- | --- | +| d2.pub | [d2.pub](https://d2.pub/d2-admin/preview/) | 中国服务器,部分 cdn 依赖 | [![](https://github.com/d2-projects/d2-admin/workflows/Deploy%20https%3A%2F%2Fd2.pub/badge.svg)](https://github.com/d2-projects/d2-admin/actions?query=workflow%3A%22Deploy+https%3A%2F%2Fd2.pub%22) | +| github | [d2-projects.github.io](https://d2-projects.github.io/d2-admin/) | 部署在 GitHub pages | [![](https://github.com/d2-projects/d2-admin/workflows/Deploy%20Github/badge.svg)](https://github.com/d2-projects/d2-admin/actions?query=workflow%3A%22Deploy+Github%22) | +| netlify | [netlify.com](https://d2-admin.netlify.com/) | 部署在 Netlify CDN | [![](https://api.netlify.com/api/v1/badges/a5dd4bbd-da3f-4145-98a9-8012577bdcf5/deploy-status)](https://app.netlify.com/sites/d2-admin/deploys) | ## 成为赞助者 diff --git a/src/views/system/index/components/d2-badge/index.vue b/src/views/system/index/components/d2-badge/index.vue index b7989fad..a6398432 100644 --- a/src/views/system/index/components/d2-badge/index.vue +++ b/src/views/system/index/components/d2-badge/index.vue @@ -21,12 +21,13 @@ export default { { img: 'https://img.shields.io/github/issues/d2-projects/d2-admin.svg', link: `${linkD2Admin}/issues` }, { img: 'https://img.shields.io/github/issues-closed/d2-projects/d2-admin.svg', link: `${linkD2Admin}/issues?q=is%3Aissue+is%3Aclosed` }, { img: 'https://img.shields.io/github/issues-pr/d2-projects/d2-admin.svg', link: `${linkD2Admin}/pulls` }, - { img: 'https://img.shields.io/github/issues-pr-closed/d2-projects/d2-admin.svg', link: `${linkD2Admin}/pulls?q=is%3Apr+is%3Aclosed` } + { img: 'https://img.shields.io/github/issues-pr-closed/d2-projects/d2-admin.svg', link: `${linkD2Admin}/pulls?q=is%3Apr+is%3Aclosed` }, + { img: 'https://img.shields.io/github/last-commit/d2-projects/d2-admin.svg', link: linkD2Admin } ], [ - { img: 'https://img.shields.io/github/last-commit/d2-projects/d2-admin.svg', link: linkD2Admin }, - { img: 'https://github.com/d2-projects/d2-admin/workflows/Deploy%20https%3A%2F%2Fd2.pub/badge.svg', link: 'https://d2.pub' }, - { img: 'https://github.com/d2-projects/d2-admin/workflows/Deploy%20Github/badge.svg', link: 'https://d2-projects.github.io/d2-admin/' } + { img: 'https://github.com/d2-projects/d2-admin/workflows/Deploy%20https%3A%2F%2Fd2.pub/badge.svg', link: `${linkD2Admin}/actions?query=workflow%3A%22Deploy+https%3A%2F%2Fd2.pub%22` }, + { img: 'https://github.com/d2-projects/d2-admin/workflows/Deploy%20Github/badge.svg', link: `${linkD2Admin}/actions?query=workflow%3A%22Deploy+Github%22` }, + { img: 'https://api.netlify.com/api/v1/badges/a5dd4bbd-da3f-4145-98a9-8012577bdcf5/deploy-status', link: 'https://app.netlify.com/sites/d2-admin/deploys' } ], [ { img: 'https://visitor-count-badge.herokuapp.com/today.svg?repo_id=d2-projects.d2-admin', link: linkD2Admin },