diff --git a/source/_data/about.json b/source/_data/about.json new file mode 100644 index 0000000..cbc60f3 --- /dev/null +++ b/source/_data/about.json @@ -0,0 +1,32 @@ +{ + "team": + [ + { + "nickname": "lostinlight", + "fediacc": "mastodon.xyz/@lightone", + "avatar": "/img/about/lostinlight.png", + "info": "creator and maintainer of this website; likes cats and frontend design", + "name": "", + "site": "", + "gitacc": "codeberg.org/lostinlight" + }, + { + "nickname": "minoru", + "fediacc": "functional.cafe/@minoru", + "avatar": "/img/about/minoru.png", + "info": "admin of this website, creator of nodes.fediverse.party; maintainer of Newsboat; writes programs in C++, reads sci-fi", + "name": "Alexander Batischev", + "site": "blog.debiania.in.ua", + "gitacc": "codeberg.org/Minoru" + }, + { + "nickname": "humanetech", + "fediacc": "mastodon.social/@humanetech", + "avatar": "/img/about/humanetech.png", + "info": "maintainer of this website's Wiki pages, creator of delightful.club; FOSS and Fediverse advocate, mod at SocialHub, facilitates Humane Tech Community", + "name": "Arnold Schrijver", + "site": "", + "gitacc": "codeberg.org/circlebuilder" + } + ] +} diff --git a/source/en/about/index.md b/source/en/about/index.md new file mode 100644 index 0000000..41f8c7d --- /dev/null +++ b/source/en/about/index.md @@ -0,0 +1,4 @@ +--- +layout: "about" +title: "About the team" +--- diff --git a/source/img/about/humanetech.png b/source/img/about/humanetech.png new file mode 100644 index 0000000..f93f6a5 Binary files /dev/null and b/source/img/about/humanetech.png differ diff --git a/source/img/about/lostinlight.png b/source/img/about/lostinlight.png new file mode 100644 index 0000000..aaacc2c Binary files /dev/null and b/source/img/about/lostinlight.png differ diff --git a/source/img/about/minoru.png b/source/img/about/minoru.png new file mode 100644 index 0000000..ef0c2c6 Binary files /dev/null and b/source/img/about/minoru.png differ diff --git a/themes/starter/layout/about.ejs b/themes/starter/layout/about.ejs new file mode 100644 index 0000000..9502a81 --- /dev/null +++ b/themes/starter/layout/about.ejs @@ -0,0 +1,33 @@ + +--- +layout: layout +--- + +<% + const team = site.data.about.team; +%> + +
+

Source code

+
+ repository | logo hub +
+

About us

+ <% for (u in team) { %> + + <% } %> +
diff --git a/themes/starter/source/assets/scss/main.scss b/themes/starter/source/assets/scss/main.scss index a6bf744..1d97d66 100644 --- a/themes/starter/source/assets/scss/main.scss +++ b/themes/starter/source/assets/scss/main.scss @@ -17,3 +17,4 @@ @import "modules/chronicles"; @import "modules/misc"; @import "modules/crystalball"; +@import "modules/about"; diff --git a/themes/starter/source/assets/scss/modules/_about.scss b/themes/starter/source/assets/scss/modules/_about.scss new file mode 100644 index 0000000..25dae42 --- /dev/null +++ b/themes/starter/source/assets/scss/modules/_about.scss @@ -0,0 +1,37 @@ + +.about { + margin-top: 4em; +} + +.about h2 { + text-align: center; + font-weight: bold; + line-height: 1; + margin-top: 1em; +} + +.about .code { + text-align: center; +} + +.about .article-list { + margin: 1em 0 .5em; +} + +.about li { + padding: 0; +} + +.about li > span { + font-family: $font-secondary; + font-weight: bold; +} + +.about .article-list li:first-child:before, +.about .article-list li:first-child:before { + display: none; +} + +.about li:last-of-type > span { + display: inline; +}