mirror of
https://github.com/StepanovPlaton/AboutMe.git
synced 2026-04-03 12:20:48 +04:00
Update categories
This commit is contained in:
@@ -38,7 +38,7 @@ collections:
|
|||||||
- { label: "Title", name: "title", widget: "string" }
|
- { label: "Title", name: "title", widget: "string" }
|
||||||
- { label: "Description", name: "description", widget: "text" }
|
- { label: "Description", name: "description", widget: "text" }
|
||||||
- { label: "Image", name: "image", widget: "image", required: false }
|
- { label: "Image", name: "image", widget: "image", required: false }
|
||||||
- { label: "Category", name: "category", widget: "select", options: ["proud","older","other"] }
|
- { label: "Category", name: "category", widget: "select", options: ["actual","history","other"] }
|
||||||
- { label: "Tech Stack", name: "techStack", widget: "list", default: [] }
|
- { label: "Tech Stack", name: "techStack", widget: "list", default: [] }
|
||||||
- { label: "Status", name: "status", widget: "select", options: ["completed","in-progress","planned"] }
|
- { label: "Status", name: "status", widget: "select", options: ["completed","in-progress","planned"] }
|
||||||
- { label: "Live Demo", name: "liveDemo", widget: "string", required: false }
|
- { label: "Live Demo", name: "liveDemo", widget: "string", required: false }
|
||||||
@@ -58,7 +58,7 @@ collections:
|
|||||||
- { label: "Name", name: "name", widget: "string" }
|
- { label: "Name", name: "name", widget: "string" }
|
||||||
- { label: "Description", name: "description", widget: "text" }
|
- { label: "Description", name: "description", widget: "text" }
|
||||||
- { label: "Icon", name: "icon", widget: "string" }
|
- { label: "Icon", name: "icon", widget: "string" }
|
||||||
- { label: "Category", name: "category", widget: "select", options: ["ai","frontend","backend","native","devops","ide","tools","others"] }
|
- { label: "Category", name: "category", widget: "select", options: ["ai","frontend","backend","native","devops","ide","tools","softskills","others"] }
|
||||||
- { label: "Level", name: "level", widget: "select", options: ["beginner","intermediate","advanced","expert"] }
|
- { label: "Level", name: "level", widget: "select", options: ["beginner","intermediate","advanced","expert"] }
|
||||||
- label: "Experience"
|
- label: "Experience"
|
||||||
name: "experience"
|
name: "experience"
|
||||||
|
|||||||
@@ -70,8 +70,8 @@ enum I18nKey {
|
|||||||
projects = "projects",
|
projects = "projects",
|
||||||
projectsSubtitle = "projectsSubtitle",
|
projectsSubtitle = "projectsSubtitle",
|
||||||
projectsAll = "projectsAll",
|
projectsAll = "projectsAll",
|
||||||
projectsProud = "projectsProud",
|
projectsActual = "projectsActual",
|
||||||
projectsOlder = "projectsOlder",
|
projectsHistory = "projectsHistory",
|
||||||
projectsOther = "projectsOther",
|
projectsOther = "projectsOther",
|
||||||
projectTechStack = "projectTechStack",
|
projectTechStack = "projectTechStack",
|
||||||
projectLiveDemo = "projectLiveDemo",
|
projectLiveDemo = "projectLiveDemo",
|
||||||
@@ -100,6 +100,7 @@ enum I18nKey {
|
|||||||
skillsDevOps = "skillsDevOps",
|
skillsDevOps = "skillsDevOps",
|
||||||
skillsIDE = "skillsIDE",
|
skillsIDE = "skillsIDE",
|
||||||
skillsTools = "skillsTools",
|
skillsTools = "skillsTools",
|
||||||
|
skillsSoftSkills = "skillsSoftSkills",
|
||||||
skillsOthers = "skillsOthers",
|
skillsOthers = "skillsOthers",
|
||||||
skillLevel = "skillLevel",
|
skillLevel = "skillLevel",
|
||||||
skillLevelBeginner = "skillLevelBeginner",
|
skillLevelBeginner = "skillLevelBeginner",
|
||||||
|
|||||||
@@ -73,11 +73,11 @@ export const ru: Translation = {
|
|||||||
[Key.projects]: "Проекты",
|
[Key.projects]: "Проекты",
|
||||||
[Key.projectsSubtitle]: "Мое портфолио проектов",
|
[Key.projectsSubtitle]: "Мое портфолио проектов",
|
||||||
[Key.projectsAll]: "Все",
|
[Key.projectsAll]: "Все",
|
||||||
[Key.projectsProud]: "Проекты, которыми я горжусь",
|
[Key.projectsActual]: "Проекты, которыми я горжусь",
|
||||||
[Key.projectsOlder]: "Более старые проекты, которые показывают мой путь",
|
[Key.projectsHistory]: "Более старые проекты, которые показывают мой путь",
|
||||||
[Key.projectsOther]: "Прочие начинания",
|
[Key.projectsOther]: "Прочие начинания",
|
||||||
[Key.projectTechStack]: "Технологический стек",
|
[Key.projectTechStack]: "Технологический стек",
|
||||||
[Key.projectLiveDemo]: "Живая демонстрация",
|
[Key.projectLiveDemo]: "Демо",
|
||||||
[Key.projectSourceCode]: "Исходный код",
|
[Key.projectSourceCode]: "Исходный код",
|
||||||
[Key.projectDescription]: "Описание проекта",
|
[Key.projectDescription]: "Описание проекта",
|
||||||
[Key.projectStatus]: "Статус",
|
[Key.projectStatus]: "Статус",
|
||||||
@@ -85,12 +85,12 @@ export const ru: Translation = {
|
|||||||
[Key.projectStatusInProgress]: "В разработке",
|
[Key.projectStatusInProgress]: "В разработке",
|
||||||
[Key.projectStatusPlanned]: "Запланирован",
|
[Key.projectStatusPlanned]: "Запланирован",
|
||||||
[Key.projectsTotal]: "Всего проектов",
|
[Key.projectsTotal]: "Всего проектов",
|
||||||
[Key.projectsCompleted]: "Завершённых",
|
[Key.projectsCompleted]: "Завершён",
|
||||||
[Key.projectsInProgress]: "В разработке",
|
[Key.projectsInProgress]: "В разработке",
|
||||||
[Key.projectsTechStack]: "Статистика технологий",
|
[Key.projectsTechStack]: "Статистика технологий",
|
||||||
[Key.projectsFeatured]: "Рекомендуемые проекты",
|
[Key.projectsFeatured]: "Лучшие проекты",
|
||||||
[Key.projectsPlanned]: "Запланированных",
|
[Key.projectsPlanned]: "Запланированных",
|
||||||
[Key.projectsDemo]: "Живая демонстрация",
|
[Key.projectsDemo]: "Демо",
|
||||||
[Key.projectsSource]: "Исходный код",
|
[Key.projectsSource]: "Исходный код",
|
||||||
|
|
||||||
// Страница навыков
|
// Страница навыков
|
||||||
@@ -103,6 +103,7 @@ export const ru: Translation = {
|
|||||||
[Key.skillsDevOps]: "DevOps",
|
[Key.skillsDevOps]: "DevOps",
|
||||||
[Key.skillsIDE]: "IDE",
|
[Key.skillsIDE]: "IDE",
|
||||||
[Key.skillsTools]: "Инструменты",
|
[Key.skillsTools]: "Инструменты",
|
||||||
|
[Key.skillsSoftSkills]: "SoftSkills",
|
||||||
[Key.skillsOthers]: "Прочее",
|
[Key.skillsOthers]: "Прочее",
|
||||||
[Key.skillLevel]: "Уровень владения",
|
[Key.skillLevel]: "Уровень владения",
|
||||||
[Key.skillLevelBeginner]: "Начинающий",
|
[Key.skillLevelBeginner]: "Начинающий",
|
||||||
|
|||||||
@@ -44,10 +44,10 @@ const projectsByCategory = categories.reduce(
|
|||||||
// 获取分类文本的国际化翻译
|
// 获取分类文本的国际化翻译
|
||||||
const getCategoryText = (category: string) => {
|
const getCategoryText = (category: string) => {
|
||||||
switch (category) {
|
switch (category) {
|
||||||
case "proud":
|
case "actual":
|
||||||
return i18n(I18nKey.projectsProud);
|
return i18n(I18nKey.projectsActual);
|
||||||
case "older":
|
case "history":
|
||||||
return i18n(I18nKey.projectsOlder);
|
return i18n(I18nKey.projectsHistory);
|
||||||
case "other":
|
case "other":
|
||||||
return i18n(I18nKey.projectsOther);
|
return i18n(I18nKey.projectsOther);
|
||||||
case UNCATEGORIZED:
|
case UNCATEGORIZED:
|
||||||
|
|||||||
@@ -57,6 +57,8 @@ const getCategoryText = (category: string) => {
|
|||||||
return i18n(I18nKey.skillsIDE);
|
return i18n(I18nKey.skillsIDE);
|
||||||
case "tools":
|
case "tools":
|
||||||
return i18n(I18nKey.skillsTools);
|
return i18n(I18nKey.skillsTools);
|
||||||
|
case "softskills":
|
||||||
|
return i18n(I18nKey.skillsSoftSkills);
|
||||||
case "others":
|
case "others":
|
||||||
return i18n(I18nKey.skillsOthers);
|
return i18n(I18nKey.skillsOthers);
|
||||||
case UNCATEGORIZED:
|
case UNCATEGORIZED:
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ export interface Project {
|
|||||||
title: string;
|
title: string;
|
||||||
description: string;
|
description: string;
|
||||||
image: string;
|
image: string;
|
||||||
category: "proud" | "older" | "other";
|
category: "actual" | "history" | "other";
|
||||||
techStack: string[];
|
techStack: string[];
|
||||||
status: "completed" | "in-progress" | "planned";
|
status: "completed" | "in-progress" | "planned";
|
||||||
demoUrl?: string;
|
demoUrl?: string;
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ export interface Skill {
|
|||||||
name: string;
|
name: string;
|
||||||
description: string;
|
description: string;
|
||||||
icon: string; // Iconify icon name
|
icon: string; // Iconify icon name
|
||||||
category: "ai" | "frontend" | "backend" | "native" | "devops" | "ide" | "tools" | "others";
|
category: "ai" | "frontend" | "backend" | "native" | "devops" | "ide" | "tools" | "softskills" | "others";
|
||||||
level: "beginner" | "intermediate" | "advanced" | "expert";
|
level: "beginner" | "intermediate" | "advanced" | "expert";
|
||||||
experience: {
|
experience: {
|
||||||
years: number;
|
years: number;
|
||||||
@@ -41,6 +41,7 @@ export const getSkillStats = () => {
|
|||||||
devops: skillsData.filter((s) => s.category === "devops").length,
|
devops: skillsData.filter((s) => s.category === "devops").length,
|
||||||
ide: skillsData.filter((s) => s.category === "ide").length,
|
ide: skillsData.filter((s) => s.category === "ide").length,
|
||||||
tools: skillsData.filter((s) => s.category === "tools").length,
|
tools: skillsData.filter((s) => s.category === "tools").length,
|
||||||
|
softskills: skillsData.filter((s) => s.category === "softskills").length,
|
||||||
others: skillsData.filter((s) => s.category === "others").length,
|
others: skillsData.filter((s) => s.category === "others").length,
|
||||||
};
|
};
|
||||||
return { total, byLevel, byCategory };
|
return { total, byLevel, byCategory };
|
||||||
|
|||||||
@@ -23,7 +23,7 @@ site:
|
|||||||
src: "https://fonts.googleapis.com/css2?family=Zen+Maru+Gothic&display=swap"
|
src: "https://fonts.googleapis.com/css2?family=Zen+Maru+Gothic&display=swap"
|
||||||
family: "Zen Maru Gothic"
|
family: "Zen Maru Gothic"
|
||||||
themeColor:
|
themeColor:
|
||||||
hue: 55
|
hue: 90
|
||||||
fixed: true
|
fixed: true
|
||||||
defaultTheme: "dark"
|
defaultTheme: "dark"
|
||||||
wallpaper:
|
wallpaper:
|
||||||
@@ -180,7 +180,7 @@ musicPlayer:
|
|||||||
cover: "assets/images/reflecting.jpg"
|
cover: "assets/images/reflecting.jpg"
|
||||||
url: "assets/music/reflecting.mp3"
|
url: "assets/music/reflecting.mp3"
|
||||||
duration: 90
|
duration: 90
|
||||||
autoplay: true
|
autoplay: false
|
||||||
|
|
||||||
pio:
|
pio:
|
||||||
enable: false
|
enable: false
|
||||||
Reference in New Issue
Block a user