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.08 KiB
Newer Older
peter_rabbit's avatar
peter_rabbit committed
"use strict";

peter_rabbit's avatar
peter_rabbit committed
const { images_url } = require("../../../constants");
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 {
    constructor(args) {
        Object.assign(this, args);
    }

    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",
peter_rabbit's avatar
peter_rabbit committed
                    contents: [
peter_rabbit's avatar
peter_rabbit committed
                        { tag: "h1", contents: "Pédagogie" },
peter_rabbit's avatar
peter_rabbit committed
                        {
peter_rabbit's avatar
peter_rabbit committed
                            tag: "p",
                            contents: `La pédagogie est une arme puissante pour faire tomber les barrières 
                            entre les gens et la technologie, et nous sommes bien décidés à en faire usage !`,
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;