Chinese
All checks were successful
Build and Deploy Nuxt / build (push) Successful in 31s

This commit is contained in:
2026-06-10 19:11:02 +02:00
parent 20b65fd15e
commit 22f8ad0737
7 changed files with 64 additions and 9 deletions

View File

@@ -1,3 +1,5 @@
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;700&family=Noto+Sans+SC:wght@400;700&display=swap');
@font-face {
font-family: 'Hurmit';
src: url('@/assets/fonts/Hermit/Hermit-Regular.woff2') format('woff2');

View File

@@ -23,7 +23,7 @@ body {
* {
color: var(--color-text);
font-family: 'Hurmit';
font-family: 'Hurmit', 'IBM Plex Mono', 'Noto Sans SC', monospace;
cursor: default;
}
@@ -55,7 +55,7 @@ li::before {
top: 0px;
left: 0px;
color: var(--color-border-color);
font-family: 'Hurmit', monospace;
font-family: 'Hurmit', 'IBM Plex Mono', 'Noto Sans SC', monospace;
font-size: 0.9em;
}
@@ -83,7 +83,7 @@ blockquote::before {
/* TUI-style code blocks */
pre, code {
font-family: 'Hurmit', monospace;
font-family: 'Hurmit', 'IBM Plex Mono', monospace;
background-color: var(--color-background-line);
border: 1px solid var(--color-border-color);
}
@@ -128,7 +128,7 @@ hr {
background-color: var(--color-background);
padding: 0 8px;
color: var(--color-border-color);
font-family: 'Hurmit', monospace;
font-family: 'Hurmit', 'IBM Plex Mono', monospace;
font-size: 0.7rem;
letter-spacing: 2px;
}

View File

@@ -2,7 +2,8 @@
"locales": {
"en": "🇺🇸 Anglès",
"es": "🇪🇸 Espanyol",
"ca": "🇦🇩 Català"
"ca": "🇦🇩 Català",
"zh": "🇨🇳 中文"
},
"themes": {
"light": "Clar",

View File

@@ -2,7 +2,8 @@
"locales": {
"en": "🇺🇸 English",
"es": "🇪🇸 Spanish",
"ca": "🇦🇩 Catalan"
"ca": "🇦🇩 Catalan",
"zh": "🇨🇳 中文"
},
"themes": {
"light": "Light",

View File

@@ -2,7 +2,8 @@
"locales": {
"en": "🇺🇸 Ingles",
"es": "🇪🇸 Español",
"ca": "🇦🇩 Catalán"
"ca": "🇦🇩 Catalán",
"zh": "🇨🇳 中文"
},
"themes": {
"light": "Claro",

View File

@@ -0,0 +1,49 @@
{
"locales": {
"en": "🇺🇸 English",
"es": "🇪🇸 西班牙语",
"ca": "🇦🇩 加泰罗尼亚语",
"zh": "🇨🇳 中文"
},
"themes": {
"light": "浅色",
"dark": "深色",
"accents": {
"katlum": "Katlum"
}
},
"site_options": {
"language_selector": {
"dropdown": "语言"
},
"theme_selector": {
"dropdown": "主题",
"dragon": "龙"
}
},
"header": {
"links": {
"blog": "博客",
"contact": "联系",
"art": "艺术"
}
},
"pages": {
"intro_heading": "简介",
"contact_heading": "联系方式",
"projects_heading": "项目",
"blog_heading": "博客文章",
"art_heading": "艺术画廊",
"stats_heading": "统计与信息",
"stat_lines_of_code": "代码行数",
"stat_projects": "已完成项目",
"stat_coffee": "消耗杯数",
"stat_board_games": "拥有桌游数",
"stat_years_programming": "编程年数",
"stat_deployments": "生产部署次数",
"show_more": "显示更多...",
"show_less": "收起"
},
"prefooter": "",
"footer": "(C) 2026 Aran Roig. All rights whatever."
}

View File

@@ -21,7 +21,8 @@ export default defineNuxtConfig({
locales: [
{ code: 'en', iso: 'en-US', name: '🇺🇸 English', file: 'en.json' },
{ code: 'es', iso: 'es-ES', name: '🇪🇸 Spanish', file: 'es.json' },
{ code: 'ca', iso: 'ca-ES', name: '🇦🇩 Catalan', file: 'ca.json' }
{ code: 'ca', iso: 'ca-ES', name: '🇦🇩 Catalan', file: 'ca.json' },
{ code: 'zh', iso: 'zh-CN', name: '🇨🇳 中文', file: 'zh.json' }
],
defaultLocale: 'en',
vueI18n: './i18n.config.ts',