From d2c65f79313104125103d0a33605284f6e68e273 Mon Sep 17 00:00:00 2001 From: Yves Gatesoupe Date: Thu, 16 Jul 2020 18:07:36 +0200 Subject: [PATCH] Minor fixes --- package.json | 8 ++++---- src/_includes/partials/global/service-worker.js | 4 ---- src/_includes/partials/global/site-foot.njk | 2 +- src/images/crew-join.svg | 1 + src/scss/_theme.scss | 1 + src/scss/components/_site-foot.scss | 6 ++++-- 6 files changed, 11 insertions(+), 11 deletions(-) create mode 100644 src/images/crew-join.svg diff --git a/package.json b/package.json index 1d19cf7..303692b 100755 --- a/package.json +++ b/package.json @@ -38,16 +38,16 @@ "sass:process": "npm run sass:tokens && npm run sass:lint && sass src/scss/global.scss src/_includes/assets/css/global.css --style=compressed", "start": "concurrently \"npm run sass:process -- --watch\" \"npm run serve\"", "serve": "cross-env ELEVENTY_ENV=development npx eleventy --serve", - "preprod": "cross-env ELEVENTY_ENV=preprod npm run sass:process && npx eleventy", - "deploy-preprod": "npm run preprod && node deploy-preprod", - "prod": "cross-env ELEVENTY_ENV=prod npm run sass:process && npx eleventy" + "prod": "cross-env ELEVENTY_ENV=prod npm run sass:process && npx eleventy", + "deploy-preprod": "npm run prod && node deploy-preprod", + "deploy-prod": "npm run prod && node deploy-prod" }, "repository": { "type": "git", "url": "git+https://git.ouvaton.coop/astrolabe/SiteWebAstrolabe.git" }, "keywords": [], - "author": "", + "author": "Yves Gatesoupe", "license": "MIT", "bugs": { "url": "https://git.ouvaton.coop/astrolabe/SiteWebAstrolabe/issues" diff --git a/src/_includes/partials/global/service-worker.js b/src/_includes/partials/global/service-worker.js index 88c6b9a..9064fc2 100644 --- a/src/_includes/partials/global/service-worker.js +++ b/src/_includes/partials/global/service-worker.js @@ -5,10 +5,6 @@ const CACHE_KEYS = { // URLS that we don’t want to end up in the cache const EXCLUDED_URLS = [ - 'admin', - '.netlify', - 'https://identity.netlify.com/v1/netlify-identity-widget.js', - 'https://unpkg.com/netlify-cms@^2.9.3/dist/netlify-cms.js', '/contact', '/thank-you' ]; diff --git a/src/_includes/partials/global/site-foot.njk b/src/_includes/partials/global/site-foot.njk index 8fe2bfc..5bd0ab2 100644 --- a/src/_includes/partials/global/site-foot.njk +++ b/src/_includes/partials/global/site-foot.njk @@ -7,7 +7,7 @@

Crédits

-

Design et intégration : {{site.designerName}}

+

Design et intégration : {{site.designerName}}

Illustrations : {{site.illustrators}}

diff --git a/src/images/crew-join.svg b/src/images/crew-join.svg new file mode 100644 index 0000000..8fc82d7 --- /dev/null +++ b/src/images/crew-join.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/scss/_theme.scss b/src/scss/_theme.scss index eb803d4..8f88d1d 100644 --- a/src/scss/_theme.scss +++ b/src/scss/_theme.scss @@ -54,6 +54,7 @@ a:not([class]):visited { font-size: 1.125rem; font-weight: 700; margin-top: 2rem; + color: var(--color-dark); &:visited { color: inherit; diff --git a/src/scss/components/_site-foot.scss b/src/scss/components/_site-foot.scss index 1dd996e..89aece9 100644 --- a/src/scss/components/_site-foot.scss +++ b/src/scss/components/_site-foot.scss @@ -28,9 +28,11 @@ } } - a { - color: currentColor; + .footer-link { + color: var(--color-white); + } + a { &:hover { text-decoration: none; }