Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 4 additions & 7 deletions .vitepress/config.mts
Original file line number Diff line number Diff line change
@@ -1,15 +1,12 @@
import { figure } from '@mdit/plugin-figure';
import { defineConfig, type HeadConfig } from 'vitepress';
import {
navTranslations,
themeConfigTranslations,
} from './data/i18n';
import { navTranslations, themeConfigTranslations } from './data/i18n';

// SEO 相关常量
const SITE_URL = 'https://pclce-web.demo.fis.ink';
const SITE_NAME = 'PCL CE';
const DEFAULT_DESCRIPTION =
'PCL CE是基于 PCL2 构建的开源免费 Minecraft 启动器,提供智能崩溃分析、多文件夹实例管理、资源一键下载与多账号支持';
'PCL CE是基于 PCL2 构建的开源免费 Minecraft 启动器,提供精准崩溃分析、多文件夹实例管理、资源一键下载与多账号支持';
const DEFAULT_KEYWORDS =
'PCL,PCL2,Minecraft启动器,我的世界启动器,开源启动器,崩溃分析,模组管理,Java管理';

Expand Down Expand Up @@ -147,7 +144,7 @@ export default defineConfig({
label: '简体中文',
lang: 'zh-CN',
title: 'PCL CE',
description: '开源免费的 Minecraft 启动器,支持崩溃分析与多版本管理',
description: '开源免费的 Minecraft 启动器,支持精准崩溃分析与多版本管理',
themeConfig: {
nav: navTranslations['zh-CN'],
...themeConfigTranslations['zh-CN'],
Expand All @@ -158,7 +155,7 @@ export default defineConfig({
lang: 'en',
title: 'PCL CE',
description:
'Open Source & Free Minecraft Launcher with Smart Crash Analysis',
'Open Source & Free Minecraft Launcher with Accurate Crash Analysis',
themeConfig: {
nav: navTranslations.en,
...themeConfigTranslations.en,
Expand Down
5 changes: 4 additions & 1 deletion .vitepress/data/locales/en.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,11 @@ export const en: LocaleMessages = {

history: {
title: 'Historical Releases',
subtitle: 'Fetch historical releases and download links from GitHub.',
subtitle: 'Select a release, choose source, then download the installer.',
selectLabel: 'Select a release',
sourceLabel: 'Download source',
sourceGithub: 'GitHub Official',
sourceMirror1: 'Mirror 1 (Accelerated)',
loading: 'Loading releases…',
error: 'Failed to load releases.',
retry: 'Retry',
Expand Down
3 changes: 3 additions & 0 deletions .vitepress/data/locales/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,9 @@ export interface LocaleMessages {
title: string;
subtitle: string;
selectLabel: string;
sourceLabel: string;
sourceGithub: string;
sourceMirror1: string;
loading: string;
error: string;
retry: string;
Expand Down
5 changes: 4 additions & 1 deletion .vitepress/data/locales/zh.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,11 @@ export const zh: LocaleMessages = {

history: {
title: '历史版本下载',
subtitle: '选择版本查看更新日志并下载对应安装包。',
subtitle: '选择版本并切换下载源后下载对应安装包。',
selectLabel: '选择版本',
sourceLabel: '下载源',
sourceGithub: 'GitHub 官方链接',
sourceMirror1: '下载线路1',
loading: '正在获取版本列表…',
error: '获取失败,请稍后再试。',
retry: '重试',
Expand Down
7 changes: 0 additions & 7 deletions .vitepress/theme/blur.css
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,6 @@
backdrop-filter: blur(10px);
}

/* Feature透明 */
.VPFeature {
border: 1px solid transparent;
box-shadow: 0 10px 30px 0 rgb(0 0 0 / 15%);
background-color: transparent;
}

/* 文档页侧边栏顶部透明 */
.curtain {
background-color: rgba(255, 255, 255, 0);
Expand Down
Loading
Loading