Skip to content

Commit

Permalink
feat: 增加在线闹钟
Browse files Browse the repository at this point in the history
  • Loading branch information
dxhuii committed Feb 26, 2025
1 parent ae6e9fe commit 9b0709c
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 11 deletions.
26 changes: 15 additions & 11 deletions docs/.vitepress/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import { version } from '../../package.json'
import vite from './vite.config'

const VUE: DefaultTheme.NavItemWithLink[] = [
{ text: 'English', link: 'https://vuejs.cms.im' },
{ text: '简体中文', link: 'https://cn.vuejs.cms.im' },
{ text: 'English', link: 'https://vue.cms.im' },
{ text: '简体中文', link: 'https://cn.vue.cms.im' },
{ text: 'Vite', link: 'https://vite.cms.im' },
{ text: 'Vitest', link: 'https://vitest.cms.im' },
{ text: 'Vitepress', link: 'https://vitepress.cms.im' },
Expand All @@ -18,9 +18,12 @@ const REACT: (DefaultTheme.NavItemWithLink | DefaultTheme.NavItemChildren)[] = [
{ text: '简体中文', link: 'https://zh-hans-react.cms.im' },
]

const title = '内容管理'
const description = '内容管理,收集优秀的开源文档'

export default defineConfig({
title: '内容管理',
description: '内容管理,收集优秀的开源文档',
title,
description,
markdown: {
theme: {
light: 'vitesse-light',
Expand Down Expand Up @@ -79,16 +82,17 @@ export default defineConfig({
},

head: [
// ['meta', { name: 'theme-color', content: '#ffffff' }],
['link', { rel: 'icon', href: '/favicon.svg', type: 'image/svg+xml' }],
['meta', { name: 'author', content: 'Dxh' }],
// ['meta', { property: 'og:title', content: '' }],
// ['meta', { property: 'og:image', content: '' }],
// ['meta', { property: 'og:description', content: '_description_' }],
// ['meta', { name: 'twitter:card', content: 'summary_large_image' }],
// ['meta', { name: 'twitter:image', content: '' }],
['meta', { property: 'og:title', content: title }],
['meta', { property: 'og:type', content: 'website' }],
['meta', { property: 'og:image', content: '/favicon.svg' }],
['meta', { property: 'og:description', content: description }],
['meta', { name: 'twitter:card', content: 'summary_large_image' }],
['meta', { name: 'twitter:image', content: '/favicon.svg' }],
['meta', { name: 'twitter:title', content: title }],
['meta', { name: 'twitter:description', content: description }],
['meta', { name: 'viewport', content: 'width=device-width, initial-scale=1.0, viewport-fit=cover' }],
['script', { 'src': 'https://d.vv.chat/script.js', 'defer': 'true', 'data-website-id': '691ab4f0-9191-40bb-8b3c-da5d2ffb3ab1' }],
['meta', { name: 'keywords', content: 'cms.im,文档,开源,优秀,收集,cms,文档中心,开源文档,内容管理' }],
],
})
4 changes: 4 additions & 0 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,10 @@ features:
title: Vitepress
details: 即时按需原子化CSS引擎
link: https://vitepress.cms.im
- icon: <img w-8 h-8 src="https://onlinealarmclock.cms.im/logo.png" />
title: Online Alarm Clock
details: 在线闹钟
link: https://onlinealarmclock.cms.im
- icon: <img w-8 h-8 src="https://quickref.cms.im/icons/favicon.svg" />
title: Quick Reference
details: 快速参考备忘清单【速查表】
Expand Down

0 comments on commit 9b0709c

Please sign in to comment.