From 0b3a6ecae669bdeed3d69d48b422292d628a205c Mon Sep 17 00:00:00 2001 From: Pierre Jarriges <pierre.jarriges@tutanota.com> Date: Tue, 9 Nov 2021 09:05:25 +0100 Subject: [PATCH] add open source to footer --- public/education/education.js | 13 ++++++++++++- public/games/games.js | 13 ++++++++++++- public/main.js | 13 ++++++++++++- public/software-development/software-development.js | 13 ++++++++++++- website/src/template/template.js | 13 ++++++++++++- 5 files changed, 60 insertions(+), 5 deletions(-) diff --git a/public/education/education.js b/public/education/education.js index cce2938..f6ccf79 100644 --- a/public/education/education.js +++ b/public/education/education.js @@ -771,10 +771,21 @@ class Template { }, { tag: "span", - contents: `Copyright © ${new Date() + contents: `Copyleft 🄯 ${new Date() .getFullYear()} Kuadrado Software | Toutes les images du site ont été réalisées par mes soins et peuvent être réutilisées pour un usage personnel.`, }, + { + tag: "div", contents: [ + { tag: "span", contents: "Ce site web est " }, + { + tag: "a", target: "_blank", + style_rules: { fontWeight: "bold" }, + href: "https://gitlab.com/kuadrado-software/kuadrado-website/-/blob/master/README.md", + contents: "OPEN SOURCE" + } + ] + } ], }, ], diff --git a/public/games/games.js b/public/games/games.js index 573b115..ccc7535 100644 --- a/public/games/games.js +++ b/public/games/games.js @@ -3970,10 +3970,21 @@ class Template { }, { tag: "span", - contents: `Copyright © ${new Date() + contents: `Copyleft 🄯 ${new Date() .getFullYear()} Kuadrado Software | Toutes les images du site ont été réalisées par mes soins et peuvent être réutilisées pour un usage personnel.`, }, + { + tag: "div", contents: [ + { tag: "span", contents: "Ce site web est " }, + { + tag: "a", target: "_blank", + style_rules: { fontWeight: "bold" }, + href: "https://gitlab.com/kuadrado-software/kuadrado-website/-/blob/master/README.md", + contents: "OPEN SOURCE" + } + ] + } ], }, ], diff --git a/public/main.js b/public/main.js index 159bc56..7fd0ea1 100644 --- a/public/main.js +++ b/public/main.js @@ -588,10 +588,21 @@ class Template { }, { tag: "span", - contents: `Copyright © ${new Date() + contents: `Copyleft 🄯 ${new Date() .getFullYear()} Kuadrado Software | Toutes les images du site ont été réalisées par mes soins et peuvent être réutilisées pour un usage personnel.`, }, + { + tag: "div", contents: [ + { tag: "span", contents: "Ce site web est " }, + { + tag: "a", target: "_blank", + style_rules: { fontWeight: "bold" }, + href: "https://gitlab.com/kuadrado-software/kuadrado-website/-/blob/master/README.md", + contents: "OPEN SOURCE" + } + ] + } ], }, ], diff --git a/public/software-development/software-development.js b/public/software-development/software-development.js index 2cec6f1..76ff0b8 100644 --- a/public/software-development/software-development.js +++ b/public/software-development/software-development.js @@ -728,10 +728,21 @@ class Template { }, { tag: "span", - contents: `Copyright © ${new Date() + contents: `Copyleft 🄯 ${new Date() .getFullYear()} Kuadrado Software | Toutes les images du site ont été réalisées par mes soins et peuvent être réutilisées pour un usage personnel.`, }, + { + tag: "div", contents: [ + { tag: "span", contents: "Ce site web est " }, + { + tag: "a", target: "_blank", + style_rules: { fontWeight: "bold" }, + href: "https://gitlab.com/kuadrado-software/kuadrado-website/-/blob/master/README.md", + contents: "OPEN SOURCE" + } + ] + } ], }, ], diff --git a/website/src/template/template.js b/website/src/template/template.js index 73dfa75..fbf9f58 100644 --- a/website/src/template/template.js +++ b/website/src/template/template.js @@ -93,10 +93,21 @@ class Template { }, { tag: "span", - contents: `Copyright © ${new Date() + contents: `Copyleft 🄯 ${new Date() .getFullYear()} Kuadrado Software | Toutes les images du site ont été réalisées par mes soins et peuvent être réutilisées pour un usage personnel.`, }, + { + tag: "div", contents: [ + { tag: "span", contents: "Ce site web est " }, + { + tag: "a", target: "_blank", + style_rules: { fontWeight: "bold" }, + href: "https://gitlab.com/kuadrado-software/kuadrado-website/-/blob/master/README.md", + contents: "OPEN SOURCE" + } + ] + } ], }, ], -- GitLab