From 9d78f5f92088f539e3a292ea98972549df73007b Mon Sep 17 00:00:00 2001 From: mozzie Date: Mon, 30 Oct 2023 10:46:01 +0800 Subject: [PATCH] feat: resume --- apps/dockyard/src/assets/style/media.less | 21 ++++++++ apps/dockyard/src/languages/ar.yml | 7 +++ apps/dockyard/src/languages/de.yml | 6 +++ apps/dockyard/src/languages/en.yml | 6 +++ apps/dockyard/src/languages/es.yml | 7 +++ apps/dockyard/src/languages/fr.yml | 7 +++ apps/dockyard/src/languages/ja.yml | 7 +++ apps/dockyard/src/languages/ko.yml | 7 +++ apps/dockyard/src/languages/ru.yml | 11 +++- apps/dockyard/src/languages/zh-CN.yml | 6 +++ apps/dockyard/src/languages/zh-TW.yml | 11 +++- apps/dockyard/src/modules/resume/index.ejs | 21 ++++++-- apps/dockyard/src/modules/resume/index.less | 34 +++++++++---- test/hexo-test/source/resume/index.md | 56 +++++++++------------ 14 files changed, 156 insertions(+), 51 deletions(-) diff --git a/apps/dockyard/src/assets/style/media.less b/apps/dockyard/src/assets/style/media.less index 0467210..6e8de22 100644 --- a/apps/dockyard/src/assets/style/media.less +++ b/apps/dockyard/src/assets/style/media.less @@ -92,7 +92,28 @@ } } + + .task-bar-popover { width: 80% !important; } +} + +@media only screen and (max-width: 1280px) { + .resume { + + .container { + grid-template-columns: auto !important; + column-gap: 0 !important; + + >aside { + display: none; + } + + >main { + margin: 0 auto; + max-width: 860px; + } + } + } } \ No newline at end of file diff --git a/apps/dockyard/src/languages/ar.yml b/apps/dockyard/src/languages/ar.yml index cb73675..5df2598 100644 --- a/apps/dockyard/src/languages/ar.yml +++ b/apps/dockyard/src/languages/ar.yml @@ -27,6 +27,13 @@ text-license: الترخيص text-post-link: رابط المنشور text-catalog: الفهرس text-today: اليوم +text-resume: السيرة الذاتية +text-skill: مهارة +text-education: التعليم +text-workExp: الخبرة العملية +text-project: المشروع +text-project-name: اسم المشروع +text-project-desc: وصف المشروع January: يناير February: فبراير diff --git a/apps/dockyard/src/languages/de.yml b/apps/dockyard/src/languages/de.yml index f324300..bb87095 100644 --- a/apps/dockyard/src/languages/de.yml +++ b/apps/dockyard/src/languages/de.yml @@ -27,6 +27,12 @@ text-license: Lizenz text-post-link: Beitrag URL text-catalog: Katalog text-today: Heute +text-skill: Fähigkeit +text-education: Bildung +text-workExp: Berufserfahrung +text-project: Projekt +text-project-name: Projektname +text-project-desc: Projektbeschreibung January: Januar February: Februar diff --git a/apps/dockyard/src/languages/en.yml b/apps/dockyard/src/languages/en.yml index e6a5e9f..807ce97 100644 --- a/apps/dockyard/src/languages/en.yml +++ b/apps/dockyard/src/languages/en.yml @@ -30,6 +30,12 @@ text-post-link: Post Url text-catalog: Catalog text-today: Today text-resume: Resume +text-skill: Skill +text-education: Educational +text-workExp: Work Experience +text-project: Project +text-project-name: Project Name +text-project-desc: Project Description January: January February: February diff --git a/apps/dockyard/src/languages/es.yml b/apps/dockyard/src/languages/es.yml index 4614adc..393c888 100644 --- a/apps/dockyard/src/languages/es.yml +++ b/apps/dockyard/src/languages/es.yml @@ -27,6 +27,13 @@ text-license: Licencia text-post-link: URL de la Publicación text-catalog: Catálogo text-today: Hoy +text-resume: Currículum +text-skill: Habilidad +text-education: Educación +text-workExp: Experiencia laboral +text-project: Proyecto +text-project-name: Nombre del proyecto +text-project-desc: Descripción del proyecto January: Enero February: Febrero diff --git a/apps/dockyard/src/languages/fr.yml b/apps/dockyard/src/languages/fr.yml index 0a41391..9cdc979 100644 --- a/apps/dockyard/src/languages/fr.yml +++ b/apps/dockyard/src/languages/fr.yml @@ -27,6 +27,13 @@ text-license: Licence text-post-link: URL de l'Article text-catalog: Catalogue text-today: Aujourd'hui +text-resume: CV +text-skill: Compétence +text-education: Éducation +text-workExp: Expérience professionnelle +text-project: Projet +text-project-name: Nom du projet +text-project-desc: Description du projet January: Janvier February: Février diff --git a/apps/dockyard/src/languages/ja.yml b/apps/dockyard/src/languages/ja.yml index 90a0d1b..6156b31 100644 --- a/apps/dockyard/src/languages/ja.yml +++ b/apps/dockyard/src/languages/ja.yml @@ -27,6 +27,13 @@ text-license: ライセンス text-post-link: 投稿URL text-catalog: カタログ text-today: 今日 +text-resume: 履歴書 +text-skill: スキル +text-education: 教育 +text-workExp: 職歴 +text-project: プロジェクト +text-project-name: プロジェクト名 +text-project-desc: プロジェクト説明 January: 1月 February: 2月 diff --git a/apps/dockyard/src/languages/ko.yml b/apps/dockyard/src/languages/ko.yml index c2edbb1..666b0ec 100644 --- a/apps/dockyard/src/languages/ko.yml +++ b/apps/dockyard/src/languages/ko.yml @@ -27,6 +27,13 @@ text-license: 라이선스 text-post-link: 게시글 URL text-catalog: 목록 text-today: 오늘 +text-resume: 이력서 +text-skill: 기술 +text-education: 교육 +text-workExp: 경력 +text-project: 프로젝트 +text-project-name: 프로젝트 이름 +text-project-desc: 프로젝트 설명 January: 1월 February: 2월 diff --git a/apps/dockyard/src/languages/ru.yml b/apps/dockyard/src/languages/ru.yml index e49e241..4588af9 100644 --- a/apps/dockyard/src/languages/ru.yml +++ b/apps/dockyard/src/languages/ru.yml @@ -11,7 +11,7 @@ tip-prev-page: Предыдущая страница tip-next-page: Следующая страница tip-collapse: Свернуть tip-expand: Развернуть -text-today: Сегодня +tip-roadmap-today: Позиционирование на сегодн text-select: выбрать text-move: движение @@ -26,7 +26,14 @@ text-pub-time: Опубликовано text-license: Лицензия text-post-link: Ссылка на публикацию text-catalog: Каталог -tip-roadmap-today: Позиционирование на сегодня +text-today: Сегодня +text-resume: Резюме +text-skill: Навыки +text-education: Образование +text-workExp: Опыт работы +text-project: Проект +text-project-name: Название проекта +text-project-desc: Описание проекта January: Январь February: Февраль diff --git a/apps/dockyard/src/languages/zh-CN.yml b/apps/dockyard/src/languages/zh-CN.yml index e4ed7ca..4123bb0 100644 --- a/apps/dockyard/src/languages/zh-CN.yml +++ b/apps/dockyard/src/languages/zh-CN.yml @@ -30,6 +30,12 @@ text-post-link: 本文链接 text-catalog: 目录 text-today: 今天 text-resume: 简历 +text-skill: 技能 +text-education: 教育经历 +text-workExp: 工作经历 +text-project: 项目经验 +text-project-name: 项目名称 +text-project-desc: 项目描述 January: 一月 February: 二月 diff --git a/apps/dockyard/src/languages/zh-TW.yml b/apps/dockyard/src/languages/zh-TW.yml index 9612027..88c446d 100644 --- a/apps/dockyard/src/languages/zh-TW.yml +++ b/apps/dockyard/src/languages/zh-TW.yml @@ -11,7 +11,7 @@ tip-prev-page: 上一頁 tip-next-page: 下一頁 tip-collapse: 折疊 tip-expand: 展開 -text-today: 今天 +tip-roadmap-today: 定位至今天 text-select: 選擇 text-move: 移動 @@ -26,7 +26,14 @@ text-pub-time: 發布於 text-license: 授權 text-post-link: 文章連結 text-catalog: 目錄 -tip-roadmap-today: 定位至今天 +text-today: 今天 +text-resume: 履歷 +text-skill: 技能 +text-education: 教育背景 +text-workExp: 工作經驗 +text-project: 專案 +text-project-name: 專案名稱 +text-project-desc: 專案描述 January: 一月 February: 二月 diff --git a/apps/dockyard/src/modules/resume/index.ejs b/apps/dockyard/src/modules/resume/index.ejs index 3141512..1ff3316 100644 --- a/apps/dockyard/src/modules/resume/index.ejs +++ b/apps/dockyard/src/modules/resume/index.ejs @@ -80,7 +80,7 @@
-

简历

+

<%- __('text-resume') %>

<% if (page.about) { %> @@ -89,6 +89,7 @@ <% }) %> <% } %>
+

<%- __('text-skill') %>