Skip to content

Commit

Permalink
feat: rename repo from veact-admin to surmon.admin
Browse files Browse the repository at this point in the history
  • Loading branch information
surmon-china committed May 20, 2024
1 parent 43c807c commit 5484c0d
Show file tree
Hide file tree
Showing 11 changed files with 19 additions and 19 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
# veact-admin
# surmon.admin

[![nodepress](https://raw.githubusercontent.com/surmon-china/nodepress/main/badge.svg)](https://github.com/surmon-china/nodepress)
 
[![veact](https://img.shields.io/badge/WITH-VEACT-42a97a?style=for-the-badge&labelColor=35495d)](https://github.com/veactjs/veact)
 
[![GitHub stars](https://img.shields.io/github/stars/surmon-china/veact-admin.svg?style=for-the-badge)](https://github.com/surmon-china/veact-admin/stargazers)
[![GitHub stars](https://img.shields.io/github/stars/surmon-china/surmon.admin.svg?style=for-the-badge)](https://github.com/surmon-china/surmon.admin/stargazers)
 
[![GitHub issues](https://img.shields.io/github/issues/surmon-china/veact-admin.svg?style=for-the-badge)](https://github.com/surmon-china/veact-admin/issues)
[![GitHub issues](https://img.shields.io/github/issues/surmon-china/surmon.admin.svg?style=for-the-badge)](https://github.com/surmon-china/surmon.admin/issues)
 
[![GitHub license](https://img.shields.io/github/license/surmon-china/veact-admin.svg?style=for-the-badge)](/LICENSE)
[![GitHub license](https://img.shields.io/github/license/surmon-china/surmon.admin.svg?style=for-the-badge)](/LICENSE)

Admin client for [surmon.me](https://github.com/surmon-china/surmon.me) blog, powered by [`React`](https://github.com/facebook/react) and [`Veact`](https://github.com/veactjs/veact).

**适用于 [surmon.me](https://github.com/surmon-china/surmon.me) 博客的管理员后台应用,使用 [`React`](https://github.com/facebook/react)[`Veact`](https://github.com/veactjs/veact) 进行开发。**

**在线预览:[Online demo site](https://github.surmon.me/veact-admin)**
**在线预览:[Online demo site](https://github.surmon.me/surmon.admin)**

---

Expand Down
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<meta charset="UTF-8" />
<meta name="msapplication-TileColor" content="#ffffff" />
<meta name="theme-color" content="#4691d1" />
<meta name="keywords" content="surmon,surmon.me,veact-admin,nodepress,前端技术开发" />
<meta name="keywords" content="surmon,surmon.me,surmon.admin,nodepress,前端技术开发" />
<meta
name="description"
content="Admin client for Surmon.me powered by Veact and AntDesign"
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"name": "veact-admin",
"version": "3.0.0",
"name": "surmon.admin",
"version": "3.0.1",
"author": "Surmon",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/surmon-china/veact-admin.git"
"url": "https://github.com/surmon-china/surmon.admin.git"
},
"scripts": {
"dev": "vite",
Expand Down
2 changes: 1 addition & 1 deletion public/__demo__/index.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// JSON actions
const fetchJSON = (filePath) => {
return fetch(`/veact-admin/__demo__/mock/${filePath}.json`).then((response) => response.json())
return fetch(`/surmon.admin/__demo__/mock/${filePath}.json`).then((response) => response.json())
}

// first fetch cache data map
Expand Down
2 changes: 1 addition & 1 deletion public/__demo__/mock/article/61030f5fcf1faa098ee126b2.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"title": "旅途感想",
"description": "没有整理好的旅途感想",
"content": "\n旅途的开始,心情是轻松的。\n\n此处省略一万字...\n",
"thumbnail": "/veact-admin/images/thumbnail.jpg",
"thumbnail": "/surmon.admin/images/thumbnail.jpg",
"extends": [],
"meta": { "likes": 51, "views": 11672, "comments": 39 },
"updated_at": "2019-07-24T15:53:33.133Z",
Expand Down
2 changes: 1 addition & 1 deletion public/__demo__/mock/article/610c29438a907384c63fef00.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"title": "今日日记",
"description": "今天发生的一些事情",
"content": "\n今天上海的天气非常好,万里无云。\n\n此处省略一万字...\n",
"thumbnail": "/veact-admin/images/thumbnail.jpg",
"thumbnail": "/surmon.admin/images/thumbnail.jpg",
"extends": [],
"meta": { "likes": 51, "views": 11672, "comments": 39 },
"updated_at": "2019-07-24T15:53:33.133Z",
Expand Down
2 changes: 1 addition & 1 deletion public/__demo__/mock/article/612c81321a53290533a7b782.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"title": "JavaScript 权威指南小结",
"description": "学习总结",
"content": "\n《JavaScript权威指南》是2007年机械工业出版社出版的图书,作者是弗拉纳根(David Flanagan,美)。\n\n本书全面介绍了JavaScript语言的核心,以及Web浏览器中实现的遗留和标准的DOM。\n由于本书封面上是一只“爪哇犀牛”(封面上印上动物是原书出版公司O'Reilly一贯的风格),读者亲切地称其为“犀牛书”。\n\n此处省略一万字...\n",
"thumbnail": "/veact-admin/images/thumbnail.jpg",
"thumbnail": "/surmon.admin/images/thumbnail.jpg",
"extends": [],
"meta": { "likes": 51, "views": 11672, "comments": 39 },
"updated_at": "2019-07-24T15:53:33.133Z",
Expand Down
6 changes: 3 additions & 3 deletions public/__demo__/mock/article/list.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
"_id": "612c81321a53290533a7b782",
"title": "JavaScript 权威指南小结",
"description": "学习总结",
"thumbnail": "/veact-admin/images/thumbnail.jpg",
"thumbnail": "/surmon.admin/images/thumbnail.jpg",
"extends": [],
"featured": true,
"meta": { "likes": 14, "views": 297, "comments": 2 },
Expand Down Expand Up @@ -133,7 +133,7 @@
"_id": "610c29438a907384c63fef00",
"title": "今日日记",
"description": "今天发生的一些事情",
"thumbnail": "/veact-admin/images/thumbnail.jpg",
"thumbnail": "/surmon.admin/images/thumbnail.jpg",
"featured": true,
"extends": [],
"meta": { "likes": 9, "views": 915, "comments": 11 },
Expand Down Expand Up @@ -202,7 +202,7 @@
"_id": "61030f5fcf1faa098ee126b2",
"title": "旅途感想",
"description": "没有整理好的旅途感想",
"thumbnail": "/veact-admin/images/thumbnail.jpg",
"thumbnail": "/surmon.admin/images/thumbnail.jpg",
"extends": [],
"meta": { "likes": 15, "views": 771, "comments": 9 },
"created_at": "2021-07-29T20:28:15.700Z",
Expand Down
2 changes: 1 addition & 1 deletion public/__demo__/mock/auth/admin.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@
"name": "Admin",
"slogan": "Surmon.me admin system",
"email": "admin@example.com",
"avatar": "/veact-admin/images/nodepress.png"
"avatar": "/surmon.admin/images/nodepress.png"
}
}
2 changes: 1 addition & 1 deletion src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import { Language } from '@/contexts/Locale'

export const APP_TITLE = 'Surmon.me'
export const BLOG_URL = `https://surmon.me`
export const GITHUB_REPO_URL = 'https://github.com/surmon-china/veact-admin'
export const GITHUB_REPO_URL = 'https://github.com/surmon-china/surmon.admin'

export const APP_AUTH_HEADER_KEY = 'Authorization'
export const APP_CONTENT_SPACE_SIZE: SizeType = 'middle'
Expand Down
2 changes: 1 addition & 1 deletion vite.config.demo.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { UserConfig } from 'vite'

const DEMO_BASE_PATH = '/veact-admin/'
const DEMO_BASE_PATH = '/surmon.admin/'
const GOOGLE_ANALYTICS_MEASUREMENT_ID = 'G-WNSSKPKKMG'
const GOOGLE_ADSENSE_CLIENT_ID = 'ca-pub-4710915636313788'

Expand Down

0 comments on commit 5484c0d

Please sign in to comment.