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 1.78 KiB
Newer Older
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 GameStudioClub = require("./components/game-studio-club");
peter_rabbit's avatar
peter_rabbit committed
const Popularization = require("./components/popularization");
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",
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`,
                                        },
                                    ],
                                },
                                { tag: "h1", contents: "Pédagogie" },
                                {
                                    tag: "p",
peter_rabbit's avatar
peter_rabbit committed
                                    contents: `Animations autour de la création de jeux vidéos, vulgarisation numérique.`,
peter_rabbit's avatar
peter_rabbit committed
                                },
                            ],
peter_rabbit's avatar
peter_rabbit committed
                        },
                    ],
peter_rabbit's avatar
peter_rabbit committed
                },
peter_rabbit's avatar
peter_rabbit committed
                new GameStudioClub().render(),
peter_rabbit's avatar
peter_rabbit committed
                new Popularization().render(),
peter_rabbit's avatar
peter_rabbit committed
            ],
        };
    }
}

module.exports = EducationPage;