迁移至新觅源码库 — 替换社区链接,保留AI功能
This commit is contained in:
@@ -137,7 +137,7 @@ onMounted(() => {
|
||||
</button>
|
||||
<a
|
||||
class="btn-outline"
|
||||
href="https://github.com/EKKOLearnAI/hermes-web-ui"
|
||||
href="https://www.xinmi.cloud/root/Hermes-ui"
|
||||
target="_blank"
|
||||
rel="noopener"
|
||||
>
|
||||
|
||||
@@ -15,10 +15,10 @@ const activeTab = ref<'desktop' | 'npm' | 'docker' | 'source'>('desktop')
|
||||
|
||||
const releaseVersion = __APP_VERSION__.replace(/^v/, '')
|
||||
const releaseTag = `v${releaseVersion}`
|
||||
const releaseBaseUrl = 'https://github.com/EKKOLearnAI/hermes-web-ui/releases'
|
||||
const releaseBaseUrl = 'https://www.xinmi.cloud/root/Hermes-ui/releases'
|
||||
const releaseUrl = `${releaseBaseUrl}/tag/${releaseTag}`
|
||||
const githubDownloadUrl = `${releaseBaseUrl}/download/${releaseTag}`
|
||||
const cloudflareDownloadUrl = `https://download.ekkolearnai.com/${releaseTag}`
|
||||
const cloudflareDownloadUrl = `https://download.www.xinmi.cloud/${releaseTag}`
|
||||
const desktopDownloads = computed(() =>
|
||||
(tm('install.desktop.downloads') as DesktopDownload[]).map((item) => {
|
||||
const assetName = `Hermes.Studio-${releaseVersion}-${item.assetSuffix}`
|
||||
|
||||
@@ -17,7 +17,7 @@ const chartSrc = computed(() => {
|
||||
|
||||
onMounted(async () => {
|
||||
try {
|
||||
const res = await fetch('https://api.github.com/repos/EKKOLearnAI/hermes-web-ui')
|
||||
const res = await fetch('https://api.www.xinmi.cloud/repos/EKKOLearnAI/hermes-web-ui')
|
||||
const data = await res.json()
|
||||
stars.value = data.stargazers_count
|
||||
} catch {}
|
||||
@@ -32,7 +32,7 @@ onMounted(async () => {
|
||||
<div class="star-badges reveal reveal-delay-1">
|
||||
<a
|
||||
class="star-btn"
|
||||
href="https://github.com/EKKOLearnAI/hermes-web-ui"
|
||||
href="https://www.xinmi.cloud/root/Hermes-ui"
|
||||
target="_blank"
|
||||
rel="noopener"
|
||||
>
|
||||
|
||||
@@ -19,7 +19,7 @@ const { t } = useI18n()
|
||||
<p class="footer-meta">{{ t('footer.license') }}</p>
|
||||
<a
|
||||
class="footer-github"
|
||||
href="https://github.com/EKKOLearnAI/hermes-web-ui"
|
||||
href="https://www.xinmi.cloud/root/Hermes-ui"
|
||||
target="_blank"
|
||||
rel="noopener"
|
||||
>
|
||||
|
||||
@@ -39,7 +39,7 @@ function goHome() {
|
||||
<a class="nav-link" @click.prevent="navigateTo('docs.getting-started')">{{ t('nav.docs') }}</a>
|
||||
<a
|
||||
class="nav-link"
|
||||
href="https://github.com/EKKOLearnAI/hermes-web-ui"
|
||||
href="https://www.xinmi.cloud/root/Hermes-ui"
|
||||
target="_blank"
|
||||
rel="noopener"
|
||||
>
|
||||
@@ -84,7 +84,7 @@ function goHome() {
|
||||
<div class="mobile-menu-inner" @click.stop>
|
||||
<a class="mobile-link" @click.prevent="navigateTo('landing')">{{ t('nav.home') }}</a>
|
||||
<a class="mobile-link" @click.prevent="navigateTo('docs.getting-started')">{{ t('nav.docs') }}</a>
|
||||
<a class="mobile-link" href="https://github.com/EKKOLearnAI/hermes-web-ui" target="_blank" rel="noopener">{{ t('nav.github') }}</a>
|
||||
<a class="mobile-link" href="https://www.xinmi.cloud/root/Hermes-ui" target="_blank" rel="noopener">{{ t('nav.github') }}</a>
|
||||
<div class="mobile-actions">
|
||||
<button class="mobile-action-btn" @click="switchLocale">
|
||||
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" class="action-icon">
|
||||
|
||||
@@ -156,7 +156,7 @@ export default {
|
||||
},
|
||||
source: {
|
||||
title: 'From Source',
|
||||
cmd1: 'git clone https://github.com/EKKOLearnAI/hermes-web-ui.git',
|
||||
cmd1: 'git clone https://www.xinmi.cloud/root/Hermes-ui.git',
|
||||
cmd2: 'cd hermes-web-ui && npm install && npm run dev',
|
||||
},
|
||||
prereq: 'Requires Node.js >= 23',
|
||||
|
||||
@@ -156,7 +156,7 @@ export default {
|
||||
},
|
||||
source: {
|
||||
title: '源码安装',
|
||||
cmd1: 'git clone https://github.com/EKKOLearnAI/hermes-web-ui.git',
|
||||
cmd1: 'git clone https://www.xinmi.cloud/root/Hermes-ui.git',
|
||||
cmd2: 'cd hermes-web-ui && npm install && npm run dev',
|
||||
},
|
||||
prereq: '需要 Node.js >= 23',
|
||||
|
||||
Reference in New Issue
Block a user