Display fixes

This commit is contained in:
2021-08-05 10:54:52 +02:00
parent 77be0be153
commit b7ba1d105f
16 changed files with 273 additions and 55 deletions

View File

@@ -0,0 +1,27 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 25.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<svg version="1.1" id="Calque_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
viewBox="0 0 435.1 71.3" style="enable-background:new 0 0 435.1 71.3;" xml:space="preserve">
<style type="text/css">
.st0{fill:#243887;}
.st1{fill:#FFFFFF;}
.st2{fill:#6CC11F;}
</style>
<g>
<g>
<path class="st1" d="M68.8,36.7c1.5,0,2.7,1.1,2.6,2.7C70.7,57.2,65,71.2,36,71.3C2.2,71.4,0,53.7,0,35.2C0,15.5,6.2,0.1,36,0.1
c33.8,0,35.4,17.2,35.4,33H38v-8.7c0-1.9-0.8-2.6-2.1-2.6s-2.1,0.7-2.1,2.6V47c0,1.9,0.8,2.6,2.1,2.6S38,48.9,38,47V36.7H68.8z"/>
<path class="st1" d="M147.1,35.2c0,19.7-4.2,36.1-35.5,36.1c-33.9,0-36-17.6-36-36.1c0-19.5,6.2-35.1,36-35.1
C143,0.1,147.1,16.9,147.1,35.2z"/>
<path class="st1" d="M222.8,35.2c0,19.7-4.2,36.1-35.5,36.1c-33.9,0-36-17.6-36-36.1c0-19.5,6.2-35.1,36-35.1
C218.6,0.1,222.8,16.9,222.8,35.2z"/>
<path class="st2" d="M435.1,35.2c0,19.7-4.2,36.1-35.5,36.1c-33.9,0-36-17.6-36-36.1c0-19.5,6.2-35.1,36-35.1
C430.9,0.1,435.1,16.9,435.1,35.2z"/>
<path class="st2" d="M359.4,32.8v12.5c0,12.4-7.8,25.9-35.4,26c-34,0.1-36.1-17.6-36.1-36.1C287.9,15.5,294,0,324,0
c32.5,0,35.3,17.3,35.4,26c0,1.9-1.3,3.2-3.2,3.2h-30.3v-4.7c0-1.9-0.8-2.6-2.1-2.6c-1.2,0-2.1,0.7-2.1,2.6v21.3
c0,1.9,0.8,2.6,2.1,2.6h5.7c1,0,1.8-0.8,1.8-1.8v-0.1c0-0.9-0.7-1.7-1.7-1.7h-3.8V32.8H359.4z"/>
<path class="st1" d="M262,24.4c0-1.9-0.8-2.6-2.1-2.6s-2.1,0.7-2.1,2.6v43.1c0,1.4-1.2,2.6-2.6,2.6h-25.5c-1.5,0-2.7-1.1-2.7-2.6
V3.9c0-1.4,1.2-2.6,2.6-2.6h33.6c19,0,30.1,7.8,30.3,21.6c0,14.8-8.7,21.4-20,21.6l-11.5,0L262,24.4z"/>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 1.7 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 931 KiB

View File

@@ -10,9 +10,9 @@ params:
images:
- images/slide-coopgo.png
featuredimage: "images/womancup.png"
featuredimage: "images/womancup-cut.svg"
social:
facebook: https://facebook.com/ridygo.fr
facebook: https://www.facebook.com/COOPGO/
twitter: https://twitter.com/ridygo
linkedin: https://www.linkedin.com/company/11145362
youtube: https://www.youtube.com/channel/UCcWIOlcyz99T3cH83JYlUVQ

View File

@@ -5,7 +5,7 @@ date: 2021-05-31T20:51:54+02:00
# Mentions légales
Site(ci-après « le Site ») : www.ridygo.fr
Site(ci-après « le Site ») : coopgo.fr
L'Editeur (ci-après « Scity») : Scity, Société Coopérative à Responsabilité Limitée (SCOP ARL) au capital variable
dont le siège social est situé au 1240 route des Dolines, 06560 VALBONNE immatriculée au Registre du Commerce et des Sociétés de GRASSE sous le numéro RCS GRASSE 812641314, numéro SIRET 81264131400024 représentée par Monsieur Arnaud DELCASSE (Gérant)

39
content/opensource.md Normal file
View File

@@ -0,0 +1,39 @@
---
title: "Open source et données ouvertes"
date: 2021-06-11T13:51:09+02:00
---
# COOPGO ❤️ l'open source et les données ouvertes
Chez COOPGO, nous aimons et privilégions le logiciel libre. Nos systèmes s'appuient sur des données ouvertes et nous contribuons à des projets existants, notamment liés à l'écosystème OpenStreetMap.
Au cours de l'année 2021, nous publierons de nouveaux composants de nos systèmes internes sous licence libre.
## Nos propres projets open source
{{< flex-row >}}
{{% column %}}
![coopgo/gtfs](/content/images/coopgo-gtfs.svg)
**coopgo/gtfs** est une librairie GTFS pour le langage de programmation Go. Elle permet de lire et d'exploiter des fichiers de données de transports en commun au format GTFS. Elle a été conçue pour être la plus performante possible en termes de rapidité d'exécution et de lecture de fichiers.
**coopgo/gtfs** est publié sous licence Apache 2.0.
[Voir sur Github](https://github.com/coopgo/gtfs)
{{% /column %}}{{% column %}}
![coopgo/gtfs](/content/images/coopgo-rdex.svg)
**coopgo/rdex** est une librairie permettant de mettre en place un serveur RDEX pour l'interopérabilité des trajets en covoiturage.
**coopgo/rdex** est publié sous licence Apache 2.0.
[Voir sur Github](https://github.com/coopgo/rdex)
{{% /column %}}
{{% column %}}
{{% /column %}}
{{< /flex-row >}}
## Nous nous appuyons et contribuons à ...

View File

@@ -409,6 +409,24 @@ a {
.min-h-200 {
min-height: 200px; }
.w-250 {
width: 250px; }
.max-w-250 {
max-width: 250px; }
.min-w-250 {
min-width: 250px; }
.h-250 {
height: 250px; }
.max-h-250 {
max-height: 250px; }
.min-h-250 {
min-height: 250px; }
.w-300 {
width: 300px; }
@@ -427,6 +445,24 @@ a {
.min-h-300 {
min-height: 300px; }
.w-350 {
width: 350px; }
.max-w-350 {
max-width: 350px; }
.min-w-350 {
min-width: 350px; }
.h-350 {
height: 350px; }
.max-h-350 {
max-height: 350px; }
.min-h-350 {
min-height: 350px; }
.w-400 {
width: 400px; }
@@ -445,6 +481,24 @@ a {
.min-h-400 {
min-height: 400px; }
.w-450 {
width: 450px; }
.max-w-450 {
max-width: 450px; }
.min-w-450 {
min-width: 450px; }
.h-450 {
height: 450px; }
.max-h-450 {
max-height: 450px; }
.min-h-450 {
min-height: 450px; }
.w-500 {
width: 500px; }
@@ -1076,7 +1130,6 @@ a {
nav#navbar {
z-index: 100;
height: 3em;
display: flex;
justify-content: flex-between;
align-items: center;
@@ -1135,38 +1188,34 @@ nav#navbar {
margin: auto;
width: 65%; }
nav#navbar .left {
nav {
height: 52px; }
nav#navbar .left {
flex: 0;
text-align: left;
background-color: #ffffff; }
nav#navbar .left img {
margin: 1em;
height: 1.3em; }
nav#navbar .center {
nav#navbar .center {
flex: 1;
color: #243887;
font-size: 1em;
background-color: #ffffff; }
nav#navbar .right {
nav#navbar .right {
font-family: Manometer;
color: #ffffff; }
nav#navbar #menutoggle {
nav#navbar #menutoggle {
display: none; }
@media (max-width: 600px) {
@media (max-width: 600px) {
nav#navbar #menutoggle {
display: block; }
nav#navbar .center {
display: none; } }
@media (max-width: 992px) {
@media (max-width: 992px) {
nav#navbar .right {
display: none; } }
nav#sidebar {
nav#sidebar {
position: fixed;
top: 0;
left: -300px;

7
static/admin/config.yml Normal file
View File

@@ -0,0 +1,7 @@
backend:
name: git-gateway
branch: master # Branch to update (optional; defaults to master)
publish_mode: editorial_workflow
media_folder: "static/images/uploads" # Media files will be stored in the repo under static/images/uploads
public_folder: "/images/uploads" # The src attribute for uploaded media will begin with /images/uploads

12
static/admin/index.html Normal file
View File

@@ -0,0 +1,12 @@
<!doctype html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Content Manager</title>
</head>
<body>
<!-- Include the script that builds the page and powers Netlify CMS -->
<script src="https://unpkg.com/netlify-cms@^2.0.0/dist/netlify-cms.js"></script>
</body>
</html>

View File

@@ -0,0 +1,40 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 25.2.3, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<svg version="1.1" id="Calque_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
viewBox="0 0 478.3 99.2" style="enable-background:new 0 0 478.3 99.2;" xml:space="preserve">
<style type="text/css">
.st0{fill:#233A84;}
.st1{fill:#70B62C;}
</style>
<g>
<path class="st0" d="M224.6,48.2v15.1c0,15-9.5,31.5-43,31.6c-41.2,0.1-43.9-21.4-43.9-43.9c0-23.9,7.5-42.8,43.9-42.8
c39.5,0,42.9,21,43,31.6c0,2.2-1.6,3.9-3.9,3.9H184v-5.8c0-2.2-1-3.1-2.5-3.1s-2.5,0.9-2.5,3.1V64c0,2.2,1,3.1,2.5,3.1h6.6
c1.4,0,2.5-1.1,2.5-2.5v-1.9H184V48.2H224.6z"/>
<path class="st0" d="M310.8,12.5v20.8c0,1.8-1.4,3.1-3.1,3.1h-19.5v54c0,1.8-1.4,3.1-3.1,3.1h-30.8c-1.9,0-3.2-1.4-3.2-3.1v-54
h-19.5c-1.8,0-3.1-1.4-3.1-3.1V12.5c0-1.4,1.1-2.5,2.5-2.5h77.4C309.7,10,310.8,11.1,310.8,12.5z"/>
<path class="st0" d="M350.7,93.5h-31.2c-1.8,0-3.1-1.4-3.1-3.1V13.1c0-1.8,1.4-3.1,3.1-3.1h68.1c1.4,0,2.5,1.1,2.5,2.5v20.8
c0,1.8-1.4,3.1-3.1,3.1h-33.1v4.4H375c1.8,0,3.1,1.4,3.1,3.1v15.8c0,1.9-1.4,3.2-3.1,3.2h-21.1v27.5
C353.8,92.1,352.5,93.5,350.7,93.5z"/>
<path class="st0" d="M396.6,84.6v-26c-0.1-2.2,1.9-3.6,3.9-2.8l28.9,13.4c1.2,0.5,2.8-0.1,3.2-1.1c0.6-1.4,0-2.5-1.6-3l-24.1-11.6
c-11.8-5.6-11.5-14.4-11.5-21.2c0-19.9,19.4-23.8,38.1-23.8c14,0,31.5,4.6,37.2,11.5v23.9c0.1,2.2-1.9,3.6-4,2.8L439.6,34
c-1.4-0.5-2.6-0.2-3.2,1c-0.6,1.4,0,2.5,1.5,3.1l22,10.8c13.9,6.8,12.4,12.8,12.4,24c0,14.4-16.5,22.1-38.8,22.1
C419.8,95,402.3,90.9,396.6,84.6z"/>
</g>
<path class="st0" d="M32,21.9c0.5,0,0.9,0.4,0.9,0.9c-0.2,6.2-2.2,11.1-12.3,11.1C8.7,34,8,27.8,8,21.3c0-6.9,2.2-12.2,12.6-12.2
c11.8,0,12.3,6,12.3,11.5H21.2v-3c0-0.7-0.3-0.9-0.7-0.9c-0.5,0-0.7,0.2-0.7,0.9v7.9c0,0.7,0.3,0.9,0.7,0.9c0.5,0,0.7-0.2,0.7-0.9
v-3.6H32z"/>
<path class="st0" d="M59.3,21.3c0,6.9-1.5,12.6-12.4,12.6c-11.8,0-12.6-6.1-12.6-12.6c0-6.8,2.2-12.2,12.6-12.2
C57.8,9.1,59.3,15,59.3,21.3z"/>
<path class="st0" d="M85.7,21.3c0,6.9-1.5,12.6-12.4,12.6c-11.8,0-12.6-6.1-12.6-12.6c0-6.8,2.2-12.2,12.6-12.2
C84.2,9.1,85.7,15,85.7,21.3z"/>
<path class="st1" d="M109.2,62.5c0,13.8-2.9,25.3-24.8,25.3c-23.7,0-25.2-12.3-25.2-25.3c0-13.6,4.3-24.6,25.2-24.6
C106.2,37.9,109.2,49.6,109.2,62.5z"/>
<path class="st1" d="M56.2,60.8v8.7c0,8.7-5.5,18.1-24.8,18.2C7.6,87.8,6.2,75.4,6.2,62.5c0-13.8,4.3-24.6,25.3-24.6
c22.7,0,24.7,12.1,24.8,18.2c0,1.3-0.9,2.2-2.2,2.2H32.8V55c0-1.3-0.6-1.8-1.5-1.8c-0.8,0-1.5,0.5-1.5,1.8v14.9
c0,1.3,0.6,1.8,1.5,1.8h4c0.7,0,1.3-0.6,1.3-1.3v-0.1c0-0.6-0.5-1.2-1.2-1.2h-2.7v-8.4H56.2z"/>
<path class="st0" d="M99.4,17.6c0-0.7-0.3-0.9-0.7-0.9c-0.5,0-0.7,0.2-0.7,0.9v15c0,0.5-0.4,0.9-0.9,0.9h-8.9
c-0.5,0-0.9-0.4-0.9-0.9V10.4c0-0.5,0.4-0.9,0.9-0.9h11.7c6.6,0,10.5,2.7,10.6,7.5c0,5.2-3,7.5-7,7.5h-4L99.4,17.6z"/>
<g>
<path class="st0" d="M122,5.4h3v89h-3V5.4z"/>
</g>
</svg>

After

Width:  |  Height:  |  Size: 2.9 KiB

View File

@@ -0,0 +1,39 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 25.2.3, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<svg version="1.1" id="Calque_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
viewBox="0 0 490.8 99.2" style="enable-background:new 0 0 490.8 99.2;" xml:space="preserve">
<style type="text/css">
.st0{fill:#233A84;}
.st1{fill:#70B62C;}
</style>
<g>
<path class="st0" d="M141.2,93.5c-1.9,0-3.2-1.4-3.2-3.1V13.1c0-1.8,1.4-3.1,3.1-3.1h44.6c24.8,0,32,16.8,32.1,30.5
c0,8.8-2.1,18-8.8,21.8l8.8,31.2h-29c-6.1,0-13.8-2-15.5-7.1l-17.2-50.1c-0.5-1.4-1.6-2-3-1.6c-1.2,0.4-1.9,1.8-1.4,3.2l18.9,55.6
H141.2z"/>
<path class="st0" d="M303.6,51.1c-0.4,29.5-3.4,42.4-37.5,42.4h-39.6c-1.8,0-3.1-1.4-3.1-3.1V13.1c0-1.8,1.4-3.1,3.1-3.1h39.6
C300,10,303.7,21.4,303.6,51.1z M260.6,67.1h2.5c1.4,0,2.5-1.1,2.5-2.5V38.7c0-1.4-1.1-2.5-2.5-2.5h-2.5V67.1z"/>
<path class="st0" d="M379.5,67.1c1.8,0,3.1,1.4,3.1,3.1V91c0,1.4-1.1,2.5-2.5,2.5H312c-1.8,0-3.1-1.4-3.1-3.1V13.1
c0-1.8,1.4-3.1,3.1-3.1h68.1c1.4,0,2.5,1.1,2.5,2.5v20.8c0,1.8-1.4,3.1-3.1,3.1h-33.1v4.4h33.1c1.8,0,3.1,1.4,3.1,3.1v15.8
c0,1.9-1.4,3.2-3.1,3.2h-33.1v4.2H379.5z"/>
<path class="st0" d="M445.6,71.4c1-1.6,0.9-3.2-0.2-3.9s-2.5,0.1-3.4,1.6l-11.2,19.2c-2.5,4.4-7.6,5.1-12,5.1h-26.6
c-3.2,0-5.1-3-3.4-5.9L412,50.9l-23-35c-1.8-2.8,0.1-5.9,3.4-5.9h47.3l-14,23.6c-0.9,1.5-0.9,3.1,0.1,3.8c1,0.6,2.5-0.1,3.5-1.8
l12.1-20.8c2.1-3.8,7.8-5,11.9-5l27.6,0.1c3.4,0,5.2,3,3.4,5.9l-23.1,35l23.5,36.8c1.9,2.9-0.1,5.9-3.4,5.9h-48.5L445.6,71.4z"/>
</g>
<path class="st0" d="M32,22.9c0.5,0,0.9,0.4,0.9,0.9c-0.2,6.2-2.2,11.1-12.3,11.1C8.7,35,8,28.8,8,22.3c0-6.9,2.2-12.2,12.6-12.2
c11.8,0,12.3,6,12.3,11.5H21.2v-3c0-0.7-0.3-0.9-0.7-0.9c-0.5,0-0.7,0.2-0.7,0.9v7.9c0,0.7,0.3,0.9,0.7,0.9c0.5,0,0.7-0.2,0.7-0.9
v-3.6H32z"/>
<path class="st0" d="M59.3,22.3c0,6.9-1.5,12.6-12.4,12.6c-11.8,0-12.6-6.1-12.6-12.6c0-6.8,2.2-12.2,12.6-12.2
C57.8,10.1,59.3,16,59.3,22.3z"/>
<path class="st0" d="M85.7,22.3c0,6.9-1.5,12.6-12.4,12.6c-11.8,0-12.6-6.1-12.6-12.6c0-6.8,2.2-12.2,12.6-12.2
C84.2,10.1,85.7,16,85.7,22.3z"/>
<path class="st1" d="M109.2,63.5c0,13.8-2.9,25.3-24.8,25.3c-23.7,0-25.2-12.3-25.2-25.3c0-13.6,4.3-24.6,25.2-24.6
C106.2,38.9,109.2,50.6,109.2,63.5z"/>
<path class="st1" d="M56.2,61.8v8.7c0,8.7-5.5,18.1-24.8,18.2C7.6,88.8,6.2,76.4,6.2,63.5c0-13.8,4.3-24.6,25.3-24.6
c22.7,0,24.7,12.1,24.8,18.2c0,1.3-0.9,2.2-2.2,2.2H32.8V56c0-1.3-0.6-1.8-1.5-1.8c-0.8,0-1.5,0.5-1.5,1.8v14.9
c0,1.3,0.6,1.8,1.5,1.8h4c0.7,0,1.3-0.6,1.3-1.3v-0.1c0-0.6-0.5-1.2-1.2-1.2h-2.7v-8.4H56.2z"/>
<path class="st0" d="M99.4,18.6c0-0.7-0.3-0.9-0.7-0.9c-0.5,0-0.7,0.2-0.7,0.9v15c0,0.5-0.4,0.9-0.9,0.9h-8.9
c-0.5,0-0.9-0.4-0.9-0.9V11.4c0-0.5,0.4-0.9,0.9-0.9h11.7c6.6,0,10.5,2.7,10.6,7.5c0,5.2-3,7.5-7,7.5h-4L99.4,18.6z"/>
<g>
<path class="st0" d="M122,5.4h3v89h-3V5.4z"/>
</g>
</svg>

After

Width:  |  Height:  |  Size: 2.9 KiB

View File

@@ -1,6 +1,6 @@
/* WIDTH */
$widthvalues: (0, 5, 10, 15, 20, 25, 30, 35, 40, 45, 50, 75, 100, 125, 150, 200, 300, 400, 500, 600, 700, 800, 900, 1000, 1024);
$widthvalues: (0, 5, 10, 15, 20, 25, 30, 35, 40, 45, 50, 75, 100, 125, 150, 200, 250, 300, 350, 400, 450, 500, 600, 700, 800, 900, 1000, 1024);
@each $width in $widthvalues {
.w-#{$width} {

View File

@@ -1,7 +1,6 @@
nav {
&#navbar {
z-index: 100;
height: 3em;
display: flex;
justify-content: flex-between;
align-items: center;

View File

@@ -2,6 +2,8 @@
// @import 'colors' <- we use the library's default values for colors, we don't need this
nav{
height: 52px;
&#navbar {
.left {
flex:0;

View File

@@ -15,7 +15,7 @@
</div>
<div class="featuredimage w-400">
{{ $img := resources.Get .Site.Params.FeaturedImage }}
<img class="w-600" style="margin-top: -100px" src="{{ $img.Permalink }}">
<img class="h-600" style="margin-top: -100px" src="{{ $img.Permalink }}">
</div>
</div>
<div class="bg-primary reverse w-full">
@@ -35,18 +35,20 @@
</div>
<div class="p-30">
<h1 class="container ta-c brandblue">{{ .Site.Params.Section3.Title }}</h1>
<div class="container flex-row wrap j-center">
{{ range .Site.Params.Section3.List }}
<div class="container flex-row ai-center {{ if (eq .side "right") }} direction-row-reverse{{end}}">
<div class="container min-w-400 max-w-400 m-20 flex-1 flex-row ai-center {{ if (eq .side "right") }} direction-row-reverse{{end}}">
<div class="bg-{{.color}} bg-bubble icon-bubble w-75 h-75 m-20">
{{ $icon := resources.Get ( print "images/icons/" .icon ".svg") }}
<img src="{{ $icon.Permalink }}" />
</div>
<div class="flex-1 max-w-500">
<h3 class="m-b-0 {{.color}} {{ if (eq .side "right") }} ta-r{{end}}">{{.title}}</h3>
<div class="flex-1">
<h2 class="m-b-0 {{.color}} {{ if (eq .side "right") }} ta-r{{end}}">{{.title}}</h2>
<p class="m-t-0 ta-j">{{.description}}</p>
</div>
</div>
{{ end }}
</div>
</div>
<div class="bg-secondary p-20" id="section4">
<h1 class="container ta-c white p-20">{{ .Site.Params.Section4.Title }}</h1>

View File

@@ -51,6 +51,7 @@
<h3 class="m-l-40 m-b-0">La coopérative :</h4>
<ul class="m-t-5">
<li><a href="/opensource/">❤️ Open source</a></li>
<li><a href="/mentions-legales/">Mentions légales</a></li>
<li><a href="https://emplois.scity.coop">Emplois</a></li>
</ul>

View File

@@ -4,9 +4,9 @@
{{$icon := resources.Get "images/icons/menu.svg"}}
<img class="w-20 h-20 m-20" src="{{$icon.Permalink}}" />
</div>
<div class='left bg-white'>
<div class='left bg-white h-full'>
{{ $logo := resources.Get .Site.Params.Logo }}
<a href="{{.Site.BaseURL}}"><img src="{{ $logo.Permalink }}" alt="COOPGO" /></a>
<a href="{{.Site.BaseURL}}"><img class="m-b-0" src="{{ $logo.Permalink }}" alt="COOPGO" /></a>
</div>
<div class='center bg-white'>
<ul class="flex-row j-center ai-center">