Pour tout problème contactez-nous par mail : support@froggit.fr | La FAQ :grey_question: | Rejoignez-nous sur le Chat :speech_balloon:

Skip to content
Snippets Groups Projects
education.js 16.6 KiB
Newer Older
  • Learn to ignore specific revisions
  • peter_rabbit's avatar
    peter_rabbit committed
    "use strict";
    
    
    peter_rabbit's avatar
    peter_rabbit committed
    const { images_url } = require("../../../constants");
    
    peter_rabbit's avatar
    peter_rabbit committed
    const WebPage = require("../../lib/web-page");
    
    
    const EDU_THEMES = [
    
        // {
        //     title: "Création de jeux vidéo",
        //     description: "Conception, graphisme et animation, programmation, je vous accompagne dans la découverte des techniques pour créer un jeu vidéo de A à Z",
        //     image: "learning_theme_conception.png",
        //     pageUrl: "gamedev",
        // },
    
        {
            title: "Programmation",
    
            description: `<b>Franchissez le mur du code !</b><br />
            Apprenez à programmer avec différents langages (Python, Javascript, C ...), pour du web, du logiciel, du jeu vidéo ou autre.`,
    
            image: "learning_theme_coding.png",
    
            // pageUrl: "coding",
    
        },
        {
            title: "Dessin numérique et animation 2D",
    
            description: `Apprenez à utiliser des logiciels libres de création graphique 2D et d'animation.<br />
            Créez des personnages et des décors, menez votre projet de dessin animé, d'illustration ou de jeu vidéo.`,
    
            image: "learning_theme_2d.png",
    
            // pageUrl: "2d",
    
    Pierre Jarriges's avatar
    Pierre Jarriges committed
            title: "Maths et physique",
    
    Pierre Jarriges's avatar
    Pierre Jarriges committed
            description: "Abordez les notions fondamentales de façon décontractée pour le plaisir de comprendre en s'appuyant sur les domaines d'application du jeu vidéo.",
    
            image: "learning_theme_math.png",
    
            // pageUrl: "math",
    
        // {
        //     title: "Musique et sons électroniques",
        //     description: "Découvrez des logiciels libres de composition musicales, de synthèse sonore et de prise de son.",
        //     image: "learning_theme_sound.png",
        //     pageUrl: "sound",
        // },
    
        {
            title: "Aide informatique générale",
    
    Pierre Jarriges's avatar
    Pierre Jarriges committed
            description: "Perdu avec votre ordinateur ou votre smartphone, les logiciels, internet ? Prenez en main les fondamentaux apprenez pas à pas à utiliser sereinement la technologie.",
    
            image: "learning_theme_pc.png",
    
            // pageUrl: "popularization"
    
    Pierre Jarriges's avatar
    Pierre Jarriges committed
        },
        {
            title: "Stage GNU/Linux",
            description: `<b>Passez le cap du libre ! </b><br/>
    
    Pierre Jarriges's avatar
    Pierre Jarriges committed
            Apprenez à installer Linux, faites vos premiers pas avec les logiciels libres et acquérez une autonomie suffisante pour une utilisation basique.`,
    
    Pierre Jarriges's avatar
    Pierre Jarriges committed
            image: "learning_theme_linux.png"
    
    Pierre Jarriges's avatar
    Pierre Jarriges committed
        },
        {
            title: "Créer un jeu avec Mentalo",
            description: "Créez un jeu en quelques séances avec l'application Mentalo. Manipulez des concepts logiques, narratifs et artistiques avec le maximum de simplicité.",
            image: "learning_theme_mentalo.png",
    
    peter_rabbit's avatar
    peter_rabbit committed
    
    
    peter_rabbit's avatar
    peter_rabbit committed
    class EducationPage extends WebPage {
    
    peter_rabbit's avatar
    peter_rabbit committed
        render() {
            return {
                tag: "div",
    
                id: "education-page",
    
                typeof: "EducationalOrganization",
    
    peter_rabbit's avatar
    peter_rabbit committed
                contents: [
    
    peter_rabbit's avatar
    peter_rabbit committed
                    {
    
    peter_rabbit's avatar
    peter_rabbit committed
                        tag: "div",
    
    peter_rabbit's avatar
    peter_rabbit committed
                        class: "page-header logo-left",
    
    peter_rabbit's avatar
    peter_rabbit committed
                        contents: [
                            {
    
    peter_rabbit's avatar
    peter_rabbit committed
                                tag: "div",
                                class: "page-contents-center grid-wrapper",
                                contents: [
                                    {
                                        tag: "div",
                                        class: "logo",
                                        contents: [
                                            {
                                                tag: "img",
                                                alt: "image brain",
    
                                                src: `${images_url}brain.svg`,
    
    peter_rabbit's avatar
    peter_rabbit committed
                                            },
                                        ],
                                    },
                                    { tag: "h1", contents: "Pédagogie" },
                                    {
                                        tag: "p",
    
    Pierre Jarriges's avatar
    Pierre Jarriges committed
                                        contents: `Ateliers, stages, workshops et cours particuliers accessibles à tous. 
                                        Programmation, graphisme 2D, jeux vidéo, vulgarisation informatique, etc.`,
    
    peter_rabbit's avatar
    peter_rabbit committed
                                    },
                                ],
    
    peter_rabbit's avatar
    peter_rabbit committed
                            },
                        ],
    
    peter_rabbit's avatar
    peter_rabbit committed
                    },
    
                    {
                        tag: "div",
                        class: "title-banner",
                    },
                    {
    
                        tag: "section",
                        class: "bg-dark",
    
                        contents: [
                            {
    
                                tag: "div",
                                class: "page-contents-center",
                                contents: [
                                    {
                                        tag: "ul",
                                        class: "edu-themes",
                                        contents: EDU_THEMES.map(theme => {
                                            return {
                                                tag: "li",
                                                class: "edu-theme",
                                                contents: [
                                                    { tag: "img", width: 250, height: 140, class: "pixelated", src: `${images_url}${theme.image}` },
                                                    { tag: "h3", contents: theme.title },
                                                    { tag: "p", contents: theme.description },
                                                ]
                                            }
                                        })
                                    },
                                ]
    
                        ]
                    },
                    {
                        tag: "section",
                        class: "practical-info",
                        contents: [
    
                                tag: "div",
                                class: "page-contents-center",
                                contents: [
    
    Pierre Jarriges's avatar
    Pierre Jarriges committed
                                    // {
                                    //     tag: "div",
                                    //     class: "info-block",
                                    //     contents: [
                                    //         { tag: "h3", class: "info-title", contents: "Pour qui ?" },
                                    //         {
                                    //             tag: "p",
                                    //             class: "info-body",
                                    //             contents: `Les ateliers sont accessibles aux adultes comme aux enfants, plutôt à partir de 12 ans.<br/>
                                    //             Les séances ont lieu en groupes mixtes. Capacité limitée à 5 personnes.
                                    //             `
                                    //         }
                                    //     ]
                                    // },
                                    // {
                                    //     tag: "div",
                                    //     class: "info-block",
                                    //     contents: [
                                    //         { tag: "h3", class: "info-title", contents: "Où ça ?" },
                                    //         {
                                    //             tag: "p",
                                    //             class: "info-body",
                                    //             contents: "Dans mon local professionnel : <br /><blue>32 rue Simon Vialet, passage du Cheminou, 07240 Vernoux en Vivarais.</blue>"
                                    //         }
                                    //     ]
                                    // },
                                    // {
                                    //     tag: "div",
                                    //     class: "info-block",
                                    //     contents: [
                                    //         { tag: "h3", class: "info-title", contents: "Quel matériel ?" },
                                    //         {
                                    //             tag: "p",
                                    //             class: "info-body",
                                    //             contents: `Le matériel informatique est fourni sur place (ordinateurs et tablettes graphique) 
                                    //             mais il est possible d'amener le sien. 
                                    //             <br />Il est recommandé d'apporter au moins une clé USB pour faire ses sauvegardes.`
                                    //         }
                                    //     ]
                                    // },
                                    // {
                                    //     tag: "div",
                                    //     class: "info-block",
                                    //     contents: [
                                    //         { tag: "h3", class: "info-title", contents: "Quand ?" },
                                    //         {
                                    //             tag: "ul",
                                    //             class: "info-body tabled",
                                    //             contents: [
                                    //                 {
                                    //                     tag: "li",
                                    //                     contents: [
                                    //                         { tag: "span", contents: "Mardi" },
                                    //                         { tag: "span", contents: "16h - 18h" },
                                    //                     ]
                                    //                 },
                                    //                 {
                                    //                     tag: "li",
                                    //                     contents: [
                                    //                         { tag: "span", contents: "Mercredi" },
                                    //                         { tag: "span", contents: "14h - 16h" },
                                    //                     ]
                                    //                 },
                                    //                 {
                                    //                     tag: "li",
                                    //                     contents: [
                                    //                         { tag: "span", contents: "Jeudi" },
                                    //                         { tag: "span", contents: "16h - 18h" },
                                    //                     ]
                                    //                 },
                                    //                 {
                                    //                     tag: "li",
                                    //                     class: "fullwidth",
                                    //                     contents: "<em><blue>Ouvert de Septembre à Juin, sauf vacances scolaires ou fermetures exceptionnelles</blue></em>"
                                    //                 }
                                    //             ]
                                    //         },
                                    //     ]
                                    // },
                                    // {
                                    //     tag: "div",
                                    //     class: "info-block",
                                    //     contents: [
                                    //         { tag: "h3", class: "info-title", contents: "Combien ça coûte ?" },
                                    //         {
                                    //             tag: "ul",
                                    //             class: "info-body tabled",
                                    //             contents: [
                                    //                 {
                                    //                     tag: "li",
                                    //                     contents: [
                                    //                         { tag: "span", contents: "Inscription au mois" },
                                    //                         { tag: "span", contents: "50€, accès à toutes les plages horaires." },
                                    //                     ]
                                    //                 },
                                    //                 {
                                    //                     tag: "li",
                                    //                     contents: [
                                    //                         { tag: "span", contents: "Inscription à la séance" },
                                    //                         { tag: "span", contents: "15€" },
                                    //                     ]
                                    //                 },
                                    //                 {
                                    //                     tag: "li",
                                    //                     contents: [
                                    //                         { tag: "span", contents: "Cours particuliers" },
                                    //                         { tag: "span", contents: "30€/h, sur place ou en visio. Horaires à définir." },
                                    //                     ]
                                    //                 },
                                    //                 {
                                    //                     tag: "li",
                                    //                     contents: [
                                    //                         { tag: "span", contents: "Stage 4 séances de 2h" },
                                    //                         { tag: "span", contents: "40€ par personne, horaires et dates à définir selon la demande." },
                                    //                     ]
                                    //                 }
                                    //             ]
                                    //         }
                                    //     ]
                                    // },
    
                                    {
                                        tag: "div",
                                        class: "info-block",
    
                                        contents: [
    
    Pierre Jarriges's avatar
    Pierre Jarriges committed
                                            { tag: "h3", class: "info-title", contents: "Pour s'inscrire ou en savoir plus <em>(programme 2021 2022 à définir, plus d'infos bientôt)</em>" },
    
                                            {
                                                tag: "ul",
                                                class: "info-body",
                                                contents: [
                                                    {
                                                        tag: "li",
                                                        contents: [
                                                            { tag: "span", contents: "Me contacter" },
                                                            {
                                                                tag: "a",
                                                                href: "mailto:contact@kuadrado-software.fr",
                                                                contents: "contact@kuadrado-software.fr",
                                                            }
                                                        ]
                                                    },
                                                    {
                                                        tag: "li",
                                                        contents: [
                                                            { tag: "span", contents: "" },
                                                            {
                                                                tag: "a",
                                                                href: "tel:+33475780872",
                                                                contents: "04 75 78 08 72",
                                                                property: "telephone",
                                                            },
                                                        ]
                                                    },
    
    Pierre Jarriges's avatar
    Pierre Jarriges committed
                                                    // {
                                                    //     tag: "li",
                                                    //     contents: [
                                                    //         { tag: "span", contents: "ou passer directement me voir au local !" }
                                                    //     ]
                                                    // }
    
    peter_rabbit's avatar
    peter_rabbit committed
                ],
            };
        }
    }
    
    module.exports = EducationPage;