diff --git a/.eleventy.js b/.eleventy.js index 179d798..7d2b484 100755 --- a/.eleventy.js +++ b/.eleventy.js @@ -1,55 +1,53 @@ -const pluginNavigation = require("@11ty/eleventy-navigation") -const htmlmin = require("html-minifier"); -const markdownIt = require("markdown-it"); -const markdownItAttrs = require('markdown-it-attrs'); +const pluginNavigation = require('@11ty/eleventy-navigation') +const htmlmin = require('html-minifier') +const markdownIt = require('markdown-it') +const markdownItAttrs = require('markdown-it-attrs') const options = { html: true, breaks: true, linkify: true -}; -const markdownLib = markdownIt(options).use(markdownItAttrs); +} +const markdownLib = markdownIt(options).use(markdownItAttrs) module.exports = function (eleventyConfig) { - - eleventyConfig.addGlobalData("username", "Laureηt"); - eleventyConfig.addPlugin(pluginNavigation); - eleventyConfig.setLibrary("md", markdownLib); - eleventyConfig.addWatchTarget("./src/scss/"); + eleventyConfig.addGlobalData('username', 'Laureηt') + eleventyConfig.addPlugin(pluginNavigation) + eleventyConfig.setLibrary('md', markdownLib) + eleventyConfig.addWatchTarget('./src/scss/') eleventyConfig.addPassthroughCopy({ - "assets/": "./", - }); + 'assets/': './' + }) - if (process.env.ELEVENTY_ENV == 'prod') { - eleventyConfig.addTransform("htmlmin", function (content, outputPath) { + if (process.env.ELEVENTY_ENV === 'prod') { + eleventyConfig.addTransform('htmlmin', function (content, outputPath) { // Eleventy 1.0+: use this.inputPath and this.outputPath instead - if (outputPath && outputPath.endsWith(".html")) { - let minified = htmlmin.minify(content, { + if (outputPath && outputPath.endsWith('.html')) { + const minified = htmlmin.minify(content, { useShortDoctype: true, removeComments: true, collapseWhitespace: true, minifyJS: true, - minifyCSS: true, - }); - return minified; + minifyCSS: true + }) + return minified } else { - return content; + return content } - }); + }) } - eleventyConfig.addShortcode("year", () => { - let year = new Date().getFullYear(); - return year.toString(); - }); + eleventyConfig.addShortcode('year', () => { + const year = new Date().getFullYear() + return year.toString() + }) return { passthroughFileCopy: true, dir: { - input: "src", - data: "_data", - output: "_site", - includes: "_includes", - }, + input: 'src', + data: '_data', + output: '_site', + includes: '_includes' + } } - } diff --git a/.gitignore b/.gitignore index 7125695..0277667 100755 --- a/.gitignore +++ b/.gitignore @@ -2,6 +2,7 @@ node_modules/ _site/ content/ +report/ src/_includes/css *.log diff --git a/.vscode/launch.json b/.vscode/launch.json index b534d5c..e32379d 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -10,7 +10,7 @@ "runtimeArgs": [ "run", "start" - ], + ] } ] } diff --git a/.vscode/settings.json b/.vscode/settings.json index 8f748c2..8ac2f0c 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,9 +1,9 @@ { "editor.formatOnSave": true, "[nunjucks]": { - "editor.defaultFormatter": "okitavera.vscode-nunjucks-formatter", + "editor.defaultFormatter": "okitavera.vscode-nunjucks-formatter" }, "emmet.includeLanguages": { - "nunjucks": "html", + "nunjucks": "html" } } diff --git a/README.md b/README.md index a1549c0..8ede41c 100644 --- a/README.md +++ b/README.md @@ -55,7 +55,7 @@ yarn run build This repository is under the [Contributing Covenant](https://www.contributor-covenant.org/) code of conduct. See [`CONTRIBUTING.md`](https://git.inpt.fr/fainsil/personnal-website/-/blob/master/CONTRIBUTING.md) for more information.\ -Please use [conventionnal commits](https://www.conventionalcommits.org/). +Please use [conventional commits](https://www.conventionalcommits.org/). ## License diff --git a/src/_data/resumes/en.json b/src/_data/resumes/en.json index 987eeea..2c6af45 100644 --- a/src/_data/resumes/en.json +++ b/src/_data/resumes/en.json @@ -235,7 +235,7 @@ }, { "name": "Fishkeeping", - "summary": "Tamagochis, but with real responsabilities.", + "summary": "Tamagochis, but with real responsibilities.", "tags": [ "Patience", "Perfectionism" diff --git a/src/ePortfolio/CE.md b/src/ePortfolio/CE.md index e095ad7..39bb623 100644 --- a/src/ePortfolio/CE.md +++ b/src/ePortfolio/CE.md @@ -10,12 +10,12 @@ This is the civic engagement that I am currently pursuing during my studies at E --- -## Flyer : +## Flyer --- -## Video presentation : +## Video presentation diff --git a/src/ePortfolio/TMAY.md b/src/ePortfolio/TMAY.md index 56a4e3a..b1a64c4 100755 --- a/src/ePortfolio/TMAY.md +++ b/src/ePortfolio/TMAY.md @@ -10,12 +10,12 @@ Here are small videos I had to make to present myself. --- -## English Version : +## English Version --- -## Japanese Version : +## Japanese Version diff --git a/src/scss/anim.scss b/src/scss/anim.scss index a877292..43050e6 100755 --- a/src/scss/anim.scss +++ b/src/scss/anim.scss @@ -15,29 +15,29 @@ @keyframes blink { 0% { - opacity: 1.0; + opacity: 1; } 50% { - opacity: 0.0; + opacity: 0; } 100% { - opacity: 1.0; + opacity: 1; } } @-webkit-keyframes blink { 0% { - opacity: 1.0; + opacity: 1; } 50% { - opacity: 0.0; + opacity: 0; } 100% { - opacity: 1.0; + opacity: 1; } } diff --git a/src/scss/eportfolio.scss b/src/scss/eportfolio.scss index 5debadc..fbcf1e4 100644 --- a/src/scss/eportfolio.scss +++ b/src/scss/eportfolio.scss @@ -25,5 +25,5 @@ h2 { margin-top: 2rem; display: flex; justify-content: center; - gap: .2rem; + gap: 0.2rem; } diff --git a/src/scss/resume.scss b/src/scss/resume.scss index 3e95217..f1c545e 100755 --- a/src/scss/resume.scss +++ b/src/scss/resume.scss @@ -43,7 +43,7 @@ section>ul { } li.event { - padding: .8em 0 .8em 2.3em; + padding: 0.8em 0 0.8em 2.3em; margin-left: 1.25em; border-left: 2px #c0c5ce solid; } @@ -52,17 +52,17 @@ li.event { display: inline; border-bottom: 2px #942994 solid; border-radius: 0.2em; - margin-right: .3em; + margin-right: 0.3em; font-size: 17px; } small { - font-size: .7em; + font-size: 0.7em; vertical-align: middle; } h1>small { - font-size: .45em; + font-size: 0.45em; } section { @@ -77,7 +77,7 @@ section>p { } section>h3 { - margin-bottom: .3em; + margin-bottom: 0.3em; } .project-links { @@ -85,12 +85,12 @@ section>h3 { } .project-links>a { - padding-left: .3em; + padding-left: 0.3em; text-decoration: none; } h2 { - margin: 1em 0 .3em 0; + margin: 1em 0 0.3em 0; } .arrow-up { diff --git a/src/scss/style.scss b/src/scss/style.scss index f53f948..cab80b6 100755 --- a/src/scss/style.scss +++ b/src/scss/style.scss @@ -12,17 +12,14 @@ $h1-size: 3rem; body { background-color: $background; color: $foreground-text; - font-family: 'Lora', serif; text-rendering: optimizeLegibility; font-size: $font-size; - width: 60rem; padding: 0 2rem; margin: auto; - - animation: intro .3s both; - animation-delay: .15s; + animation: intro 0.3s both; + animation-delay: 0.15s; } a {