Newer
Older
const translator = require("ks-cheap-translator");
const t = translator.trad.bind(translator);
const EDU_THEMES = [
{
title: "Programmation",
image: "learning_theme_coding.png",
},
{
title: "Dessin numérique et animation 2D",
image: "learning_theme_math.png",
},
{
title: "Aide informatique générale",
tag: "div",
class: "page-contents-center grid-wrapper",
contents: [
{
tag: "div",
class: "logo",
contents: [
{
tag: "img",
alt: "image brain",
{
tag: "div",
class: "title-banner",
},
{
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: t(theme.title) },
{ tag: "p", contents: t(theme.description) },
]
},
{
tag: "section",
class: "practical-info",
contents: [
tag: "div",
class: "page-contents-center",
contents: [
{
tag: "div",
class: "info-block",
{ tag: "h3", class: "info-title", contents: `${t("Pour s'inscrire ou en savoir plus")} <em>(programme 2022 à définir, plus d'infos bientôt)</em>` },
{
tag: "ul",
class: "info-body",
contents: [
{
tag: "li",
contents: [
{
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",
},
]
},
],
};
}
}
module.exports = EducationPage;