Compare commits

...

25 Commits

Author SHA1 Message Date
c5f4e7a0ee Delete extra fonts 2025-12-02 11:31:44 +01:00
105b64dddf Add tool to auto-convert images as webp when running the prod script 2025-12-01 16:24:29 +01:00
e25ffa9684 Merge pull request 'Semaine restart 2025 Rennes' (#11) from restart2025 into master
Reviewed-on: #11
2025-11-29 16:29:42 +01:00
cdff588ea5 Semaine restart 2025 Rennes 2025-11-29 16:29:25 +01:00
a36e19ba68 Merge pull request 'Optimisation du site' (#9) from ecoindex_optimization into master
Reviewed-on: #9
2025-11-27 14:12:16 +01:00
c8d498894e Merge pull request 'Ajout post NEC ESS 2025' (#10) from NEC-ESS-2025 into master
Reviewed-on: #10
2025-11-25 17:40:27 +01:00
69103f9919 Ajout post NEC ESS 2025 2025-11-25 17:39:57 +01:00
f34549ed09 Small hack to defer non-critical CSS loading 2025-11-07 11:43:44 +01:00
d14bdd09fa Transform jpg/png to webp images for ecological&performances purposes 2025-11-07 11:38:55 +01:00
436af02539 Merge pull request 'Transform member's data into a git submodule instead of a symlink to another project in the parent directory' (#8) from submodulisation into master
Reviewed-on: #8
Reviewed-by: Philippe Lhardy <philippe.lhardy@astrolabe.coop>
2025-11-06 14:49:24 +01:00
e10ad59029 Update readme to include submodules 2025-11-06 12:24:58 +01:00
c97177b500 Add symlinks to submodule members_data subfolders 2025-11-06 12:21:38 +01:00
3ea14af31d Update members NOV 2025-11-06 12:17:59 +01:00
f5d5fc0585 Add submodule members-data 2025-11-06 12:10:22 +01:00
918904b239 Update public repo URL 2025-11-06 12:02:41 +01:00
9242450a8d Fix visual discrepancy on tag page 2025-11-06 11:55:54 +01:00
d234c90995 Merge pull request 'Post Seisme 2025' (#7) from forum-seisme-2025 into master
Reviewed-on: #7
2025-10-12 14:44:40 +02:00
2a8f8a4e86 Post Seisme 2025 2025-10-12 14:41:46 +02:00
d47d1750ed Merge pull request 'fix_deprecated_sass' (#6) from fix_deprecated_sass into master
Reviewed-on: #6
2025-10-10 14:53:16 +02:00
567dc7dceb Fix map image being too big on mobile 2025-09-29 09:30:12 +02:00
a7b552d001 Fix high vulnerability in dependency (npm audit fix) 2025-09-26 16:41:24 +02:00
d5d8e31c2a Use original jsdom lib instead of its fork 2025-09-26 16:35:37 +02:00
056a4d3474 Fix deprecated functions in sass files 2025-09-26 16:33:45 +02:00
06e918fe6c Fix UI regressions 2025-09-26 16:22:46 +02:00
327e8a2af4 Remove stalfos lib - with regression on some UI elements 2025-09-26 16:17:38 +02:00
281 changed files with 588 additions and 445 deletions

4
.gitmodules vendored Normal file
View File

@@ -0,0 +1,4 @@
[submodule "members-data"]
path = members-data
url = ssh://gitea@git.astrolabe.coop:2106/AstrolabeCAE/SiteWebAstrolabe_private.git
branch = master

View File

@@ -9,12 +9,15 @@ Requirements :
### Install
1. Clone or fork this repo: `git clone ssh://gitea@git.astrolabe.coop:2106/AstrolabeCAE/SiteWebAstrolabe_public.git`
2. Clone or fork the private repo containing members data in the same folder that SiteWebAstrolabe_public : `git clone ssh://gitea@git.astrolabe.coop:2106/AstrolabeCAE/SiteWebAstrolabe_private.git`
1. Clone or fork this repo INCLUDING its submodule: `git clone --recurse-submodules ssh://gitea@git.astrolabe.coop:2106/AstrolabeCAE/SiteWebAstrolabe_public.git`
3. `cd` into the project directory (SiteWebAstrolabe_public) and run `npm install`
4. Once all the dependencies are installed run `npm start`
5. Open your browser at `http://localhost:8080` and away you go!
If you don't have the members data (page /equipe), you may have done a simple (non-recursive) clone. In this case, populate with member data by running `git submodule update --init --recursive`. Also, check that you do have the rights for the https://git.astrolabe.coop/AstrolabeCAE/SiteWebAstrolabe_private repository.
If you need to get the latest commits of the SiteWebAstrolabe_private repo, you can do a `git submodule update --remote`.
### Deploy
1. Copy paste deploy.js file in two new files `deploy-preprod.js`and `deploy-prod.js`

1
members-data Submodule

Submodule members-data added at 68ef49b2a9

View File

@@ -8,17 +8,16 @@
"@11ty/eleventy": "^3.0.0",
"@11ty/eleventy-plugin-rss": "^2.0.2",
"@11ty/eleventy-plugin-syntaxhighlight": "^2.0.3",
"@tbranyen/jsdom": "^13.0.0",
"bootstrap": "^5.1.3",
"concurrently": "^7.0.0",
"html-minifier": "^4.0.0",
"html-minifier-terser": "^7.2.0",
"image-size": "^0.8.3",
"jsdom": "^24.0.0",
"json-to-scss": "^1.3.1",
"leaflet": "^1.7.1",
"sass": "^1.26.3",
"semver": "^6.3.0",
"slugify": "^1.4.0",
"stalfos": "github:hankchizljaw/stalfos#c8971d22726326cfc04089b2da4d51eeb1ebb0eb"
"slugify": "^1.4.0"
},
"devDependencies": {
"@erquhart/rollup-plugin-node-builtins": "^2.1.5",
@@ -27,6 +26,7 @@
"copyfiles": "^2.4.1",
"cross-env": "^5.2.1",
"ftp-deploy": "^2.3.7",
"go-webp": "^1.3.1",
"make-dir-cli": "^3.0.0",
"prettier": "^1.19.1",
"rimraf": "^3.0.2",
@@ -45,21 +45,22 @@
"vendor:css": "copyfiles node_modules/leaflet/dist/leaflet.css node_modules/bootstrap/dist/css/bootstrap.min.css -f dist/vendor/css",
"vendor:js": "copyfiles node_modules/leaflet/dist/leaflet.js node_modules/bootstrap/dist/js/bootstrap.min.js -f dist/vendor/js",
"vendor": "npm run clean && npm run vendor:css && npm run vendor:js",
"webp": "go-webp excludeFolders=\"src/fonts,members-data,src/images/profiles\" excludeFiles=\"images/*.svg,images/astrolabe/favicon.png\"",
"start": "concurrently \"npm run vendor\" \"npm run sass:process -- --watch\" \"npm run serve\"",
"serve": "cross-env ELEVENTY_ENV=development npx eleventy --serve",
"prod": "cross-env ELEVENTY_ENV=prod npm run vendor && npm run sass:process && npx eleventy",
"prod": "cross-env ELEVENTY_ENV=prod npm run vendor && npm run webp && 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.astrolabe.coop/AstrolabeCAE/SiteWebAstrolabe.git"
"url": "git+https://git.astrolabe.coop/AstrolabeCAE/SiteWebAstrolabe_public.git"
},
"keywords": [],
"author": "Yves Gatesoupe",
"license": "MIT",
"bugs": {
"url": "https://git.astrolabe.coop/AstrolabeCAE/SiteWebAstrolabe/issues"
"url": "https://git.astrolabe.coop/AstrolabeCAE/SiteWebAstrolabe_public/issues"
},
"homepage": "https://git.astrolabe.coop/AstrolabeCAE/SiteWebAstrolabe"
"homepage": "https://git.astrolabe.coop/AstrolabeCAE/SiteWebAstrolabe_public"
}

View File

@@ -8,8 +8,8 @@
<link rel="icon" href="{{ site.faviconPath }}" type="image/png" />
{% include "partials/global/meta-info.njk" %}
<script>document.documentElement.classList.remove('no-js');</script>
<link rel = "stylesheet" href="/vendor/css/leaflet.css"/>
<link rel = "stylesheet" href="/vendor/css/bootstrap.min.css"/>
<link rel = "stylesheet" href="/vendor/css/leaflet.css" media="print" onload="this.media='all'"/>
<link rel = "stylesheet" href="/vendor/css/bootstrap.min.css" media="print" onload="this.media='all'"/>
<style>{% include "assets/css/global.css" %}</style>
{% block head %}
{% endblock %}

View File

@@ -1,5 +1,5 @@
---
name: 'Biocoop La Canopée'
thumbnail: '/images/customers/logo-biocoop-lacanopee.png'
thumbnail: '/images/customers/logo-biocoop-lacanopee.webp'
url: 'https://www.biocoopbesancon.fr/'
---

View File

@@ -1,5 +1,5 @@
---
name: 'Build Data'
thumbnail: '/images/customers/logo-builddata.png'
thumbnail: '/images/customers/logo-builddata.webp'
url: 'https://www.build-data.fr/'
---

View File

@@ -1,5 +1,5 @@
---
name: 'Delta Dore'
thumbnail: '/images/customers/logo-deltadore.png'
thumbnail: '/images/customers/logo-deltadore.webp'
url: 'https://www.deltadore.fr'
---

View File

@@ -1,5 +1,5 @@
---
name: 'Énergies citoyennes en Pays de Vilaine'
thumbnail: '/images/customers/logo-epv.png'
thumbnail: '/images/customers/logo-epv.webp'
url: 'https://www.enr-citoyennes.fr/'
---

View File

@@ -1,5 +1,5 @@
---
name: 'SmarDTV'
thumbnail: '/images/customers/logo-smardtv.png'
thumbnail: '/images/customers/logo-smardtv.webp'
url: 'https://www.smardtv.com/'
---

View File

@@ -1,5 +1,5 @@
---
name: 'Vantiva'
thumbnail: '/images/customers/logo-vantiva.png'
thumbnail: '/images/customers/logo-vantiva.webp'
url: 'https://www.vantiva.com/'
---

View File

@@ -1,5 +1,5 @@
---
name: 'WIZTIVI'
thumbnail: '/images/customers/logo-wiztivi.png'
thumbnail: '/images/customers/logo-wiztivi.webp'
url: 'https://www.wiztivi.com/'
---

View File

@@ -1,5 +1,5 @@
---
name: 'Work Adventure'
thumbnail: '/images/customers/logo-workadventure.png'
thumbnail: '/images/customers/logo-workadventure.webp'
url: 'https://workadventu.re/'
---

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 23 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 32 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 42 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 35 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 229 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 32 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 38 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 40 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 36 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 45 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 27 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

View File

Before

Width:  |  Height:  |  Size: 108 KiB

After

Width:  |  Height:  |  Size: 108 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

View File

Before

Width:  |  Height:  |  Size: 114 KiB

After

Width:  |  Height:  |  Size: 114 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 40 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 34 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 65 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 30 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 50 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 47 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 66 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 29 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 48 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 56 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 32 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 23 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 32 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 41 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 36 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

View File

Before

Width:  |  Height:  |  Size: 106 KiB

After

Width:  |  Height:  |  Size: 106 KiB

Some files were not shown because too many files have changed in this diff Show More