diff --git a/assets/styles/header.sass b/assets/styles/header.sass index be4458f..e90aa54 100644 --- a/assets/styles/header.sass +++ b/assets/styles/header.sass @@ -6,6 +6,8 @@ &.home height: 80vh + .hero + height: 80vh .hero position: absolute @@ -16,8 +18,10 @@ z-index: -1 object-fit: cover width: 100% - height: 100% + height: 40vh + background-color: $orange + $nav-height: 70px .nav position: absolute top: 50px @@ -25,7 +29,7 @@ left: 0 right: 0 background-color: $vert - height: 70px + height: $nav-height @media screen and (max-width: $size-md) top: 30px @@ -34,10 +38,7 @@ .container display: flex align-items: center - justify-content: center - - @media screen and (max-width: $size-md) - justify-content: space-between + justify-content: space-between .logo $size-border-logo: 20px @@ -61,11 +62,14 @@ img position: relative - height: 70px + height: $nav-height + width: 214px z-index: 30 + text-align: center @media screen and (max-width: $size-md) height: 50px + width: 154px #menu list-style-type: none @@ -73,10 +77,83 @@ align-items: center padding: 0 margin: 0 + height: $nav-height @media screen and (max-width: $size-xl) font-size: .95rem + .submenu + list-style-type: none + display: none + position: absolute + color: $vert + background: white + top: $nav-height + flex-direction: column + margin: 0 + padding: 1rem + width: max-content + box-shadow: rgba(0, 0, 0, 0.15) 0px 3px 3px 0px + + a + color: $vert + padding: 10px 0 0 + + &:hover + text-shadow: 1px 1px 0px scale-color($vert, $lightness: +15%) + + .menu:hover .submenu + display: flex + + .menu.withSubmenu:hover::after + content: '' + display: block + position: absolute + left: calc(50% - 7.5px) + top: 100% + width: 0 + height: 0 + border-top: 15px solid $vert + border-right: 15px solid transparent + border-bottom: 0 solid transparent + border-left: 15px solid transparent + z-index: 10000 + + .menu + display: flex + align-items: center + position: relative + height: 100% + + &:first-child::before + content: none + + &::before + content: "" + border-right: 2px white solid + right: 0 + height: 20px + + a + color: white + display: flex + align-items: center + padding: 0 10px + height: 100% + text-decoration: none + + &:hover + text-shadow: 1px 1px 0px scale-color($vert, $lightness: +15%) + + img + padding: 0 10px + + @media screen and (max-width: $size-lg) and (min-width: $size-md) + display: none + + span + white-space: nowrap + @media screen and (max-width: $size-md) display: none position: fixed @@ -84,6 +161,7 @@ bottom: 0 left: 0 right: 0 + height: 100vh z-index: 100 background: $vert flex-direction: column @@ -98,40 +176,42 @@ img display: inherit - li - display: flex - align-items: center + .menu + height: auto + flex-direction: column + margin-bottom: 1rem - &:last-child::after + .menu.withSubmenu + padding: 10px + + .submenu + display: flex + position: relative + top: 0 + padding: 0 + margin-top: 1rem + border-radius: 6px + + &::before + content: '' + display: block + position: absolute + left: calc(50% - 15px) + top: -15px + width: 0 + height: 0 + border-top: 0 solid transparent + border-right: 15px solid transparent + border-bottom: 15px solid white + border-left: 15px solid transparent + z-index: 10000 + + a + padding: 2px 10px + + .menu:before content: none - &::after - content: "" - border-right: 2px white solid - height: 20px - - @media screen and (max-width: $size-md) - content: none - - a - color: white - display: flex - align-items: center - padding: 10px - text-decoration: none - - &:hover - color: $orange - - img - padding: 0 10px - - @media screen and (max-width: $size-lg) and (min-width: $size-md) - display: none - - span - white-space: nowrap - .open-button display: none white-space: nowrap diff --git a/assets/styles/main.sass b/assets/styles/main.sass index ab6111f..eabf47f 100644 --- a/assets/styles/main.sass +++ b/assets/styles/main.sass @@ -34,7 +34,7 @@ img width: 50px .container - max-width: $size-xl + max-width: $size-lg margin: 0 auto padding: 0 1rem @@ -42,10 +42,16 @@ img #content margin-top: -10vh + min-height: 50vh + + @media screen and (max-width: $size-md) + min-height: inherit + + a + color: $color-primary .container background-color: white - margin: 0 1rem padding: 1rem @media screen and (max-width: $size-sm) margin: 0 @@ -55,166 +61,190 @@ img text-align: center text-transform: uppercase color: $vert - margin: 1rem 2rem 2rem + margin: 0 1rem 1rem + padding: 1rem font-size: 2.5rem word-wrap: anywhere @media screen and (max-width: $size-sm) font-size: 1.2rem + margin: 0 strong font-size: 3.5rem @media screen and (max-width: $size-sm) font-size: 1.8rem - .container.news - padding: 1rem 5rem + h2 + font-size: 2rem @media screen and (max-width: $size-sm) - padding: 0 1rem -.infos - display: flex - @media screen and (max-width: $size-md) - flex-direction: column - .news, .opening - min-height: 500px - margin: 1rem + font-size: 1.1rem - .news - width: 70% + h3 + font-size: 1.8rem + @media screen and (max-width: $size-sm) + font-size: 1rem + + h4 + font-size: 1.6rem + @media screen and (max-width: $size-sm) + font-size: .9rem + + .infos display: flex - flex-direction: column - @media screen and (max-width: $size-xl) - width: 65% @media screen and (max-width: $size-md) - width: 100% - margin: 0 + flex-direction: column + .news, .opening + min-height: 500px + margin: 1rem - - $size-la-une: 220px - $size-news: 100px - .post + .news + width: 70% display: flex - flex-wrap: nowrap - margin-bottom: 2rem + flex-direction: column + @media screen and (max-width: $size-xl) + width: 65% + @media screen and (max-width: $size-md) + width: 100% + margin: 0 + + + $size-la-une: 220px + $size-news: 100px + .post + display: flex + flex-wrap: nowrap + margin-bottom: 2rem - @media screen and (max-width: $size-sm) - flex-direction: column - justify-content: center - align-items: center - .picture - width: $size-news - height: $size-news - background: $orange - flex-shrink: 0 @media screen and (max-width: $size-sm) - margin-bottom: 1rem - - &.last - + flex-direction: column + justify-content: center + align-items: center .picture - width: $size-la-une - height: $size-la-une + width: $size-news + height: $size-news + background: $orange + flex-shrink: 0 @media screen and (max-width: $size-sm) - width: 100% - overflow: hidden - margin: 0 - img + margin-bottom: 1rem + + &.last + + .picture + width: $size-la-une + height: $size-la-une + @media screen and (max-width: $size-sm) width: 100% + overflow: hidden + margin: 0 + img + width: 100% + .details + padding: 20px + background: $grey + height: $size-la-une + overflow: hidden + text-overflow: ellipsis + @media screen and (max-width: $size-sm) + height: inherit .details - padding: 20px - background: $grey - height: $size-la-une + padding: 0 1rem + height: $size-news + max-width: 100% overflow: hidden - text-overflow: ellipsis @media screen and (max-width: $size-sm) height: inherit - .details - padding: 0 1rem - height: $size-news - overflow: hidden - @media screen and (max-width: $size-sm) - height: inherit - text-align: center + text-align: center - a - color: black - span - font-size: .8rem - display: block - h2 - font-size: 1.4rem - font-weight: bold - margin: .6rem 0 - white-space: nowrap - overflow: hidden - text-overflow: ellipsis - h3 - font-size: 1.1rem - font-weight: bold - margin: 0 - white-space: nowrap - overflow: hidden - text-overflow: ellipsis - - .text - font-size: .8rem - overflow: hidden - text-overflow: ellipsis - width: 100% - padding-top: 6px - - p + span + font-size: .8rem + display: block + h2 + font-size: 1.4rem + font-weight: bold + margin: .6rem 0 + white-space: nowrap + overflow: hidden + text-overflow: ellipsis + h3 + font-size: 1.1rem + font-weight: bold margin: 0 + white-space: nowrap + overflow: hidden + text-overflow: ellipsis + + .text + font-size: .8rem + overflow: hidden + text-overflow: ellipsis + width: 100% + padding-top: 6px + + p + margin: 0 - .opening - background: $orange - width: 30% - padding: 20px - color: white - background-image: url(/icons/horloge.svg) - background-repeat: no-repeat - background-position: center -50px - background-size: 70% - @media screen and (max-width: $size-xl) - width: 40% - @media screen and (max-width: $size-md) - width: 100% - margin: 0 - background-position-x: 120% - background-size: 50% - - h2 - font-size: 1.4rem - margin: 1rem 0 - font-weight: bold - - h3 - margin: 1rem 0 .4rem - font-size: 1.2rem - font-weight: bold - - p - font-size: .8rem - - &:last-child - margin-bottom: 0 - - a + .opening + background: $orange + width: 30% + padding: 20px color: white + background-image: url(/icons/horloge.svg) + background-repeat: no-repeat + background-position: center -50px + background-size: 70% + @media screen and (max-width: $size-xl) + width: 40% + @media screen and (max-width: $size-md) + width: 100% + margin: 0 + background-position-x: 120% + background-size: 50% + + h2 + font-size: 1.4rem + margin: 1rem 0 + font-weight: bold + + h3 + margin: 1rem 0 .4rem + font-size: 1.2rem + font-weight: bold + + p + font-size: .8rem + + &:last-child + margin-bottom: 0 + + a + color: white // FOOTER .explain text-align: center font-size: .6rem + background-color: $vert + color: white + + a + color: white .footer background: $vert color: white padding: 2rem 0 - @media screen and (max-width: $size-sm) - padding: 1rem 0 + + .icons + height: 30px + width: 30px + margin: 1rem 0 .5rem .5rem + + a + color: white + display: inline-block .container display: flex @@ -232,7 +262,7 @@ img order: -1 width: 100% img - margin: 0 auto + margin: 0 auto 1rem .horaire, .address width: 40% @@ -244,10 +274,46 @@ img padding: 1rem 0 0 h3 - font-size: 1.5rem - margin-top: 0 + font-size: 1.3rem + margin: 0 0 .7rem font-weight: bold p margin: 0 - line-height: 1.3rem + line-height: 1.1rem + +#content .commissions + h3, h4 + color: $vert + +#content .conseilmunicipal + display: flex + flex-wrap: wrap + justify-content: center + + .person + margin: 1rem + width: 250px + text-align: center + .card-image + margin-bottom: 1rem + + h2 + color: $vert + font-size: 1.1rem + padding: 0 + margin: 0 0 .3rem + + h3 + font-size: 1rem + padding: 0 + margin: 0 + + .card-body + font-size: .9rem + + +.md + max-width: 645px + margin-left: auto + margin-right: auto diff --git a/content/_index.md b/content/_index.md index 21744ed..0abaef0 100644 --- a/content/_index.md +++ b/content/_index.md @@ -8,19 +8,25 @@ title: Actualités Lundi, mardi, jeudi et vendredi : 8h30 à 12h30 Mercredi : 9h15 à 12h15 -04 77 62 50 67 - mairie@cremeaux.fr +[04 77 62 50 67](tel:0477625067) +[mairie@cremeaux.fr](mailto:mairie@cremeaux.fr) ### * Poste -Mardi, mercredi, jeudi, vendredi et samedi : 9h15 à 12h15 +Mardi au samedi : 9h15 à 12h15 +[04 77 62 56 49](tel:0477625649) ### * Bibliothèque Municipale Mercredi : 16h à 18h40 -Vendredi et samedi : 10h à 12h +Vendredi et samedi : 10h à 12h +[04 77 62 82 66](tel:0477628266) +[bibliocremeaux@orange.fr](mailto:bibliocremeaux@orange.fr) ### * Déchetterie Lundi au vendredi : 14h à 18h Samedi 9h à 12h et 14h à 18h -L'usine 42430 Saint-Just-en-Chevalet +L'usine 42430 Saint-Just-en-Chevalet +[04 77 62 86 41](tel:0477628641) +[Site internet](https://www.ccpu.fr/decheterie-dechetterie-pays-urfe-saint-just-en-chevalet-42430_fr.html) diff --git a/content/news/2020_10_24-LAND_ART.md b/content/actualites/2020_10_24-LAND_ART.md similarity index 100% rename from content/news/2020_10_24-LAND_ART.md rename to content/actualites/2020_10_24-LAND_ART.md diff --git a/content/news/2020_11_01-reconfinement/adam-niescioruk-Z9arfr0f248-unsplash.jpg b/content/actualites/2020_11_01-reconfinement/adam-niescioruk-Z9arfr0f248-unsplash.jpg similarity index 100% rename from content/news/2020_11_01-reconfinement/adam-niescioruk-Z9arfr0f248-unsplash.jpg rename to content/actualites/2020_11_01-reconfinement/adam-niescioruk-Z9arfr0f248-unsplash.jpg diff --git a/content/news/2020_11_01-reconfinement/index.md b/content/actualites/2020_11_01-reconfinement/index.md similarity index 100% rename from content/news/2020_11_01-reconfinement/index.md rename to content/actualites/2020_11_01-reconfinement/index.md diff --git a/content/news/2020_11_03-déchèterie_rouvre_ses_portes/index.md b/content/actualites/2020_11_03-déchèterie_rouvre_ses_portes/index.md similarity index 100% rename from content/news/2020_11_03-déchèterie_rouvre_ses_portes/index.md rename to content/actualites/2020_11_03-déchèterie_rouvre_ses_portes/index.md diff --git a/content/news/2020_11_03-déchèterie_rouvre_ses_portes/jilbert-ebrahimi-b0p818k8Ok8-unsplash.jpg b/content/actualites/2020_11_03-déchèterie_rouvre_ses_portes/jilbert-ebrahimi-b0p818k8Ok8-unsplash.jpg similarity index 100% rename from content/news/2020_11_03-déchèterie_rouvre_ses_portes/jilbert-ebrahimi-b0p818k8Ok8-unsplash.jpg rename to content/actualites/2020_11_03-déchèterie_rouvre_ses_portes/jilbert-ebrahimi-b0p818k8Ok8-unsplash.jpg diff --git a/content/news/2020_11_04-recensement_militaire/index.md b/content/actualites/2020_11_04-recensement_militaire/index.md similarity index 100% rename from content/news/2020_11_04-recensement_militaire/index.md rename to content/actualites/2020_11_04-recensement_militaire/index.md diff --git a/content/news/2020_11_04-recensement_militaire/israel-palacio-IprD0z0zqss-unsplash.jpg b/content/actualites/2020_11_04-recensement_militaire/israel-palacio-IprD0z0zqss-unsplash.jpg similarity index 100% rename from content/news/2020_11_04-recensement_militaire/israel-palacio-IprD0z0zqss-unsplash.jpg rename to content/actualites/2020_11_04-recensement_militaire/israel-palacio-IprD0z0zqss-unsplash.jpg diff --git a/content/news/2020_11_04-recensement_militaire/recensement-militaire-585x286.jpg b/content/actualites/2020_11_04-recensement_militaire/recensement-militaire-585x286.jpg similarity index 99% rename from content/news/2020_11_04-recensement_militaire/recensement-militaire-585x286.jpg rename to content/actualites/2020_11_04-recensement_militaire/recensement-militaire-585x286.jpg index 2a079d8..5b951be 100644 Binary files a/content/news/2020_11_04-recensement_militaire/recensement-militaire-585x286.jpg and b/content/actualites/2020_11_04-recensement_militaire/recensement-militaire-585x286.jpg differ diff --git a/content/news/2020_11_05-nouveau_site_web/halacious-tZc3vjPCk-Q-unsplash.jpg b/content/actualites/2020_11_05-nouveau_site_web/halacious-tZc3vjPCk-Q-unsplash.jpg similarity index 100% rename from content/news/2020_11_05-nouveau_site_web/halacious-tZc3vjPCk-Q-unsplash.jpg rename to content/actualites/2020_11_05-nouveau_site_web/halacious-tZc3vjPCk-Q-unsplash.jpg diff --git a/content/actualites/2020_11_05-nouveau_site_web/index.md b/content/actualites/2020_11_05-nouveau_site_web/index.md new file mode 100644 index 0000000..ecd6aaf --- /dev/null +++ b/content/actualites/2020_11_05-nouveau_site_web/index.md @@ -0,0 +1,13 @@ +--- +title: Nouveau **site web** +catégorie: Communication +date: 2020-11-05 +--- + +Nous venons de mettre le site internet de Crémeaux en ligne !!! + +Vous pouvez retrouver sur la page d'accueil les horaires des services communaux, les dernières actualités de Crémeaux que vous pouvez aussi retrouver sur la page Facebook [Vivre à Crémeaux](https://www.facebook.com/vivre.a.cremeaux/). + +Vous retrouverez des informations sur la vie municipale avec le mot du Maire, les comptes rendus des réunions du conseil municipal, la présentation du conseil municipal, et les commissions. + +Le site sera complété au fur et à mesure. Nous aimerions mettre en place 3 autres grandes parties : Cadre de vie, les associations et l'économie à Crémeaux pour avoir une vision plus global de notre commune. diff --git a/content/actualites/_index.md b/content/actualites/_index.md new file mode 100644 index 0000000..318612f --- /dev/null +++ b/content/actualites/_index.md @@ -0,0 +1,3 @@ +--- +title: Les **Actualités** +--- diff --git a/content/economie/_index.md b/content/economie/_index.md index f88c7b5..3a4c0bb 100644 --- a/content/economie/_index.md +++ b/content/economie/_index.md @@ -1,5 +1,5 @@ --- -title: Le conseil municipal +title: Économie draft: true menu: main: @@ -9,11 +9,14 @@ menu: pre: jaune --- -![](/market.svg) +Cette page n'est pas encore faite. + +Nous listerons ici tous les commerces et entreprises de Crémeaux. Nous réunirons les informations pour les contacter (adresse, téléphone, adresse d'un site web) avec un descriptif, une photo. + +Voici les catégories que nous mettrons en place : -Liste des commerces et entreprises avec des catégories * Commerces * Hébergements - * Artisants + * Artisans * Services * Entreprise diff --git a/content/news/2020_11_05-nouveau_site_web/index.md b/content/news/2020_11_05-nouveau_site_web/index.md deleted file mode 100644 index 1a60aa4..0000000 --- a/content/news/2020_11_05-nouveau_site_web/index.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -title: Nouveau **site web** -catégorie: Communication -date: 2020-11-05 ---- - -Nous venons de mettre le site internet de Crémeaux en ligne. Comme vous pouvez le voir il y a encore peu d'information. Nous compléterons au fur et à mesure de l'année. Il y aura par la suite une section spécifique sur l'économie, les associations et le cadre de vie de Crémeaux. diff --git a/content/news/_index.md b/content/news/_index.md deleted file mode 100644 index e69de29..0000000 diff --git a/content/viemunicipale/_index.md b/content/viemunicipale/_index.md index bc1a5ab..4eae3f2 100644 --- a/content/viemunicipale/_index.md +++ b/content/viemunicipale/_index.md @@ -7,9 +7,3 @@ menu: weight: 10 pre: rouge --- - -Voici les derniers comptes rendus des réunions du conseil municipal : - -- 10 septembre 2020 : Compte rendu en cours d'écriture -- [9 juillet 2020](/comptes-rendus/2020_07_09-Conseil_Municipal.pdf) -- [4 juin 2020](/comptes-rendus/2020_06_04-Conseil_Municipal.pdf) diff --git a/content/viemunicipale/bibliotheque.jpg b/content/viemunicipale/bibliotheque.jpg deleted file mode 100644 index ea692af..0000000 Binary files a/content/viemunicipale/bibliotheque.jpg and /dev/null differ diff --git a/content/viemunicipale/commissions.md b/content/viemunicipale/commissions.md deleted file mode 100644 index f74fd3c..0000000 --- a/content/viemunicipale/commissions.md +++ /dev/null @@ -1,11 +0,0 @@ ---- -title: Accueil -menu: - main: - parent: municipale - name: Les Commissions - weight: 30 - pre: rouge ---- - -## Les Commissions diff --git a/content/viemunicipale/commissions/index.md b/content/viemunicipale/commissions/index.md new file mode 100644 index 0000000..e821ef0 --- /dev/null +++ b/content/viemunicipale/commissions/index.md @@ -0,0 +1,90 @@ +--- +title: Les **Commissions** +menu: + main: + parent: municipale + name: Les Commissions + weight: 30 +layout: commissions +--- + +## MAIRE : Didier PONCET / 1er ADJOINT : Thierry CLEMENÇON + +--- + +### DÉVELOPPEMENT ÉCONOMIQUE, FINANCES, IMPÔTS, URBANISME, PERSONNEL + +#### 1 er ADJOINT : Thierry CLEMENÇON + +- **Commission Impôts, Budget, Finances, Urbanisme** + V-Président : Thierry CLEMENÇON + Membres : Suzanne MANISSOLLE, Irène MICHON +- **Commission des Impôts Directs** + Maire + 6 commissaires et 6 suppléants désignés par la DD des services fiscaux +- **Commission d’Appel d’Offre** + À constituer le moment venu +- **Commission Subventions** + V-Président : Thierry CLEMENÇON + Membres : Suzanne MANISSOLLE, André SANGLE, Simon CONSTANS, Patricia SESSEGOLO + +--- + +### BÂTIMENTS, ÉQUIPEMENTS SPORTIFS, PETIT PATRIMOINE ET ÉCOLES + +#### 2 ème ADJOINT : Laurent BRUEL + +- **Commission des Écoles** + V-Président : Laurent BRUEL + Membres : Jean-Christophe DUBOST, Élodie BOURG, Simon CONSTANS, Stéphane PRAS +- **Commission Bâtiment** + V-Président : Laurent BRUEL + Membres : Laurent LOÏZZO, Aurélien MAILLET-FEUGÈRE, André SANGLE, Irène MICHON, Stéphane PRAS +- **Délégués aux Écoles** + Laurent BRUEL, Jean-Christophe DUBOST, Stéphane PRAS +- **Délégués aux bâtiments** + Laurent LOÏZZO, Aurélien MAILLET-FEUGÈRE, Georges TRAVARD, Stéphane PRAS +- **Délégués Logements en location** + Thierry CLEMENÇON, Georges TRAVARD + +--- + +### VOIRIE, ASSAINISSEMENT, DÉCHETS, EAU POTABLE, ET ÉCLAIRAGE + +#### 3 ème ADJOINT : Laurent LOÏZZO + +- **Commission Voirie** + V-Président : Laurent LOÏZZO + Membres : Thierry CLEMENÇON, Aurélien MAILLET-FEUGÈRE, Georges TRAVARD, Patricia SESSEGOLO +- **Délégués au SIEL** + Titulaire : Jean-Christophe DUBOST + Suppléant : Simon CONSTANS +- **Délégués au Syndicat des Eaux de la Bombarde et à l’assainissement** + Titulaires : Laurent LOÏZZO, Simon CONSTANS + Suppléants : Georges TRAVARD, Irène MICHON + +--- + +### ANIMATION, SPORT, CULTURE ET BIBLIOTHÈQUE, RELATION AVEC LES ASSOCIATIONS + +#### 4 ème ADJOINT : Sandra GARRIVIER + +- **Commission Animation Cérémonies Culture** + V-Présidente : Sandra GARRIVIER + Membres : Jean-Christophe DUBOST, Aurélien MAILLET-FEUGÈRE, Georges TRAVARD, Irène MICHON, Patricia SESSEGOLO +- **Membres du Conseil délégués au CCAS** + Laurent LOÏZZO, Sandra GARRIVIER, Élodie BOURG, Aurélien MAILLET-FEUGÈRE, Jean-Christophe DUBOST +- **Délégués au Syndicat d’Initiative du Pays d’Urfé** + Titulaire : Laurent BRUEL + Suppléant : Sandra GARRIVIER +- **Délégués à l’Association Avenir Santé en Pays d’Urfé** + Titulaire : André SANGLE + Suppléant : Sandra GARRIVIER +- **Délégués aux associations** + Sandra GARRIVIER, Aurélien MAILLET-FEUGÈRE, Georges TRAVARD, Irène MICHON, Stéphane PRAS +- **Délégués à la Bibliothèque** + Suzanne MANISSOLLE, Simon CONSTANS +- **Délégués au Fleurissement – Verger Conservatoire** + Sandra GARRIVIER, Thierry CLEMENÇON, Simon CONSTANS +- **Commission Communication** + V-Présidente : Sandra GARRIVIER + Membres : Laurent LOÏZZO, Élodie BOURG, Simon CONSTANS diff --git a/static/comptes-rendus/2020_06_04-Conseil_Municipal.pdf b/content/viemunicipale/compte-rendus/2020_06_04-Conseil_Municipal.pdf similarity index 100% rename from static/comptes-rendus/2020_06_04-Conseil_Municipal.pdf rename to content/viemunicipale/compte-rendus/2020_06_04-Conseil_Municipal.pdf diff --git a/static/comptes-rendus/2020_07_09-Conseil_Municipal.pdf b/content/viemunicipale/compte-rendus/2020_07_09-Conseil_Municipal.pdf similarity index 100% rename from static/comptes-rendus/2020_07_09-Conseil_Municipal.pdf rename to content/viemunicipale/compte-rendus/2020_07_09-Conseil_Municipal.pdf diff --git a/content/viemunicipale/compte-rendus/2020_09_10-Conseil_Municipal.pdf b/content/viemunicipale/compte-rendus/2020_09_10-Conseil_Municipal.pdf new file mode 100644 index 0000000..28dd2c6 Binary files /dev/null and b/content/viemunicipale/compte-rendus/2020_09_10-Conseil_Municipal.pdf differ diff --git a/content/viemunicipale/compte-rendus/index.md b/content/viemunicipale/compte-rendus/index.md new file mode 100644 index 0000000..ac1f8a9 --- /dev/null +++ b/content/viemunicipale/compte-rendus/index.md @@ -0,0 +1,26 @@ +--- +title: Les **comptes rendus** +menu: + main: + parent: municipale + name: Les comptes rendus + weight: 5 +--- + +Voici les comptes rendus des séances des conseils municipaux : + +- 26 novembre 2020 : prochain conseil municipal +- 22 octobre 2020 : [Compte rendu](.) - [résumé](.) +- 10 septembre 2020 : [Compte rendu](2020_09_10-Conseil_Municipal.pdf) - [résumé](.) +- 9 juillet 2020 : [Compte rendu](2020_07_09-Conseil_Municipal.pdf) - [résumé](.) +- 4 juin 2020 : [Compte rendu](2020_06_04-Conseil_Municipal.pdf) - [résumé](.) + +## Assister au Conseil Municipal + +**Le conseil municipal représente les habitants.** Ses attributions sont très larges depuis la loi de 1884 qui le charge de régler "par ses délibérations les affaires de la commune". Cette compétence s’étend à de nombreux domaines. Le conseil municipal donne son avis toutes les fois qu’il est requis par les textes ou par le représentant de l’État. + +**Les séances des conseils municipaux sont publiques** selon l’article L. 2121-18 du Code Général des Collectivités Territoriales. Toute personne peut y assister, quelle que soit sa domiciliation, sa situation, ou son intérêt, sans avoir à en justifier ou à en faire la demande. + +Néanmoins, sur la demande de trois membres ou du maire, le conseil municipal peut décider, sans débat, à la majorité absolue des membres présents ou représentés, qu’il se **réunit à huis clos**. + +Pendant la séance, le public ne doit en aucun cas marquer son approbation ou désapprobation de quelque manière que ce soit, et **doit garder le silence**. diff --git a/content/viemunicipale/compte-rendus/patrick-tomasso-Oaqk7qqNh_c-unsplash.jpg b/content/viemunicipale/compte-rendus/patrick-tomasso-Oaqk7qqNh_c-unsplash.jpg new file mode 100644 index 0000000..6029cba Binary files /dev/null and b/content/viemunicipale/compte-rendus/patrick-tomasso-Oaqk7qqNh_c-unsplash.jpg differ diff --git a/content/viemunicipale/leconseilmunicipal/anthony-choren-lYzap0eubDY-unsplash.jpg b/content/viemunicipale/leconseilmunicipal/anthony-choren-lYzap0eubDY-unsplash.jpg new file mode 100644 index 0000000..7f13bb6 Binary files /dev/null and b/content/viemunicipale/leconseilmunicipal/anthony-choren-lYzap0eubDY-unsplash.jpg differ diff --git a/content/viemunicipale/leconseilmunicipal/conseil-municipal.jpg b/content/viemunicipale/leconseilmunicipal/conseil-municipal.jpg new file mode 100644 index 0000000..d4a5487 Binary files /dev/null and b/content/viemunicipale/leconseilmunicipal/conseil-municipal.jpg differ diff --git a/content/viemunicipale/leconseilmunicipal/index.md b/content/viemunicipale/leconseilmunicipal/index.md index 30471d1..02eee61 100644 --- a/content/viemunicipale/leconseilmunicipal/index.md +++ b/content/viemunicipale/leconseilmunicipal/index.md @@ -1,11 +1,11 @@ --- -title: Le Conseil Municipal +title: Le Conseil **Municipal** menu: main: parent: municipale name: Le Conseil Municipal weight: 20 - pre: rouge +image: anthony-choren-lYzap0eubDY-unsplash.jpg layout: conseil --- diff --git a/content/viemunicipale/lemotdumaire/homepage.jpg b/content/viemunicipale/lemotdumaire/homepage.jpg deleted file mode 100644 index fb0eb70..0000000 Binary files a/content/viemunicipale/lemotdumaire/homepage.jpg and /dev/null differ diff --git a/content/viemunicipale/lemotdumaire/index.md b/content/viemunicipale/lemotdumaire/index.md index f45a766..fc8955d 100644 --- a/content/viemunicipale/lemotdumaire/index.md +++ b/content/viemunicipale/lemotdumaire/index.md @@ -1,12 +1,11 @@ --- title: Le mot du **Maire** -image: homepage.jpg +image: mairie.jpg menu: main: parent: municipale name: Le mot du Maire weight: 10 - pre: rouge --- {{< maire >}} diff --git a/content/viemunicipale/mairie.jpg b/content/viemunicipale/lemotdumaire/mairie.jpg similarity index 100% rename from content/viemunicipale/mairie.jpg rename to content/viemunicipale/lemotdumaire/mairie.jpg diff --git a/content/viemunicipale/poste.jpg b/content/viemunicipale/poste.jpg deleted file mode 100644 index 4502158..0000000 Binary files a/content/viemunicipale/poste.jpg and /dev/null differ diff --git a/layouts/_default/_markup/render-link.html b/layouts/_default/_markup/render-link.html index f04b2e3..bb743f1 100644 --- a/layouts/_default/_markup/render-link.html +++ b/layouts/_default/_markup/render-link.html @@ -1 +1,9 @@ -{{ .Text | safeHTML }} +{{/* + S'il n'y a pas de / dans l'url d'un lien alors on ajoute le path du répertoire +*/}} +{{ $isExternalLink := strings.HasPrefix .Destination "http" }} +{{ $isTelLink := strings.HasPrefix .Destination "tel:" }} +{{ $isMailtoLink := strings.HasPrefix .Destination "mailto:" }} +{{ $hasSlash := in .Destination "/" }} +{{ $path := cond (or (or $isTelLink $isMailtoLink) $hasSlash) .Destination (path.Join "/" .Page.Dir .Destination) }} +{{ .Text | safeHTML }} diff --git a/layouts/_default/list.html b/layouts/_default/list.html index 0a2d50c..ca0f1c7 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -1,8 +1,15 @@ {{ define "main" }}

{{ .RenderString .Title }}

-
+
{{ .Content }} +
{{ end }} diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 0a2d50c..d4db22a 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -1,7 +1,7 @@ {{ define "main" }}

{{ .RenderString .Title }}

-
+
{{ .Content }}
diff --git a/layouts/actualites/list.html b/layouts/actualites/list.html new file mode 100644 index 0000000..4ed3622 --- /dev/null +++ b/layouts/actualites/list.html @@ -0,0 +1,15 @@ +{{ define "main" }} +
+

{{ .RenderString .Title }}

+
+ {{ .Content }} + +
+
+{{ end }} diff --git a/layouts/news/single.html b/layouts/actualites/single.html similarity index 79% rename from layouts/news/single.html rename to layouts/actualites/single.html index 8706e4e..e798db5 100644 --- a/layouts/news/single.html +++ b/layouts/actualites/single.html @@ -1,7 +1,7 @@ {{ define "main" }}

{{ .RenderString .Title }}

-
+
{{ .Content }}
diff --git a/layouts/home.html b/layouts/home.html index d160835..0facc08 100644 --- a/layouts/home.html +++ b/layouts/home.html @@ -3,7 +3,7 @@

Le fil des actualités

- {{ $headless := .Site.GetPage "/news" }} + {{ $headless := .Site.GetPage "/actualites" }} {{ $lastnews := first 4 (sort $headless.Pages "Date" "desc") }} {{ $first := index (first 1 $lastnews) 0 }} {{ $others := after 1 $lastnews }} diff --git a/layouts/partials/conseilmunicipal.html b/layouts/partials/conseilmunicipal.html index 4439943..3a0cc40 100644 --- a/layouts/partials/conseilmunicipal.html +++ b/layouts/partials/conseilmunicipal.html @@ -1,13 +1,9 @@ {{ $headless := .Site.GetPage "/viemunicipale/leconseilmunicipal" }} -
-
+
{{ range sort $.Site.Data.conseilmunicipal.conseilmunicipal "nom" }} {{ $image := $headless.Resources.GetMatch .image }} {{ $resized := $image.Resize "250x" }} -
- {{ partial "person.html" (merge . (dict "image" $resized.RelPermalink)) }} -
+ {{ partial "person.html" (merge . (dict "image" $resized.RelPermalink)) }} {{ end }} -
diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index 2777ab2..0912916 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -5,11 +5,15 @@

Mairie de Crémeaux

Place de Pierre-Bénite

42260 Crémeaux

-

04 77 62 50 67

-

mairie@cremeaux.fr

+

04 77 62 50 67

+

mairie@cremeaux.fr

+

+ Flux RSS de l'actualité à Crémeaux + Facebook : Vivre à Crémeaux +

Horaire d'ouverture
au public :

@@ -19,5 +23,5 @@
diff --git a/layouts/partials/header.html b/layouts/partials/header.html index c02d8e7..6761d2b 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -1,15 +1,16 @@ +{{ $imageSize := cond .IsHome "1920x850 Top" "1920x450 Center" }}
- {{ if .Resources }} + {{ if .Resources.ByType "image" }} {{ $image := .Resources.GetMatch (default "*" .Params.image) }} {{ if $image }} - {{ $resized := $image.Fill "1400x600 Center"}} - {{ .Title }} + {{ $resized := $image.Fill $imageSize }} + {{ end }} {{ else }} {{ $headless := .Site.GetPage "/" }} {{ $image := $headless.Resources.GetMatch "*" }} - {{ $resized := $image.Fill "1400x600 Top"}} - {{ .Title }} + {{ $resized := $image.Fill $imageSize }} + {{ end }}
diff --git a/layouts/viemunicipale/commissions.html b/layouts/viemunicipale/commissions.html new file mode 100644 index 0000000..34e3f02 --- /dev/null +++ b/layouts/viemunicipale/commissions.html @@ -0,0 +1,8 @@ +{{ define "main" }} +
+

{{ .RenderString .Title }}

+
+ {{ .Content }} +
+
+{{ end }} diff --git a/layouts/viemunicipale/conseil.html b/layouts/viemunicipale/conseil.html index c2dc0a1..89f47f6 100644 --- a/layouts/viemunicipale/conseil.html +++ b/layouts/viemunicipale/conseil.html @@ -1,7 +1,7 @@ {{ define "main" }} -
-

{{ .Title }}

-
+
+

{{ .RenderString .Title }}

+
{{ .Content }}
diff --git a/static/icons/facebook.svg b/static/icons/facebook.svg new file mode 100644 index 0000000..4145c8b --- /dev/null +++ b/static/icons/facebook.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/static/icons/rss.svg b/static/icons/rss.svg new file mode 100644 index 0000000..6c96cdc --- /dev/null +++ b/static/icons/rss.svg @@ -0,0 +1 @@ + \ No newline at end of file