From 0e0036b73792ecad61bccefd819462edeb110c2a Mon Sep 17 00:00:00 2001 From: Divlo Date: Tue, 22 Feb 2022 21:19:42 +0100 Subject: [PATCH] feat: add Curriculum vitae --- .github/workflows/Divlo.yml | 3 + .gitignore | 8 +- .lintstagedrc.json | 3 +- components/Header/Language/LanguageFlag.tsx | 1 + components/Header/Language/index.tsx | 2 +- components/Header/index.tsx | 1 + components/Portfolio/PortfolioItem.tsx | 1 + .../Profile/ProfileDescriptionBottom.tsx | 21 +- .../Profile/ProfileList/ProfileItem.tsx | 4 +- components/Profile/ProfileList/index.tsx | 1 + components/Profile/ProfileLogo.tsx | 2 +- components/Skills/Skill.tsx | 2 +- components/design/ShadowContainer.tsx | 30 +- jsonresume-theme-custom/.gitignore | 4 + jsonresume-theme-custom/index.js | 32 + jsonresume-theme-custom/package-lock.json | 4953 ++++++ jsonresume-theme-custom/package.json | 18 + .../theme/images/building-columns.svg | 2 + .../theme/images/graduation-cap.svg | 2 + .../theme/images/heart.svg | 2 + .../theme/images/toolbox.svg | 2 + jsonresume-theme-custom/theme/images/user.svg | 2 + jsonresume-theme-custom/theme/index.ejs | 206 + .../theme/styles/global.css | 229 + locales/en/home.json | 3 +- locales/fr/home.json | 3 +- next.config.js | 7 +- package-lock.json | 13067 +++++++++++++--- package.json | 22 +- pages/blog/[slug].tsx | 2 +- pages/blog/index.tsx | 2 +- resume.json | 119 + styles/global.css | 12 +- tailwind.config.js | 6 +- utils/blog.ts | 6 +- 35 files changed, 16881 insertions(+), 1899 deletions(-) create mode 100644 jsonresume-theme-custom/.gitignore create mode 100644 jsonresume-theme-custom/index.js create mode 100644 jsonresume-theme-custom/package-lock.json create mode 100644 jsonresume-theme-custom/package.json create mode 100644 jsonresume-theme-custom/theme/images/building-columns.svg create mode 100644 jsonresume-theme-custom/theme/images/graduation-cap.svg create mode 100644 jsonresume-theme-custom/theme/images/heart.svg create mode 100644 jsonresume-theme-custom/theme/images/toolbox.svg create mode 100644 jsonresume-theme-custom/theme/images/user.svg create mode 100644 jsonresume-theme-custom/theme/index.ejs create mode 100644 jsonresume-theme-custom/theme/styles/global.css create mode 100644 resume.json diff --git a/.github/workflows/Divlo.yml b/.github/workflows/Divlo.yml index ae79a3c..1ee8732 100644 --- a/.github/workflows/Divlo.yml +++ b/.github/workflows/Divlo.yml @@ -72,6 +72,9 @@ jobs: - name: 'lint:prettier' run: 'npm run lint:prettier' + - name: 'resume:validate' + run: 'npm run resume:validate' + - name: 'lint:dotenv' uses: 'dotenv-linter/action-dotenv-linter@v2' with: diff --git a/.gitignore b/.gitignore index 1c4974b..3d18432 100644 --- a/.gitignore +++ b/.gitignore @@ -11,6 +11,10 @@ out # production build dist +public/*.html +# PWA +public/workbox-*.js +public/sw.js # testing coverage @@ -18,10 +22,6 @@ cypress/screenshots cypress/videos cypress/downloads -# PWA -**/workbox-*.js -**/sw.js - # envs .env .env.production diff --git a/.lintstagedrc.json b/.lintstagedrc.json index 20f5318..ed2d514 100644 --- a/.lintstagedrc.json +++ b/.lintstagedrc.json @@ -6,5 +6,6 @@ "jest --findRelatedTests" ], "*.{css,scss,sass,json,jsonc,yml,yaml}": ["prettier --write"], - "*.{md,mdx}": ["prettier --write", "markdownlint --dot --fix"] + "*.{md,mdx}": ["prettier --write", "markdownlint --dot --fix"], + "resume.json": ["resume validate"] } diff --git a/components/Header/Language/LanguageFlag.tsx b/components/Header/Language/LanguageFlag.tsx index 7963b7d..5e975db 100644 --- a/components/Header/Language/LanguageFlag.tsx +++ b/components/Header/Language/LanguageFlag.tsx @@ -10,6 +10,7 @@ export const LanguageFlag: React.FC = (props) => { return ( <> {