From 6c54a8822eb674673472ffab3c5e0c4a1d0e22ea Mon Sep 17 00:00:00 2001 From: Benjamin Jones Date: Wed, 29 Jul 2020 15:05:02 +0200 Subject: [PATCH] started working on participants' page, program etc --- _data/translations.yml | 15 ++++++++- _layouts/participant.html | 45 ++++++++++++++++++++++++++ _sass/layouts/post.scss | 5 +++ _sass/typography.scss | 7 ++++ _sass/utils/position-utils.scss | 28 ++++++++++++++++ assets/css/index.scss | 2 ++ fr/index.html | 2 +- participants/andrew-van-hyfte.md | 36 +++++++++++++++++++++ participants/img/andrew-van-hyfte.jpg | Bin 0 -> 12055 bytes participants/index.md | 37 +++++++++++++++++++++ 10 files changed, 175 insertions(+), 2 deletions(-) create mode 100644 _layouts/participant.html create mode 100644 _sass/utils/position-utils.scss create mode 100644 participants/andrew-van-hyfte.md create mode 100644 participants/img/andrew-van-hyfte.jpg create mode 100644 participants/index.md diff --git a/_data/translations.yml b/_data/translations.yml index 69f52d9..0856e97 100644 --- a/_data/translations.yml +++ b/_data/translations.yml @@ -4,4 +4,17 @@ latest: fr: Actualités readMore: en: read full post - fr: plus \ No newline at end of file + fr: plus +formats: + workshop: + en: workshop + fr: atelier + talk: + en: talk + fr: conference + performance: + en: performance + fr: performance + artwork: + en: artwork + fr: artwork \ No newline at end of file diff --git a/_layouts/participant.html b/_layouts/participant.html new file mode 100644 index 0000000..004392e --- /dev/null +++ b/_layouts/participant.html @@ -0,0 +1,45 @@ +--- +layout: page +lang: en +ref: going-online +--- + +
+
+ +
+

{{ page.fullname }} - {{ page.presentaionName }}

+ +
+ +

+ +

+ +
+ {{ content }} +
+
+

+ About {{ page.fullname }} +

+

+ {{ page.bio }} +

+ {% for site in page.websites %} + {{ site | remove_first: "https://" | remove_first: "http://" | remove_first: "www." }} + {% endfor %} + +
+ + {% for tag in page.tags %} +

+ #{{ tag }} +

+ + {% endfor %} +
+ +
\ No newline at end of file diff --git a/_sass/layouts/post.scss b/_sass/layouts/post.scss index 876fd82..40420e7 100644 --- a/_sass/layouts/post.scss +++ b/_sass/layouts/post.scss @@ -57,4 +57,9 @@ .post-content { @include textbox; } + + .tag { + @include textbox; + display: inline-block; + } } diff --git a/_sass/typography.scss b/_sass/typography.scss index 1c6d88e..bcec5b4 100644 --- a/_sass/typography.scss +++ b/_sass/typography.scss @@ -103,6 +103,13 @@ a { &:visited { color: $highlight-darker; } + + &.with-url-arrow { + text-decoration: none; + &::before { + content: '→ '; + } + } } ::selection { diff --git a/_sass/utils/position-utils.scss b/_sass/utils/position-utils.scss new file mode 100644 index 0000000..1f82465 --- /dev/null +++ b/_sass/utils/position-utils.scss @@ -0,0 +1,28 @@ +.block { + display: block; +} + +.flex { + display: flex; + + &.flex-col { + flex-direction: column; + } + + &.flex-row { + flex-direction: row; + } + + &.flex-justify-space-between { + justify-content: space-between; + } + + &.flex-justify-space-between { + justify-content: space-between; + } + + &.flex-centered { + justify-content: center; + align-items: center; + } +} diff --git a/assets/css/index.scss b/assets/css/index.scss index dfb776c..905bf2f 100644 --- a/assets/css/index.scss +++ b/assets/css/index.scss @@ -6,6 +6,8 @@ @import 'utils/responsive'; @import 'utils/layout-utils'; @import 'utils/typo-utils'; + +@import 'utils/position-utils'; @import 'fontface'; @import 'typography'; @import 'layout'; diff --git a/fr/index.html b/fr/index.html index 8a429ce..a8db9cc 100644 --- a/fr/index.html +++ b/fr/index.html @@ -13,7 +13,7 @@ ref: index
{{ intro | markdownify }} -

{{ site.data.translations.latest[page.lang]}}

+

{{ site.data.translations.latest[page.lang] }}