Commit f4fcf569 authored by ancoats's avatar ancoats
Browse files

Rearrange page header and footer blocks

parent 888f6bdd
......@@ -48,3 +48,20 @@
images: entry.imageGrid.all()
} %}
{% endblock %}
{% block prefooter %}
{% block a %}
{{ parent() }}
{% endblock %}
{% block b %}
{{ parent() }}
{% endblock %}
{% block c %}
{% set page = craft.entries.section('archiveEvents').one() %}
{% include '_partials/components/shared/tile.twig' with {
tileButtonURL: page.url,
tileButtonLabel: page.title,
tileTheme: 'orchid'
} %}
{% endblock %}
{% endblock %}
......@@ -45,3 +45,20 @@
{% endblock %}
{% endembed %}
{% endblock %}
{% block prefooter %}
{% block a %}
{{ parent() }}
{% endblock %}
{% block b %}
{{ parent() }}
{% endblock %}
{% block c %}
{% set page = craft.entries.section('archiveActions').one() %}
{% include '_partials/components/shared/tile.twig' with {
tileButtonURL: page.url,
tileButtonLabel: page.title,
tileTheme: 'orchid'
} %}
{% endblock %}
{% endblock %}
......@@ -34,3 +34,17 @@
{% endblock %}
{% endembed %}
{% endblock %}
{% block prefooter %}
{% block a %}
{{ parent() }}
{% endblock %}
{% block b %}
{{ parent() }}
{% endblock %}
{% block c %}
{% include '_partials/components/shared/tile.twig' with {
tileTheme: 'shockface'
} %}
{% endblock %}
{% endblock %}
......@@ -33,13 +33,17 @@
{% endblock %}
{% block prefooter %}
{% include '_partials/components/shared/block-newsletter.twig' with {
class: 'c-box--center u-background-color-pink'
} %}
{% include '_partials/components/shared/tile.twig' with {
tileTheme: 'eyes'
} %}
{% include '_partials/components/shared/tile.twig' with {
tileTheme: 'tree-of-life-circle'
} %}
{% block a %}
{% include '_partials/components/shared/block-newsletter.twig' with {
class: 'c-box--center u-background-color-yellow'
} %}
{% endblock %}
{% block b %}
{{ parent() }}
{% endblock %}
{% block c %}
{% include '_partials/components/shared/tile.twig' with {
tileTheme: 'shockface'
} %}
{% endblock %}
{% endblock %}
......@@ -48,3 +48,19 @@
{% endblock %}
{% endembed %}
{% endblock %}
{% block prefooter %}
{% block a %}
{% include '_partials/components/shared/block-discourse.twig' with {
class: 'c-box--center u-background-color-yellow'
} %}
{% endblock %}
{% block b %}
{{ parent() }}
{% endblock %}
{% block c %}
{% include '_partials/components/shared/tile.twig' with {
tileTheme: 'shockface'
} %}
{% endblock %}
{% endblock %}
......@@ -44,3 +44,20 @@
{% endblock %}
{% endembed %}
{% endblock %}
{% block prefooter %}
{% block a %}
{{ parent() }}
{% endblock %}
{% block b %}
{{ parent() }}
{% endblock %}
{% block c %}
{% set page = craft.entries.section('archiveNews').one() %}
{% include '_partials/components/shared/tile.twig' with {
tileButtonURL: page.url,
tileButtonLabel: page.title,
tileTheme: 'orchid'
} %}
{% endblock %}
{% endblock %}
......@@ -61,3 +61,20 @@
{% endblock %}
{% endembed %}
{% endblock %}
{% block prefooter %}
{% block a %}
{{ parent() }}
{% endblock %}
{% block b %}
{{ parent() }}
{% endblock %}
{% block c %}
{% set page = craft.entries.section('archiveActions').one() %}
{% include '_partials/components/shared/tile.twig' with {
tileButtonURL: page.url,
tileButtonLabel: page.title,
tileTheme: 'orchid'
} %}
{% endblock %}
{% endblock %}
......@@ -70,3 +70,20 @@
{% endblock %}
{% endembed %}
{% endblock %}
{% block prefooter %}
{% block a %}
{{ parent() }}
{% endblock %}
{% block b %}
{{ parent() }}
{% endblock %}
{% block c %}
{% set page = craft.entries.section('archiveEvents').one() %}
{% include '_partials/components/shared/tile.twig' with {
tileButtonURL: page.url,
tileButtonLabel: page.title,
tileTheme: 'orchid'
} %}
{% endblock %}
{% endblock %}
......@@ -58,3 +58,20 @@
{% endblock %}
{% endembed %}
{% endblock %}
{% block prefooter %}
{% block a %}
{{ parent() }}
{% endblock %}
{% block b %}
{{ parent() }}
{% endblock %}
{% block c %}
{% set page = craft.entries.section('archiveEvents').one() %}
{% include '_partials/components/shared/tile.twig' with {
tileButtonURL: page.url,
tileButtonLabel: 'Events calendar'|t,
tileTheme: 'orchid'
} %}
{% endblock %}
{% endblock %}
......@@ -6,3 +6,20 @@
{% set breadcrumb = craft.entries()
.section('archiveNews')
.all() %}
{% block prefooter %}
{% block a %}
{{ parent() }}
{% endblock %}
{% block b %}
{{ parent() }}
{% endblock %}
{% block c %}
{% set page = craft.entries.section('archiveNews').one() %}
{% include '_partials/components/shared/tile.twig' with {
tileButtonURL: page.url,
tileButtonLabel: 'News archive'|t,
tileTheme: 'orchid'
} %}
{% endblock %}
{% endblock %}
......@@ -31,13 +31,20 @@
{% endblock %}
{% block prefooter %}
{% include '_partials/components/shared/block-newsletter.twig' with {
class: 'c-box--center u-background-color-pink'
} %}
{% include '_partials/components/shared/tile.twig' with {
tileTheme: 'eyes'
} %}
{% include '_partials/components/shared/tile.twig' with {
tileTheme: 'tree-of-life-circle'
} %}
{% block a %}
{% include '_partials/components/shared/block-newsletter.twig' with {
class: 'c-box--center u-background-color-yellow'
} %}
{% endblock %}
{% block b %}
{{ parent() }}
{% endblock %}
{% block c %}
{% set page = craft.entries.section('archiveNewsletters').one() %}
{% include '_partials/components/shared/tile.twig' with {
tileButtonURL: page.url,
tileButtonLabel: 'Newsletter archive'|t,
tileTheme: 'orchid'
} %}
{% endblock %}
{% endblock %}
......@@ -35,3 +35,22 @@
class: 'u-background-color-blue-lazuli u-color-white'
} %}
{% endblock %}
{% block prefooter %}
{% block a %}
{% include '_partials/components/shared/block-discourse.twig' with {
class: 'c-box--center u-background-color-yellow'
} %}
{% endblock %}
{% block b %}
{{ parent() }}
{% endblock %}
{% block c %}
{% set page = craft.entries.section('archivePosts').one() %}
{% include '_partials/components/shared/tile.twig' with {
tileButtonURL: page.url,
tileButtonLabel: 'Blog archive'|t,
tileTheme: 'orchid'
} %}
{% endblock %}
{% endblock %}
......@@ -4,3 +4,20 @@
{% set breadcrumb = craft.entries()
.section('archivePress')
.all() %}
{% block prefooter %}
{% block a %}
{{ parent() }}
{% endblock %}
{% block b %}
{{ parent() }}
{% endblock %}
{% block c %}
{% set page = craft.entries.section('archivePress').one() %}
{% include '_partials/components/shared/tile.twig' with {
tileButtonURL: page.url,
tileButtonLabel: 'Press archive'|t,
tileTheme: 'orchid'
} %}
{% endblock %}
{% endblock %}
......@@ -44,3 +44,22 @@
{% endblock %}
{% endembed %}
{% endblock %}
{% block prefooter %}
{% block a %}
{% include '_partials/components/shared/block-gitbook.twig' with {
class: 'c-box--center u-background-color-yellow'
} %}
{% endblock %}
{% block b %}
{{ parent() }}
{% endblock %}
{% block c %}
{% set page = craft.entries.section('pageEnlist').one() %}
{% include '_partials/components/shared/tile.twig' with {
tileButtonURL: page.url ~ '#section-roles',
tileButtonLabel: 'Open roles'|t,
tileTheme: 'orchid'
} %}
{% endblock %}
{% endblock %}
......@@ -26,16 +26,20 @@
{% endblock %}
{% block prefooter %}
{% include '_partials/components/shared/block-discourse.twig' with {
class: 'c-box--center u-background-color-blue-lazuli u-color-white'
} %}
{% include '_partials/components/shared/tile.twig' with {
tileTheme: 'shockface'
} %}
{% set page = craft.entries.section('pageDemands').one() %}
{% include '_partials/components/shared/tile.twig' with {
tileButtonURL: page.url,
tileButtonLabel: 'Our demands'|t,
tileTheme: 'extinction'
} %}
{% block a %}
{% include '_partials/components/shared/block-discourse.twig' with {
class: 'c-box--center u-background-color-yellow'
} %}
{% endblock %}
{% block b %}
{{ parent() }}
{% endblock %}
{% block c %}
{% set page = craft.entries.section('pageFAQ').one() %}
{% include '_partials/components/shared/tile.twig' with {
tileButtonURL: page.url,
tileButtonLabel: page.title,
tileTheme: 'orchid'
} %}
{% endblock %}
{% endblock %}
......@@ -4,25 +4,41 @@
{% include '_partials/components/template-page/page-header.twig' %}
<div class="tell-the-truth">
{% include '_partials/components/shared/tile.twig' with {
tileButtonURL: "mailto:#{contactInformation.contactEmailGeneral}",
tileButtonLabel: 'Email XR Belgium'|t,
tileButtonURL: (entry.contactTel ? "tel:#{entry.contactTel}"),
tileButtonLabel: (entry.contactTel ? 'Call our press coordinator'|t),
tileTheme: 'thrush'
} %}
{% set page = craft.entries()
.section('archivePress')
.one() %}
{% include '_partials/components/shared/tile.twig' with {
tileButtonURL: page.url,
tileButtonLabel: 'Press contacts'|t,
tileButtonURL: "mailto:#{contactInformation.contactEmailGeneral}",
tileButtonLabel: 'Email XR Belgium',
tileTheme: 'tree-of-life-circle'
} %}
{% include '_partials/components/shared/tile.twig' with {
tileButtonURL: services.serviceURLDiscourse,
tileButtonLabel: blocks.blockHeadingDiscourse,
tileTheme: 'extinction-part-one'
tileButtonURL: services.serviceURLRebelsManager,
tileButtonLabel: 'Join the Rebellion'|t,
tileTheme: 'skull-gazelle'
} %}
</div>
<section class="c-panel u-background-color-blue-baby" id="section-local-groups">
{% include '_partials/components/template-page-contact/list-local-groups.twig' %}
</section>
{% endblock %}
{% block prefooter %}
{% block a %}
{% include '_partials/components/shared/block-discourse.twig' with {
class: 'c-box--center u-background-color-yellow'
} %}
{% endblock %}
{% block b %}
{{ parent() }}
{% endblock %}
{% block c %}
{% set page = craft.entries().section('archivePress').one() %}
{% include '_partials/components/shared/tile.twig' with {
tileButtonURL: page.url,
tileButtonLabel: 'Press contacts'|t,
tileTheme: 'orchid'
} %}
{% endblock %}
{% endblock %}
......@@ -20,12 +20,12 @@
{% include '_partials/components/shared/tile.twig' with {
tileButtonURL: (queryPageLocalGroups ? queryPageLocalGroups.url),
tileButtonLabel: (queryPageLocalGroups ? 'Find your local group'|t : ''),
tileTheme: 'extinction-part-one'
tileTheme: 'tree-of-life-circle'
} %}
{% include '_partials/components/shared/tile.twig' with {
tileButtonURL: services.serviceURLRebelsManager,
tileButtonLabel: 'Registration form'|t,
tileTheme: 'tree-of-life-circle'
tileButtonLabel: 'Join the Rebellion'|t,
tileTheme: 'skull-gazelle'
} %}
</div>
{% if entry.body %}
......@@ -42,7 +42,7 @@
{% embed '_partials/components/default/entries-list.twig' with {
entries: pageEntries,
heading: 'Open roles in Extinction Rebellion'|t,
class: (isPageFirst ? 'u-background-color-pink'),
class: (isPageFirst ? 'u-background-color-black u-color-white'),
id: 'section-roles'
} %}
{% block loop %}
......@@ -68,3 +68,22 @@
images: entry.imageGrid.all()
} %}
{% endblock %}
{% block prefooter %}
{% block a %}
{% include '_partials/components/shared/block-discourse.twig' with {
class: 'c-box--center u-background-color-yellow'
} %}
{% endblock %}
{% block b %}
{{ parent() }}
{% endblock %}
{% block c %}
{% set page = craft.entries.section('pageFAQ').one() %}
{% include '_partials/components/shared/tile.twig' with {
tileButtonURL: page.url,
tileButtonLabel: page.title,
tileTheme: 'orchid'
} %}
{% endblock %}
{% endblock %}
......@@ -20,13 +20,15 @@
{% endblock %}
{% block prefooter %}
{% include '_partials/components/shared/block-gitbook.twig' with {
class: 'c-box--center u-background-color-red u-color-white'
} %}
{% include '_partials/components/shared/tile.twig' with {
tileTheme: 'tree-of-life-circle'
} %}
{% include '_partials/components/shared/tile.twig' with {
tileTheme: 'shockface'
} %}
{% block a %}
{% include '_partials/components/shared/block-gitbook.twig' with {
class: 'c-box--center u-background-color-yellow'
} %}
{% endblock %}
{% block b %}
{{ parent() }}
{% endblock %}
{% block c %}
{{ parent() }}
{% endblock %}
{% endblock %}
......@@ -37,9 +37,14 @@
})),
tileTheme: 'tree-of-life-circle'
} %}
{% include '_partials/components/template-user-local-group/block-social-media.twig' with {
user: user,
class: 'c-box--center u-background-color-black u-color-white'
{% include '_partials/components/shared/tile.twig' with {
tileButtonURL: user.userURL,
tileButtonLabel: user.userURL | replace({
'http://': '',
'https://': '',
'www.': ''
}),
tileTheme: 'skull-gazelle'
} %}
</div>
{% if user.body %}
......@@ -70,3 +75,18 @@
images: user.imageGrid.all()
} %}
{% endblock %}
{% block prefooter %}
{% block a %}
{{ parent() }}
{% endblock %}
{% block b %}
{{ parent() }}
{% endblock %}
{% block c %}
{% include '_partials/components/template-user-local-group/block-social-media.twig' with {
user: user,
class: 'c-box--center u-background-color-black u-color-white'
} %}
{% endblock %}
{% endblock %}
......@@ -2,6 +2,7 @@
return [
'Act now' => 'Agissez maintenant',
'Call our press coordinator' => 'Appelez notre coordinateur de presse',
'Blog archive' => 'Archives de blog',
'Category' => 'Catégorie',
'Close' => 'Fermé',
'Current page' => 'Page courante',
......@@ -14,6 +15,7 @@ return [
'Email our Recruitment Circle' => 'Envoyer un email à notre cercle de recrutement',
'Email XR Belgium' => 'Envoyer un email à XR Belgique',
'Email {user}' => 'Envoyer un email à {user}',
'Events archive' => 'Archive des événements',
'Filter events by category' => 'Filtrer les événements par catégorie',
'Filter news by category' => 'Filtrer les actualités par catégorie',
'Filter posts by category' => 'Filtrer les articles par catégorie',
......@@ -44,6 +46,8 @@ return [
'More roles like this' => 'Plus de rôles comme ça',
'More upcoming events' => "Plus d'événements à venir",
'Next page' => 'Page suivante',
'News archive' => "Archives d'informations",
"Newsletter archive" => "Archives de lettres infos",
'Open roles' => 'Rôles disponibles',
'Open roles in Extinction Rebellion' => 'Rôles disponibles dans Extinction Rebellion',
'Our demands' => 'Nos demandes',
......@@ -51,10 +55,10 @@ return [
'Our values' => 'Nos principes',
'Photos and videos' => 'Photos et videos',
'Press' => 'Presse',
'Press archive' => 'Archives de presse',
'Press contacts' => 'Contacts presse',
'Previous page' => 'Page précédente',
'Published by' => 'Publié par',
'Registration form' => "Formulaire d'inscription",
'Skip to main content' => 'Passer au contenu principal',
'Tell the truth' => 'Dire la vérité',
'To' => 'Á',
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment