diff --git a/hugo.toml b/hugo.toml index f80234d..d346e08 100644 --- a/hugo.toml +++ b/hugo.toml @@ -1,4 +1,77 @@ baseURL = 'https://example.org/' -languageCode = 'en-us' +languageCode = 'fr-fr' +defaultContentLanguage = "fr" title = 'Vélo et Mobilités en Eure-Madrie-Seine' -theme = 'ananke' +theme = 'vmems-theme' + + + +[permalinks] + blog = "/blog/:year/:month/:day/:filename/" + +[menu] + +[[menu.main]] + name = "Accueil" + identifier = "menu.home" + url = "/" + weight = 1 + +[[menu.main]] + name = "Actualités" + identifier = "menu.blog" + url = "/blog/" + weight = 2 + +[[menu.main]] + name = "L'Association" + identifier = "menu.tags" + url = "/association/" + weight = 3 + +[[menu.main]] + name = "A propos" + identifier = "menu.categories" + url = "/about/" + weight = 4 + +[[menu.footer_left]] + name = "Accueil" + url = "/" + weight = 1 +[[ menu.footer_left ]] + name = "L'Association" + url = "/association/" + weight = 2 + +[[menu.footer_middle]] + name = "Blog" + url = "/blog/" + weight = 1 +[[menu.footer_middle]] + name = "Contact" + url = "/contact/" + weight = 2 + + +[[ menu.footer_right ]] + name = "Mentions Légales" + url = "/legals/" + weight = 1 +[[ menu.footer_right ]] + name = "A Propos" + url = "/about/" + weight = 2 + + +[params] + icon = "/img/favicon.ico" + logo = "https://host.gzod01.fr/GZod01/vmems.svg" + logo_small ="https://host.gzod01.fr/GZod01/vmems.svg" + copyright = "Copyright © VMEMS & GZod01 - All Rights Reserved" + sharing_default = "/img/sharing-default.png" + description = "Le site Officiel de VMEMS" +[taxonomies] + author="authors" + tag="tags" + categories="categories" diff --git a/themes/ananke b/themes/ananke deleted file mode 160000 index c086834..0000000 --- a/themes/ananke +++ /dev/null @@ -1 +0,0 @@ -Subproject commit c086834f0ebfa39b8b6b0cfed010588a6907a91c diff --git a/themes/vmems-theme/LICENSE b/themes/vmems-theme/LICENSE new file mode 100644 index 0000000..e5376fc --- /dev/null +++ b/themes/vmems-theme/LICENSE @@ -0,0 +1,20 @@ +The MIT License (MIT) + +Copyright (c) 2023 VMEMS + +Permission is hereby granted, free of charge, to any person obtaining a copy of +this software and associated documentation files (the "Software"), to deal in +the Software without restriction, including without limitation the rights to +use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of +the Software, and to permit persons to whom the Software is furnished to do so, +subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS +FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR +COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER +IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN +CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/themes/vmems-theme/archetypes/default.md b/themes/vmems-theme/archetypes/default.md new file mode 100644 index 0000000..88c0ef6 --- /dev/null +++ b/themes/vmems-theme/archetypes/default.md @@ -0,0 +1,8 @@ +--- +title: "{{ replace .Name "-" " " | title }}" +date: {{ .Date }} +description: "" +authors: [] +tags: [] +keywords: [] +--- diff --git a/themes/vmems-theme/exampleSite/config.toml b/themes/vmems-theme/exampleSite/config.toml new file mode 100644 index 0000000..f8ff5f9 --- /dev/null +++ b/themes/vmems-theme/exampleSite/config.toml @@ -0,0 +1,8 @@ +baseURL = "https://igstv.gzod01.fr" +theme = "igstv-theme" +languageCode = "fr-fr" +defaultContentLanguage = "fr" +title = "IGSTV - Official Website" + +[permalinks] + blog = "/blog/:year/:month/:day/:filename/" diff --git a/themes/vmems-theme/exampleSite/content/blog/firstpost.md b/themes/vmems-theme/exampleSite/content/blog/firstpost.md new file mode 100644 index 0000000..0317a66 --- /dev/null +++ b/themes/vmems-theme/exampleSite/content/blog/firstpost.md @@ -0,0 +1,15 @@ +--- +title: "Le premier article de IGSTV" +date: "2023-07-04T01:33:43+02:00" +lastmod: "2023-07-06T09:23:00+02:00" +author: "IGSTV ©" +authors: ["GZod01","Oiseau_K"] +facebook_author: "false" +facebook_site: "false" +tags: ["infos","igstv"] +keywords: ["first","post","igstv"] +baneer: "" +--- +Bonjour à tous, + +Il s'agit du premier article sur ce site, le nouveau site officiel de IGSTV développé, maintenu et hébergé par GZod01 (certains outils sont utilisés, voir les [mentions légales](/legals)) diff --git a/themes/vmems-theme/exampleSite/content/community.md b/themes/vmems-theme/exampleSite/content/community.md new file mode 100644 index 0000000..0300a55 --- /dev/null +++ b/themes/vmems-theme/exampleSite/content/community.md @@ -0,0 +1,10 @@ +--- +title: "Communauté IGSTV" +--- +# La communauté IGSTV + +IGSTV peut utiliser plusieurs services pour sa communauté. + +Le service le plus utilisé reste cependant [discord](https://discord.com) avec la [communauté discord IGSTV](https://discord.gg/dyyWc99Hfx). + +Il existe aussi une communauté sur [GammaChat](https://apps.gzod01.fr/chat?channel=igstv), lien d'invitation: [ici](https://apps.gzod01.fr/chat/invite?code=ba1fe21c6139a4630ff4a3a2c62ecc1464a66f934a3be). diff --git a/themes/vmems-theme/exampleSite/content/contact.md b/themes/vmems-theme/exampleSite/content/contact.md new file mode 100644 index 0000000..a4af3a3 --- /dev/null +++ b/themes/vmems-theme/exampleSite/content/contact.md @@ -0,0 +1,14 @@ ++++ +title = "Contact" +id = "contact" ++++ + +# Nous sommes là pour vous aider + +Vous voulez nous contacter pour des questions ? Commencez votre message par "QUESTIONS - ". + +Vous voulez nous contacter pour suggérer des informations et/ou idées ? Commencez votre message par "SUGGESTIONS - ". + +Vous voulez nous contacter pour candidater ? Commencez votre message par "CANDIDATURE - " , n'oubliez pas que IGSTV est une entité informelle, le travail se base donc sur le volontariat, [lisez les Termes du contrat](/legals#contrat) pour plus d'informations. + +Vous voulez nous contacter pour une autre raison ? Commencez votre message par "DIVERS - ". diff --git a/themes/vmems-theme/exampleSite/content/faq.md b/themes/vmems-theme/exampleSite/content/faq.md new file mode 100644 index 0000000..8d47d4f --- /dev/null +++ b/themes/vmems-theme/exampleSite/content/faq.md @@ -0,0 +1,30 @@ ++++ +title = "FAQ" +description = "Foire aux Questions" +keywords = ["FAQ","Comment faire","questions","et si"] ++++ + +Voici une liste de questions fréquemment posées, si vous avez une question vous trouverez donc peut être la réponse dans cette page. + +## 1. QU'EST CE QU'IGSTV ? + +IGSTV est une société informelle principalement axée sur la diffusion d'informations, que ce soit par l'intermediaire [de la chaine Youtube](https://youtube.com/@igstvfr/), de ce site et blog, ou par n'importe quel autre moyen. + +Il arrive que IGSTV publie les actualités de manière humoristique et/ou dérivée afin de dédramatiser un peu la situation et afin de toucher un public important. + +D'autres faits sont eux publiés avec le plus grand sérieux. + +IGSTV propose aussi d'autres services. + +## 2. COMMENT REJOINDRE IGSTV ? + +................ + +## 3. COMMENT PROPOSER DES IDÉES À IGSTV ? + +................ + + +--- + +> Si vous ne trouvez pas la réponse à votre question, n'hésitez pas à nous contacter, nous serons heureux de vous aider. diff --git a/themes/vmems-theme/exampleSite/content/legals.md b/themes/vmems-theme/exampleSite/content/legals.md new file mode 100644 index 0000000..9535926 --- /dev/null +++ b/themes/vmems-theme/exampleSite/content/legals.md @@ -0,0 +1,30 @@ +--- +title: "Mentions Légales" +date: 2023-07-05T09:39:47+02:00 +description: "Les mentions légales de ce site" +keywords: ["légal","mentions","légales","copyright","legals"] +draft: false +--- +# Mentions Légales + + +## Technologies utilisés pour le site + +Ce site est construit avec [hugo](//gohugo.io). +Il utilise un template par [BootStrapius](https://bootstrapious.com/p/universal-business-e-commerce-template). +Porté sur Hugo par [DevCows](https://github.com/devcows/hugo-universal-theme). +Quelques changements ont été faits sur ce template par [GZod01](https://gzod01.fr). + + + +## Termes du Contrat {#contrat} + +**TERMES DU CONTRAT:** + +IGSTV étant une société informelle, **aucun** salaire réel n'est assuré. + +Cependant en tant qu'employés d'IGSTV vous pourrez avoir quelques avantages, notamment dans les services, apps et jeux créés par GZod01. + +Être employé vous donnera aussi un rôle spécial dans le [serveur discord](https://discord.gg/dyyWc99Hfx) et donc accès à des salons spéciaux. + +Tous les avantages ne sont pas répertoriés ici car nous n'avons pas une liste prècise et définie des avantages possibles. Cependant ce qui est sûr et certain c'est que vous aurez des avantages en rejoignant l'équipe IGSTV. diff --git a/themes/vmems-theme/exampleSite/content/team.md b/themes/vmems-theme/exampleSite/content/team.md new file mode 100644 index 0000000..c884efe --- /dev/null +++ b/themes/vmems-theme/exampleSite/content/team.md @@ -0,0 +1,4 @@ +--- +title: "L’équipe IGSTV" +--- +{{/* */}} diff --git a/themes/vmems-theme/exampleSite/data/carousel/go-to-contact.yaml b/themes/vmems-theme/exampleSite/data/carousel/go-to-contact.yaml new file mode 100644 index 0000000..f95d44b --- /dev/null +++ b/themes/vmems-theme/exampleSite/data/carousel/go-to-contact.yaml @@ -0,0 +1,9 @@ +weight: 4 +title: "Contactez nous!" +description: > + +image: "img/carousel/contact-logo.png" +href: "contact" diff --git a/themes/vmems-theme/exampleSite/data/carousel/go-to-faq.yaml b/themes/vmems-theme/exampleSite/data/carousel/go-to-faq.yaml new file mode 100644 index 0000000..c8570ac --- /dev/null +++ b/themes/vmems-theme/exampleSite/data/carousel/go-to-faq.yaml @@ -0,0 +1,12 @@ +weight: 2 +title: "Des questions sur IGSTV?" +description: > + +image: "img/carousel/faq-logo.png" +href: "faq" diff --git a/themes/vmems-theme/exampleSite/data/carousel/pub_gzod01.yaml b/themes/vmems-theme/exampleSite/data/carousel/pub_gzod01.yaml new file mode 100644 index 0000000..9eaa609 --- /dev/null +++ b/themes/vmems-theme/exampleSite/data/carousel/pub_gzod01.yaml @@ -0,0 +1,10 @@ +weight: 3 +title: "Infos sur les pubs pour GZod01" +description: > + +image: "https://host.gzod01.fr/igstv/igstv-appsgzod01fr-screenshoot.png" diff --git a/themes/vmems-theme/exampleSite/data/carousel/welcome.yaml b/themes/vmems-theme/exampleSite/data/carousel/welcome.yaml new file mode 100644 index 0000000..bae4f20 --- /dev/null +++ b/themes/vmems-theme/exampleSite/data/carousel/welcome.yaml @@ -0,0 +1,4 @@ +weight: 1 +title: "Bienvenue sur le site de IGSTV" +description: "

Bienvenue sur le site OFFICIEL de IGSTV, développé, hébergé et maintenu par GZod01.

" +image: "img/logo.png" diff --git a/themes/vmems-theme/exampleSite/data/clients/1.yaml b/themes/vmems-theme/exampleSite/data/clients/1.yaml new file mode 100644 index 0000000..9d6af31 --- /dev/null +++ b/themes/vmems-theme/exampleSite/data/clients/1.yaml @@ -0,0 +1,3 @@ +name: "Aucun Client Pour Le Moment" +url: "//about:blank" +img: "about:blank" diff --git a/themes/vmems-theme/exampleSite/data/employees/1.yaml b/themes/vmems-theme/exampleSite/data/employees/1.yaml new file mode 100644 index 0000000..f110d38 --- /dev/null +++ b/themes/vmems-theme/exampleSite/data/employees/1.yaml @@ -0,0 +1,7 @@ +post: "PDG" +name: "GZod01" +img: "https://api.gzod01.fr/pictures/gzod01.png" +url: "//gzod01.fr" +description: > +

GZod01 est l'un des deux fondateurs d'IGSTV, il est aussi le propriétaire, le développeur et le responsable du domaine GZOD01.FR.

+writername: "gzod01" diff --git a/themes/vmems-theme/exampleSite/data/employees/2.yaml b/themes/vmems-theme/exampleSite/data/employees/2.yaml new file mode 100644 index 0000000..f5ce3a8 --- /dev/null +++ b/themes/vmems-theme/exampleSite/data/employees/2.yaml @@ -0,0 +1,6 @@ +post: "PDG" +name: "Oiseau_K" +img: "https://cdn.discordapp.com/avatars/460166939323400194/5dd569fc41f73941b6afe88c6d3161a6.webp" +description: > +

Oiseau_K est l'un des deux fondateurs de IGSTV.

+writername: "oiseau_k" diff --git a/themes/vmems-theme/exampleSite/data/features/community.yaml b/themes/vmems-theme/exampleSite/data/features/community.yaml new file mode 100644 index 0000000..334d4e0 --- /dev/null +++ b/themes/vmems-theme/exampleSite/data/features/community.yaml @@ -0,0 +1,5 @@ +weight: 2 +name: "Communauté" +icon: "fas fa-users" +url: "/community" +description: "IGSTV cherche aussi à créer une communauté solide, afin que les personnes puissent échanger librement, que ce soit sur les actualités ou non." diff --git a/themes/vmems-theme/exampleSite/data/features/news.yaml b/themes/vmems-theme/exampleSite/data/features/news.yaml new file mode 100644 index 0000000..d5ccd17 --- /dev/null +++ b/themes/vmems-theme/exampleSite/data/features/news.yaml @@ -0,0 +1,5 @@ +weight: 1 +name: "Actualités" +icon: "fas fa-newspaper" +url: "/blog/" +description: "IGSTV est **principalement** accès sur la diffusion d'actualités, de manière humoristique ou sérieuse." diff --git a/themes/vmems-theme/exampleSite/data/features/other.yaml b/themes/vmems-theme/exampleSite/data/features/other.yaml new file mode 100644 index 0000000..95f50ad --- /dev/null +++ b/themes/vmems-theme/exampleSite/data/features/other.yaml @@ -0,0 +1,5 @@ +weight: 3 +name: "Autres" +icon: "fas fa-rocket" +url: "/faq" +description: "IGSTV peut aussi intervenir sur d'autres aspects, meme si c'est plutôt rare." diff --git a/themes/vmems-theme/exampleSite/data/testimonials/1.yaml b/themes/vmems-theme/exampleSite/data/testimonials/1.yaml new file mode 100644 index 0000000..50928e7 --- /dev/null +++ b/themes/vmems-theme/exampleSite/data/testimonials/1.yaml @@ -0,0 +1,4 @@ +text: "J'aime beaucoup IGSTV, ils publient souvent les actualités de manière humoristique ce qui permet de détendre la situation, cela ne leur empêche pas d'être très serieux, certaines autres actualités sont publiées avec sérieux ce qui permet d'avoir tout de même une vision réaliste des actualités." +name: "Anonyme" +position: "Commentaire Anonyme" +avatar: "img/carousel/faq-logo.png" diff --git a/themes/vmems-theme/exampleSite/static/css/custom.css b/themes/vmems-theme/exampleSite/static/css/custom.css new file mode 100644 index 0000000..c6511ab --- /dev/null +++ b/themes/vmems-theme/exampleSite/static/css/custom.css @@ -0,0 +1,84 @@ +/* your styles go here */ +/* Example site test */ + +.box-image-text .image { + min-height: 190px; + max-height: 190px; +} + +.box-image-text .image img { + max-height: 190px; + margin: auto; +} + +.box-simple { + min-height: 230px; +} +.home-carousel{ + background: url('../img/logo-small.png') center center repeat; + } + .bar.background-image-fixed-2{ + background: url('../img/logo.png') center top no-repeat; + } + #copyright .pull-right{ + display:none; + } +.employees { + padding: 0; + margin-bottom: 40px; +} +.employees .item { + background-color:white; + padding:10px; + border-radius:10px; + list-style-type: none; + text-align: center; + margin: 0 20px; + height: calc( 320px ); +} +.employees .item img { + height: 80px; + border-radius: 100%; + display: inline-block; + filter: url("data:image/svg+xml;utf8,#grayscale"); + /* Firefox 10+, Firefox on Android */ + filter: gray; + /* IE6-9 */ + -webkit-filter: grayscale(100%); + /* Chrome 19+, Safari 6+, Safari 6+ iOS */ + -webkit-transition: all 0.2s ease-out; + -moz-transition: all 0.2s ease-out; + transition: all 0.2s ease-out; +} +.employees .item img:hover{ + max-width:auto; + filter:none; + -webkit-filter:none; +} +.employees .item:hover img { + max-width: auto; + filter: none; + -webkit-filter: none; +} +.employees .item *{ + filter:none; + color: var(--primary-accent); +} +.employees .item .name{ + padding-top:20px; + font-weight:600; + text-decoration:underline; +} +.employees .item .post{ + font-style:italic; + font-size:80%; + filter: brightness(60%); +} +.employees .item .description{ + border: 2px solid var(--primary-accent); + height:80px; + overflow:auto; +} +.employees .item .description *{ + filter: brightness(50%); +} diff --git a/themes/vmems-theme/exampleSite/static/img/apple-touch-icon.png b/themes/vmems-theme/exampleSite/static/img/apple-touch-icon.png new file mode 100644 index 0000000..f95702c Binary files /dev/null and b/themes/vmems-theme/exampleSite/static/img/apple-touch-icon.png differ diff --git a/themes/vmems-theme/exampleSite/static/img/banners/banner-1.jpg b/themes/vmems-theme/exampleSite/static/img/banners/banner-1.jpg new file mode 100644 index 0000000..7f9a017 Binary files /dev/null and b/themes/vmems-theme/exampleSite/static/img/banners/banner-1.jpg differ diff --git a/themes/vmems-theme/exampleSite/static/img/banners/banner-2.jpg b/themes/vmems-theme/exampleSite/static/img/banners/banner-2.jpg new file mode 100644 index 0000000..2dbc994 Binary files /dev/null and b/themes/vmems-theme/exampleSite/static/img/banners/banner-2.jpg differ diff --git a/themes/vmems-theme/exampleSite/static/img/banners/banner-3.jpg b/themes/vmems-theme/exampleSite/static/img/banners/banner-3.jpg new file mode 100644 index 0000000..147fc43 Binary files /dev/null and b/themes/vmems-theme/exampleSite/static/img/banners/banner-3.jpg differ diff --git a/themes/vmems-theme/exampleSite/static/img/banners/banner-4.jpg b/themes/vmems-theme/exampleSite/static/img/banners/banner-4.jpg new file mode 100644 index 0000000..54677b5 Binary files /dev/null and b/themes/vmems-theme/exampleSite/static/img/banners/banner-4.jpg differ diff --git a/themes/vmems-theme/exampleSite/static/img/banners/banner-5.jpg b/themes/vmems-theme/exampleSite/static/img/banners/banner-5.jpg new file mode 100644 index 0000000..03ebd86 Binary files /dev/null and b/themes/vmems-theme/exampleSite/static/img/banners/banner-5.jpg differ diff --git a/themes/vmems-theme/exampleSite/static/img/carousel/contact-logo.png b/themes/vmems-theme/exampleSite/static/img/carousel/contact-logo.png new file mode 100644 index 0000000..79e6afa Binary files /dev/null and b/themes/vmems-theme/exampleSite/static/img/carousel/contact-logo.png differ diff --git a/themes/vmems-theme/exampleSite/static/img/carousel/faq-logo.png b/themes/vmems-theme/exampleSite/static/img/carousel/faq-logo.png new file mode 100644 index 0000000..b529bef Binary files /dev/null and b/themes/vmems-theme/exampleSite/static/img/carousel/faq-logo.png differ diff --git a/themes/vmems-theme/exampleSite/static/img/carousel/template-easy-code.png b/themes/vmems-theme/exampleSite/static/img/carousel/template-easy-code.png new file mode 100644 index 0000000..a9b573a Binary files /dev/null and b/themes/vmems-theme/exampleSite/static/img/carousel/template-easy-code.png differ diff --git a/themes/vmems-theme/exampleSite/static/img/carousel/template-easy-customize-less.png b/themes/vmems-theme/exampleSite/static/img/carousel/template-easy-customize-less.png new file mode 100644 index 0000000..c600c36 Binary files /dev/null and b/themes/vmems-theme/exampleSite/static/img/carousel/template-easy-customize-less.png differ diff --git a/themes/vmems-theme/exampleSite/static/img/carousel/template-easy-customize.png b/themes/vmems-theme/exampleSite/static/img/carousel/template-easy-customize.png new file mode 100644 index 0000000..6080be0 Binary files /dev/null and b/themes/vmems-theme/exampleSite/static/img/carousel/template-easy-customize.png differ diff --git a/themes/vmems-theme/exampleSite/static/img/carousel/template-homepage.png b/themes/vmems-theme/exampleSite/static/img/carousel/template-homepage.png new file mode 100644 index 0000000..6541b60 Binary files /dev/null and b/themes/vmems-theme/exampleSite/static/img/carousel/template-homepage.png differ diff --git a/themes/vmems-theme/exampleSite/static/img/carousel/template-mac.png b/themes/vmems-theme/exampleSite/static/img/carousel/template-mac.png new file mode 100644 index 0000000..17887c4 Binary files /dev/null and b/themes/vmems-theme/exampleSite/static/img/carousel/template-mac.png differ diff --git a/themes/vmems-theme/exampleSite/static/img/carousel/template-tablets-2.png b/themes/vmems-theme/exampleSite/static/img/carousel/template-tablets-2.png new file mode 100644 index 0000000..9aac3c6 Binary files /dev/null and b/themes/vmems-theme/exampleSite/static/img/carousel/template-tablets-2.png differ diff --git a/themes/vmems-theme/exampleSite/static/img/carousel/template-tablets.png b/themes/vmems-theme/exampleSite/static/img/carousel/template-tablets.png new file mode 100644 index 0000000..c9b8fba Binary files /dev/null and b/themes/vmems-theme/exampleSite/static/img/carousel/template-tablets.png differ diff --git a/themes/vmems-theme/exampleSite/static/img/clients/customer-1.png b/themes/vmems-theme/exampleSite/static/img/clients/customer-1.png new file mode 100644 index 0000000..c7a7395 Binary files /dev/null and b/themes/vmems-theme/exampleSite/static/img/clients/customer-1.png differ diff --git a/themes/vmems-theme/exampleSite/static/img/clients/customer-2.png b/themes/vmems-theme/exampleSite/static/img/clients/customer-2.png new file mode 100644 index 0000000..0e887d1 Binary files /dev/null and b/themes/vmems-theme/exampleSite/static/img/clients/customer-2.png differ diff --git a/themes/vmems-theme/exampleSite/static/img/clients/customer-3.png b/themes/vmems-theme/exampleSite/static/img/clients/customer-3.png new file mode 100644 index 0000000..9e5d79b Binary files /dev/null and b/themes/vmems-theme/exampleSite/static/img/clients/customer-3.png differ diff --git a/themes/vmems-theme/exampleSite/static/img/clients/customer-4.png b/themes/vmems-theme/exampleSite/static/img/clients/customer-4.png new file mode 100644 index 0000000..c906944 Binary files /dev/null and b/themes/vmems-theme/exampleSite/static/img/clients/customer-4.png differ diff --git a/themes/vmems-theme/exampleSite/static/img/clients/customer-5.png b/themes/vmems-theme/exampleSite/static/img/clients/customer-5.png new file mode 100644 index 0000000..bdd6625 Binary files /dev/null and b/themes/vmems-theme/exampleSite/static/img/clients/customer-5.png differ diff --git a/themes/vmems-theme/exampleSite/static/img/clients/customer-6.png b/themes/vmems-theme/exampleSite/static/img/clients/customer-6.png new file mode 100644 index 0000000..b9b6797 Binary files /dev/null and b/themes/vmems-theme/exampleSite/static/img/clients/customer-6.png differ diff --git a/themes/vmems-theme/exampleSite/static/img/favicon.ico b/themes/vmems-theme/exampleSite/static/img/favicon.ico new file mode 100644 index 0000000..2b82595 Binary files /dev/null and b/themes/vmems-theme/exampleSite/static/img/favicon.ico differ diff --git a/themes/vmems-theme/exampleSite/static/img/logo-small.png b/themes/vmems-theme/exampleSite/static/img/logo-small.png new file mode 100644 index 0000000..f95702c Binary files /dev/null and b/themes/vmems-theme/exampleSite/static/img/logo-small.png differ diff --git a/themes/vmems-theme/exampleSite/static/img/logo.png b/themes/vmems-theme/exampleSite/static/img/logo.png new file mode 100644 index 0000000..a94a6ee Binary files /dev/null and b/themes/vmems-theme/exampleSite/static/img/logo.png differ diff --git a/themes/vmems-theme/exampleSite/static/img/screenshot-website.png b/themes/vmems-theme/exampleSite/static/img/screenshot-website.png new file mode 100644 index 0000000..9c05cac Binary files /dev/null and b/themes/vmems-theme/exampleSite/static/img/screenshot-website.png differ diff --git a/themes/vmems-theme/exampleSite/static/img/sharing-default.png b/themes/vmems-theme/exampleSite/static/img/sharing-default.png new file mode 100644 index 0000000..b47612a Binary files /dev/null and b/themes/vmems-theme/exampleSite/static/img/sharing-default.png differ diff --git a/themes/vmems-theme/exampleSite/static/img/template-easy-customize.png b/themes/vmems-theme/exampleSite/static/img/template-easy-customize.png new file mode 100644 index 0000000..6080be0 Binary files /dev/null and b/themes/vmems-theme/exampleSite/static/img/template-easy-customize.png differ diff --git a/themes/vmems-theme/exampleSite/static/img/template-homepage.png b/themes/vmems-theme/exampleSite/static/img/template-homepage.png new file mode 100644 index 0000000..b47612a Binary files /dev/null and b/themes/vmems-theme/exampleSite/static/img/template-homepage.png differ diff --git a/themes/vmems-theme/exampleSite/static/img/testimonials/person-1.jpg b/themes/vmems-theme/exampleSite/static/img/testimonials/person-1.jpg new file mode 100644 index 0000000..c397d3f Binary files /dev/null and b/themes/vmems-theme/exampleSite/static/img/testimonials/person-1.jpg differ diff --git a/themes/vmems-theme/exampleSite/static/img/testimonials/person-2.jpg b/themes/vmems-theme/exampleSite/static/img/testimonials/person-2.jpg new file mode 100644 index 0000000..1abb3e9 Binary files /dev/null and b/themes/vmems-theme/exampleSite/static/img/testimonials/person-2.jpg differ diff --git a/themes/vmems-theme/exampleSite/static/img/testimonials/person-3.png b/themes/vmems-theme/exampleSite/static/img/testimonials/person-3.png new file mode 100644 index 0000000..cfa6fbd Binary files /dev/null and b/themes/vmems-theme/exampleSite/static/img/testimonials/person-3.png differ diff --git a/themes/vmems-theme/exampleSite/static/img/testimonials/person-4.jpg b/themes/vmems-theme/exampleSite/static/img/testimonials/person-4.jpg new file mode 100644 index 0000000..d08cf7e Binary files /dev/null and b/themes/vmems-theme/exampleSite/static/img/testimonials/person-4.jpg differ diff --git a/themes/vmems-theme/layouts/404.html b/themes/vmems-theme/layouts/404.html new file mode 100644 index 0000000..e01ea6d --- /dev/null +++ b/themes/vmems-theme/layouts/404.html @@ -0,0 +1,2 @@ +404 +Accueil diff --git a/themes/vmems-theme/layouts/_default/baseof.html b/themes/vmems-theme/layouts/_default/baseof.html new file mode 100644 index 0000000..972cc74 --- /dev/null +++ b/themes/vmems-theme/layouts/_default/baseof.html @@ -0,0 +1,11 @@ + + + {{- partial "head.html" . -}} + + {{- partial "header.html" . -}} +
+ {{- block "main" . }}{{- end }} +
+ {{- partial "footer.html" . -}} + + diff --git a/themes/vmems-theme/layouts/_default/list.html b/themes/vmems-theme/layouts/_default/list.html new file mode 100644 index 0000000..8f0bb78 --- /dev/null +++ b/themes/vmems-theme/layouts/_default/list.html @@ -0,0 +1,15 @@ +{{ define "main" }} + +{{ end }} diff --git a/themes/vmems-theme/layouts/_default/single.html b/themes/vmems-theme/layouts/_default/single.html new file mode 100644 index 0000000..277ae99 --- /dev/null +++ b/themes/vmems-theme/layouts/_default/single.html @@ -0,0 +1,4 @@ +{{ define "main" }} +{{ .Content }} + +{{ end }} diff --git a/themes/vmems-theme/layouts/authors/list.html b/themes/vmems-theme/layouts/authors/list.html new file mode 100644 index 0000000..54943a3 --- /dev/null +++ b/themes/vmems-theme/layouts/authors/list.html @@ -0,0 +1,133 @@ +{{ define "main" }} +{{ if (eq .Page.RelPermalink "/authors/") }} +

Nos rédacteurs:

+{{ else }} +{{ $page := . }} +{{ $prevauthordata := index .Site.Data.employees "0" }} +{{ range .Site.Data.employees}} +{{ if eq (lower $page.Name ) .writername }} +{{ $prevauthordata = . }} +{{ end }} +{{ end }} +{{ $authorname := $prevauthordata.name }} +{{ $authorpost :=$prevauthordata.post }} +{{ if eq $prevauthordata.name "NODATA"}} +{{ $authorname = $page.Name }} +{{ $authorpost = "Nous n'avons pour l'instant pas entré de données sur cet employé" }} +{{ end }} +

Les articles par {{$authorname}}:

+
+
+

Poste: {{ $authorpost }}

+ {{ if $prevauthordata.description }} +

Description:

{{$prevauthordata.description |safeHTML}}
+ {{end}} +
+
+ {{ if $prevauthordata.img}} {{end}} +
+
+ +{{ end }} + +{{ end }} diff --git a/themes/vmems-theme/layouts/blog/list.html b/themes/vmems-theme/layouts/blog/list.html new file mode 100644 index 0000000..7430831 --- /dev/null +++ b/themes/vmems-theme/layouts/blog/list.html @@ -0,0 +1,54 @@ +{{ define "main" }} +

Nos derniers articles :

+ +{{ end }} diff --git a/themes/vmems-theme/layouts/blog/single.html b/themes/vmems-theme/layouts/blog/single.html new file mode 100644 index 0000000..385f905 --- /dev/null +++ b/themes/vmems-theme/layouts/blog/single.html @@ -0,0 +1,72 @@ +{{ define "main" }} +
+
+
+

{{ .Title }}

+
+
+ {{ if isset .Params "categories" }} + + {{ $catlen := (len .Params.categories) }} + {{ if (gt $catlen 0) }} + {{ if (gt $catlen 1) }} + Dans les catégories + {{ else }} + Dans la catégorie + {{ end }} + {{ range $index, $element := .Params.categories }} + {{ $element }} + {{ if (not (eq (add $index 1) $catlen)) }} + , + {{ end }} + {{ end }} + {{ end }} + +   -   + {{ end }} + {{ if isset .Params "tags" }} + + {{ $taglen := (len .Params.tags) }} + {{ if (gt $taglen 0) }} + {{ if (gt $taglen 1) }} + Avec les tags + {{ else }} + Avec le tag + {{ end }} + {{ range $index, $element := .Params.tags }} + {{ $element }} + {{ if (not (eq (add $index 1) $taglen)) }} + , + {{ end }} + {{ end }} + {{ end }} + +   -   + {{ end }} + {{ if isset .Params "authors" }} + + Fait par + {{ $len := (len .Params.authors) }} + {{ range $index, $element := .Params.authors }} + {{ $element }} + {{ if (not (eq (add $index 1) $len)) }} + et + {{ end }} + + {{ end }} + +   -   + {{ end }} + +
+
+
+ {{ .Content }} +
+
+ +
+
+{{ end }} diff --git a/themes/vmems-theme/layouts/categories/list.html b/themes/vmems-theme/layouts/categories/list.html new file mode 100644 index 0000000..556bdce --- /dev/null +++ b/themes/vmems-theme/layouts/categories/list.html @@ -0,0 +1,12 @@ +{{ define "main" }} +

Catégories:

+ +{{ end }} diff --git a/themes/vmems-theme/layouts/index.html b/themes/vmems-theme/layouts/index.html new file mode 100644 index 0000000..2dab430 --- /dev/null +++ b/themes/vmems-theme/layouts/index.html @@ -0,0 +1,22 @@ +{{ define "main" }} +
+
+
+
+

Du vélo sur gaillon c'est possible!

+

VMEMS, association de promotion du vélo et autres mobilités douces!

+
+
+ +{{ end }} diff --git a/themes/vmems-theme/layouts/partials/carousel.html b/themes/vmems-theme/layouts/partials/carousel.html new file mode 100644 index 0000000..b8ba79f --- /dev/null +++ b/themes/vmems-theme/layouts/partials/carousel.html @@ -0,0 +1,37 @@ +{{ if (isset site.Data "carousel") }} +{{ if gt (len site.Data.carousel) 0 }} + +{{ end }} +{{ end }} diff --git a/themes/vmems-theme/layouts/partials/features.html b/themes/vmems-theme/layouts/partials/features.html new file mode 100644 index 0000000..e5ba1d6 --- /dev/null +++ b/themes/vmems-theme/layouts/partials/features.html @@ -0,0 +1,27 @@ +{{ if (isset site.Data "features") }} +{{ if gt (len site.Data.features) 0 }} +
+{{ range (sort site.Data.features "weight") }} + +{{ end }} +
+{{ end }} +{{ end }} diff --git a/themes/vmems-theme/layouts/partials/footer.html b/themes/vmems-theme/layouts/partials/footer.html new file mode 100644 index 0000000..10b7fbd --- /dev/null +++ b/themes/vmems-theme/layouts/partials/footer.html @@ -0,0 +1,49 @@ + diff --git a/themes/vmems-theme/layouts/partials/head.html b/themes/vmems-theme/layouts/partials/head.html new file mode 100644 index 0000000..3228591 --- /dev/null +++ b/themes/vmems-theme/layouts/partials/head.html @@ -0,0 +1,31 @@ + + + + + {{ if isset .Site.Params "sharing_default" }} + + + + +{{ end }} + + + + + + + + + + + + + + + + + + + {{ if not .IsHome }}{{ with .Title }}{{ . | safeHTML }} | {{ end }}{{ end }}{{ .Site.Title }} + + diff --git a/themes/vmems-theme/layouts/partials/header.html b/themes/vmems-theme/layouts/partials/header.html new file mode 100644 index 0000000..f357bf0 --- /dev/null +++ b/themes/vmems-theme/layouts/partials/header.html @@ -0,0 +1,29 @@ + diff --git a/themes/vmems-theme/layouts/partials/last-articles-row-3.html b/themes/vmems-theme/layouts/partials/last-articles-row-3.html new file mode 100644 index 0000000..bc5ff42 --- /dev/null +++ b/themes/vmems-theme/layouts/partials/last-articles-row-3.html @@ -0,0 +1,23 @@ +
+{{ range ( where site.RegularPages "Type" "blog" | first 12 ) }} + +{{ end }} +
diff --git a/themes/vmems-theme/layouts/partials/last-news-carousel.html b/themes/vmems-theme/layouts/partials/last-news-carousel.html new file mode 100644 index 0000000..0ed4b97 --- /dev/null +++ b/themes/vmems-theme/layouts/partials/last-news-carousel.html @@ -0,0 +1,31 @@ + diff --git a/themes/vmems-theme/layouts/partials/team-carousel.html b/themes/vmems-theme/layouts/partials/team-carousel.html new file mode 100644 index 0000000..2a611b9 --- /dev/null +++ b/themes/vmems-theme/layouts/partials/team-carousel.html @@ -0,0 +1,48 @@ +{{ if (isset site.Data "employees") }} +{{ if gt (len site.Data.employees) 0 }} + +{{ end }} +{{ end }} diff --git a/themes/vmems-theme/layouts/shortcodes/employees.html b/themes/vmems-theme/layouts/shortcodes/employees.html new file mode 100644 index 0000000..6924427 --- /dev/null +++ b/themes/vmems-theme/layouts/shortcodes/employees.html @@ -0,0 +1 @@ +{{ partial "team-carousel.html" | safeHTML }} diff --git a/themes/vmems-theme/layouts/tags/list.html b/themes/vmems-theme/layouts/tags/list.html new file mode 100644 index 0000000..3092ef6 --- /dev/null +++ b/themes/vmems-theme/layouts/tags/list.html @@ -0,0 +1,12 @@ +{{ define "main" }} +

Tags:

+ +{{ end }} diff --git a/themes/vmems-theme/static/css/carousel.css b/themes/vmems-theme/static/css/carousel.css new file mode 100644 index 0000000..b743ec7 --- /dev/null +++ b/themes/vmems-theme/static/css/carousel.css @@ -0,0 +1,225 @@ +/* Carousel and grid css (the carousels and the feature grid, etc.)*/ +.home-top-carousel{ + height:300px; +} +.home-top-carousel .item, .home-top-carousel .item>a{ + display:flex; + background-color:var(--primary-color-3); + color: var(--secondary-color); + flex-direction:row; + width:calc(100% - 40px); /* 260px */ + padding: 0px 20px; + +} +.home-top-carousel .item .text{ + display:flex; + flex-direction: column; + flex:2 0; + height:260px;/*100%*/ + +} +.home-top-carousel .item .text .title{ + min-height:10%; + max-height:20%; + vertical-align:middle; + text-align:center; + font-size:120%; +} +.home-top-carousel .item .text .description { + flex: 2 0; + overflow:auto; + max-height:90%; + display:flex; + flex-direction:column; +} +.home-top-carousel .item .img { + vertical-align:center; + line-height:280px; + display:flex; + flex-direction:column; + justify-content:center; + align-content:center; + height:280px; + padding:10px 0px; + +} +.home-top-carousel .item .img img { + max-height:250px !important; + max-width: calc(100vw /3); + +} + +/*Team carousel */ +.employees-carousel{ +margin:20px 0px; +height:500px; +} +.employees-carousel .item{ + display:flex; + flex-direction:column; + background-color:var(--secondary-color-darklight); + border-radius:20px; + margin: 0px 5px; + height:500px; +} +.employees-carousel .item .text { +height:400px; +overflow:auto; +padding-bottom:5px; +} +.employees-carousel .item .text .title{} +.employees-carousel .item .text .description{} +.employees-carousel .item .img { + padding-top:5px; + justify-self:center; + align-self:center; +} +.employees-carousel .item .img img{ + height:100px; + border:2px solid var(--primary-color-darkest); + border-radius:100%; +} + +/* LAST NEWS CAROUSEL */ +.last-news-carousel{ + position:relative; + height:300px; +} +.last-news-carousel .item, .last-news-carousel .item>a{ + position:relative; + display:flex; + background-color:var(--primary-color-3); + font-size:150%; + -webkit-text-stroke: 1px var(--primary-color-darkest); + -webkit-text-fill-color: var(--secondary-color); + flex-direction:row; + width:calc(100% - 40px); /* 260px */ + padding: 0px 20px; + +} +.last-news-carousel .item .text{ + display:flex; + z-index:2; + flex-direction: column; + justify-content:center; + align-items:center; + text-align:center; + width:100%; + height:260px;/*100%*/ + +} +.last-news-carousel .item .text .title{ + min-height:20%; + max-height:20%; + vertical-align:middle; + text-align:center; + font-size:120%; + overflow:auto; + line-break:break-word; + word-break:break-all; +} +.last-news-carousel .item .text .description { + overflow:auto; + max-height:80%; + display:flex; + flex-direction:column; +} +@media (max-width:700px){ + .last-news-carousel .item .text .description { + display:none; + } + .last-news-carousel .item .text .title{ + color: red; + height:250px; + max-height:250px; + line-break:unset; + word-break:unset; + overflow:auto; + } +} +.last-news-carousel .item .img { + position:absolute; + left:50%; + top:50%; + transform:translate(-50%, -50%); + z-index:1; + height:100%; + max-width:80vw!important; + overflow:hidden; +} +.last-news-carousel .item .img img { + height:100%; + z-index:3; + max-width:80vw!important; +} + + +.features{ /*not a carousel but a grid */ + display:flex; + flex-wrap:wrap; + flex-direction:row; + justify-content:space-around; + width:calc(100% - 20px); + padding:10px; +} +.features .item, .features .item>a{ + display:flex; + flex-direction:column; + width: 300px; + height: 250px; + color: var(--primary-color); +} +.features .item .icon { + align-self:center; + display:flex; + align-items:center; + justify-content:center; + height: 90px; + width:90px; + align-self:center; + border-radius:100%; + border: var(--primary-color) solid 5px; +} +.features .item .text .title{ + text-align:center; +} +.features .item .text .description { + text-align:center; +} + +.last-articles-grid-3{ /*not a carousel but a grid */ + display:flex; + flex-wrap:wrap; + flex-direction:row; + justify-content:space-around; + width:calc(100% - 20px); + padding:10px; +} +.last-articles-grid-3 .item, .last-articles-grid-3 .item>a{ + display:flex; + flex-direction:column; + width: 300px; + height: 250px; + color: var(--primary-color); +} +.last-articles-grid-3 .item .baneer { + align-self:center; + display:flex; + align-items:center; + justify-content:center; + height: 90px; + width:90px; + align-self:center; + border-radius:100%; + border: var(--primary-color) solid 5px; + overflow:hidden; +} +.last-articles-grid-3 .item .baneer img{ + max-height:90px!important; +} +.last-articles-grid-3 .item .text .title{ + text-align:center; +} +.last-articles-grid-3 .item .text .description { + text-align:center; +} diff --git a/themes/vmems-theme/static/css/monokai.highlight.css b/themes/vmems-theme/static/css/monokai.highlight.css new file mode 100644 index 0000000..1262441 --- /dev/null +++ b/themes/vmems-theme/static/css/monokai.highlight.css @@ -0,0 +1,82 @@ +/* Background */ .chroma { color: #f8f8f2; background-color: #272822 } +/* Other */ .chroma .x { } +/* Error */ .chroma .err { color: #960050; background-color: #1e0010 } +/* LineTableTD */ .chroma .lntd { vertical-align: top; padding: 0; margin: 0; border: 0; } +/* LineTable */ .chroma .lntable { border-spacing: 0; padding: 0; margin: 0; border: 0; width: auto; overflow: auto; display: block; } +/* LineHighlight */ .chroma .hl { display: block; width: 100%;background-color: #ffffcc } +/* LineNumbersTable */ .chroma .lnt { margin-right: 0.4em; padding: 0 0.4em 0 0.4em;color: #7f7f7f } +/* LineNumbers */ .chroma .ln { margin-right: 0.4em; padding: 0 0.4em 0 0.4em;color: #7f7f7f } +/* Keyword */ .chroma .k { color: #66d9ef } +/* KeywordConstant */ .chroma .kc { color: #66d9ef } +/* KeywordDeclaration */ .chroma .kd { color: #66d9ef } +/* KeywordNamespace */ .chroma .kn { color: #f92672 } +/* KeywordPseudo */ .chroma .kp { color: #66d9ef } +/* KeywordReserved */ .chroma .kr { color: #66d9ef } +/* KeywordType */ .chroma .kt { color: #66d9ef } +/* Name */ .chroma .n { } +/* NameAttribute */ .chroma .na { color: #a6e22e } +/* NameBuiltin */ .chroma .nb { } +/* NameBuiltinPseudo */ .chroma .bp { } +/* NameClass */ .chroma .nc { color: #a6e22e } +/* NameConstant */ .chroma .no { color: #66d9ef } +/* NameDecorator */ .chroma .nd { color: #a6e22e } +/* NameEntity */ .chroma .ni { } +/* NameException */ .chroma .ne { color: #a6e22e } +/* NameFunction */ .chroma .nf { color: #a6e22e } +/* NameFunctionMagic */ .chroma .fm { } +/* NameLabel */ .chroma .nl { } +/* NameNamespace */ .chroma .nn { } +/* NameOther */ .chroma .nx { color: #a6e22e } +/* NameProperty */ .chroma .py { } +/* NameTag */ .chroma .nt { color: #f92672 } +/* NameVariable */ .chroma .nv { } +/* NameVariableClass */ .chroma .vc { } +/* NameVariableGlobal */ .chroma .vg { } +/* NameVariableInstance */ .chroma .vi { } +/* NameVariableMagic */ .chroma .vm { } +/* Literal */ .chroma .l { color: #ae81ff } +/* LiteralDate */ .chroma .ld { color: #e6db74 } +/* LiteralString */ .chroma .s { color: #e6db74 } +/* LiteralStringAffix */ .chroma .sa { color: #e6db74 } +/* LiteralStringBacktick */ .chroma .sb { color: #e6db74 } +/* LiteralStringChar */ .chroma .sc { color: #e6db74 } +/* LiteralStringDelimiter */ .chroma .dl { color: #e6db74 } +/* LiteralStringDoc */ .chroma .sd { color: #e6db74 } +/* LiteralStringDouble */ .chroma .s2 { color: #e6db74 } +/* LiteralStringEscape */ .chroma .se { color: #ae81ff } +/* LiteralStringHeredoc */ .chroma .sh { color: #e6db74 } +/* LiteralStringInterpol */ .chroma .si { color: #e6db74 } +/* LiteralStringOther */ .chroma .sx { color: #e6db74 } +/* LiteralStringRegex */ .chroma .sr { color: #e6db74 } +/* LiteralStringSingle */ .chroma .s1 { color: #e6db74 } +/* LiteralStringSymbol */ .chroma .ss { color: #e6db74 } +/* LiteralNumber */ .chroma .m { color: #ae81ff } +/* LiteralNumberBin */ .chroma .mb { color: #ae81ff } +/* LiteralNumberFloat */ .chroma .mf { color: #ae81ff } +/* LiteralNumberHex */ .chroma .mh { color: #ae81ff } +/* LiteralNumberInteger */ .chroma .mi { color: #ae81ff } +/* LiteralNumberIntegerLong */ .chroma .il { color: #ae81ff } +/* LiteralNumberOct */ .chroma .mo { color: #ae81ff } +/* Operator */ .chroma .o { color: #f92672 } +/* OperatorWord */ .chroma .ow { color: #f92672 } +/* Punctuation */ .chroma .p { } +/* Comment */ .chroma .c { color: #75715e } +/* CommentHashbang */ .chroma .ch { color: #75715e } +/* CommentMultiline */ .chroma .cm { color: #75715e } +/* CommentSingle */ .chroma .c1 { color: #75715e } +/* CommentSpecial */ .chroma .cs { color: #75715e } +/* CommentPreproc */ .chroma .cp { color: #75715e } +/* CommentPreprocFile */ .chroma .cpf { color: #75715e } +/* Generic */ .chroma .g { } +/* GenericDeleted */ .chroma .gd { color: #f92672 } +/* GenericEmph */ .chroma .ge { font-style: italic } +/* GenericError */ .chroma .gr { } +/* GenericHeading */ .chroma .gh { } +/* GenericInserted */ .chroma .gi { color: #a6e22e } +/* GenericOutput */ .chroma .go { } +/* GenericPrompt */ .chroma .gp { } +/* GenericStrong */ .chroma .gs { font-weight: bold } +/* GenericSubheading */ .chroma .gu { color: #75715e } +/* GenericTraceback */ .chroma .gt { } +/* GenericUnderline */ .chroma .gl { } +/* TextWhitespace */ .chroma .w { } diff --git a/themes/vmems-theme/static/css/style.css b/themes/vmems-theme/static/css/style.css new file mode 100644 index 0000000..10f45bd --- /dev/null +++ b/themes/vmems-theme/static/css/style.css @@ -0,0 +1,297 @@ +:root{ + --primary-color:blue; + --secondary-color:white; + --primary-color-contrast: white; + --secondary-color-darkest: grey; /* the "darkest" and "darklight" variables are*/ + --primary-color-darkest: darkblue;/* for the elements that can't have filter*/ + --secondary-color-darklight: lightgrey; + --primary-color-darklight: rgb(0,0,200); + --primary-color-3 : rgb(0,0,150); + --primary-color-4: rgb(0,0,255); + --tertiary-really-dark-color: rgb(50,50,50); + --tertiary-medium-dark-color:rgb(100,100,100); + --default-text-color:black; +} +body{ + margin:0; + height:100vh; + width:100%; + display:flex; + flex-direction:column; +} +.list-style-none{ + list-style:none; + justify-content:space-around; +} +header.navbar{ + position:relative; + height:70px; + display: flex; + margin:0px; + flex-direction:row; + box-shadow: 0 4px 2px -2px gray; +} +header.navbar .navbar-logo-container { + padding-left:5px; + height:70px; + +} +header.navbar .navbar-logo { + height:70px; +} +header.navbar .navbar-list{ + position: absolute; + padding:0; + padding-right: 15px; + right:0px; + height: calc(100%); + display: flex; + flex-direction: row; + margin: 0px; + list-style-type: none; + justify-content: center; + align-items: center; +} +header.navbar .navbar-list-item{ + color:var(--primary-color); + height:100%; + line-height:70px; + vertical-align:middle; + text-align:center; + padding: 0px 10px; +} +header.navbar .navbar-list-item *{ + color:var(--primary-color); +} +header.navbar .navbar-list-item a{ + text-decoration:none; +} +header.navbar .navbar-list-item:hover a{ + text-decoration:underline; +} +header.navbar .navbar-list-item:hover{ + background-color:var(--primary-color-darkest); + color:var(--secondary-color); +} +header.navbar .navbar-list-item.active{ + background-color:var(--primary-color-darklight); + color:var(--secondary-color); +} +header.navbar .navbar-list-item:hover *, header.navbar .navbar-list-item.active *{ + color:var(--secondary-color); +} + +@media (max-width: 700px){ + header.navbar #navbar-list-toggler-label{ + position:absolute; + right:5px; + height: 100%; + width: 70px; + font-size:70px; + text-align:center; + line-height:70px; + vertical-align:middle; + } + header.navbar .navbar-list-item{ + height:unset; + width:100%; + padding: 10px 0px; + } + header.navbar #navbar-list-toggler:checked ~ .navbar-list{ + display:flex !important; + z-index:5; + flex-direction:column; + position:fixed; + bottom:0px; + left:0px; + width:100vw; + align-content:center; + justify-content:center; + backdrop-filter:blur(10px); + background-color: rgba(50,50,50,0.5); + height: calc(100vh - 70px); + } + header.navbar #navbar-list-toggler:checked ~ .navbar-list .navbar-list-item{} +} + + +main.main{ + flex: 2 0; +} +main.main h1, main.main h2, main.main h3, main.main h4, main.main h5, main.main h6, main.main p{ + padding: 0px 20px; + color: var(--primary-color-darkest); +} +main.main h1, main.main h2, main.main h3{ + text-align:center; + padding:0px; + width:calc(100%); +} +main.main h1{ + font-weight:500; + text-decoration:underline; +} +main.main h2{ + +} + +footer.footer{ + justify-content:space-around; + background-color:var(--tertiary-really-dark-color); + color:var(--secondary-color); + display:flex; + flex-direction:column; +} + +footer.footer .row{ + padding:20px 0px; + display:flex; + flex-direction:row; + justify-content:space-around; + text-align:center; +} +footer.footer .row.top{} +footer.footer .row.bottom{} + +footer.footer .col { + display:flex; + flex-direction:column; + color:var(--secondary-color); +} +footer.footer .col li { + padding:10px; + color:var(--secondary-color); +} +footer.footer .col a { + color:var(--secondary-color); +} +footer.footer .col.left{} +footer.footer .col.middle{} +footer.footer .col.right{} + + + +.articles-list{ + display:flex; + flex-direction:row; + flex-wrap:wrap; +} +.articles-list .article-item{ + display:flex; + color: var(--primary-color); + flex-direction:column; + width:300px; + height:300px; + justify-content:center; + align-items:center; + border:2px solid; +} +.articles-list .article-item .article-item-main{ + display:flex; + color:var(--primary-color); + flex-direction:column; + width:100%; + justify-content:center; + align-items:center; + text-align:center; +} +.articles-list .article-item .article-item-main *{ + text-align:center; +} +.articles-list .article-item .article-item-main .baneer{ + border-radius:100%; + height:120px!important; + border:2px solid var(--primary-color-darkest); + width:120px!important; +} +.articles-list .article-item .infos{} +.articles-list .article-item .infos .authors{} +.articles-list .article-item .infos .authors .author{color:var(--primary-color-darkest);font-weight:600} + +.blogarticle{ + display:flex; + flex-direction:column; +} +.blogarticle .blogarticlehead{ + display:flex; + flex-direction:row; +} +.blogarticle .blogarticletitle{ + flex:2 0; + display:flex; + flex-direction:column; + align-items:center; + justify-content:center; + /*font-weight:700; + font-size:200%; + text-decoration:underline; + color:var(--primary-color);*/ +} +.blogarticle .blogarticleinfos { + display:flex; + flex-direction:row; + background-color:var(--tertiary-medium-dark-color); + color:var(--primary-color-darklight); + justify-content: space-around; + align-items: center; + padding: 20px; + width:fit-content; +} +.blogarticle .blogarticleinfos .categories {} +.blogarticle .blogarticleinfos .category { + background-color:var(--primary-color); + color:var(--primary-color-contrast); + display:inline-block; + padding:5px; +} +.blogarticle .blogarticleinfos .tags {} +.blogarticle .blogarticleinfos .tag { + background-color:var(--primary-color); + color:var(--primary-color-contrast); + display:inline-block; + padding:5px; +} + +.blogarticle .blogarticleinfos .authors{} +.blogarticle .blogarticleinfos .authors .author{ color:var(--primary-color-4); font-weight:500; text-decoration:underline;} +.blogarticle .blogarticleinfos .date{} +.blogarticle .blogarticlecontent{padding: 10px 30px;} +.blogarticle .blogarticlecomments{} + + + + + + + +/* width */ +::-webkit-scrollbar { + width: 10px; +} + +/* Track */ +::-webkit-scrollbar-track { + box-shadow: inset 0 0 5px grey; + background: var(--secondary-color-darklight); +} + +/* Handle */ +::-webkit-scrollbar-thumb { + background: var(--primary-color-darklight); +} + +/* Handle on hover */ +::-webkit-scrollbar-thumb:hover { + background: var(--primary-color-darkest); +} + +@media (max-width:700px){ + *.desktop-only-element{ + display:none !important; + } +} +@media (min-width: 700px){ + *.mobile-only-element{ + display:none !important; + } +} diff --git a/themes/vmems-theme/static/js/main.js b/themes/vmems-theme/static/js/main.js new file mode 100644 index 0000000..52d2a15 --- /dev/null +++ b/themes/vmems-theme/static/js/main.js @@ -0,0 +1,13 @@ +document.addEventListener('DOMContentLoaded',function(){ + if($('.carousel').length>1){ + $('.carousel').each(i=>{ + let toslick = $(i).attr('data-to-slick') + console.log(toslick) + $(i).slick(JSON.parse(toslick)); + }); + }else{ + let toslick = $('.carousel').attr('data-to-slick') + console.log(toslick) + $('.carousel').slick(JSON.parse(toslick)); + } +}) diff --git a/themes/vmems-theme/theme.toml b/themes/vmems-theme/theme.toml new file mode 100644 index 0000000..75f140f --- /dev/null +++ b/themes/vmems-theme/theme.toml @@ -0,0 +1,16 @@ +# theme.toml template for a Hugo theme +# See https://github.com/gohugoio/hugoThemes#themetoml for an example + +name = "VMEME Theme" +license = "MIT" +licenselink = "" +description = "Official Theme of https://vmems.fr" +homepage = "http://vmems.fr" +tags = ["association","mobilité","velo"] +features = [] +min_version = "0.41.0" + +[author] + name = "" + homepage = "" +