From 50188f0eaa2f576c7786b521a170e6afb13b8610 Mon Sep 17 00:00:00 2001
From: Remi Gau
Date: Sat, 18 Sep 2021 09:50:03 +0200
Subject: [PATCH] add basic steering group election banner
---
_config.yml | 2 +
.../steering_group_election_section.html | 43 +++++++++++++++++++
_layouts/default.html | 2 +
_sass/custom.scss | 15 +++++++
4 files changed, 62 insertions(+)
create mode 100644 _includes/steering_group_election_section.html
diff --git a/_config.yml b/_config.yml
index 332f18b7..a72b11f4 100644
--- a/_config.yml
+++ b/_config.yml
@@ -9,6 +9,8 @@ show_menu: true
show_footer: true
google_analytics: false
+election_banner: true
+
excerpt_separator:
collections:
diff --git a/_includes/steering_group_election_section.html b/_includes/steering_group_election_section.html
new file mode 100644
index 00000000..89dba4f4
--- /dev/null
+++ b/_includes/steering_group_election_section.html
@@ -0,0 +1,43 @@
+{% if site.election_banner %}
+
+
+
+
+
+
BIDS steering group election
+
+
+ We are excited to announce the opening of the nomination period for
+ electing a new Steering Group member!
+
+
+ The nomination period will close on Friday,
+ October 1st at 11:59pm (Pacific time). This new member will be
+ taking the place of our outgoing member, Kirstie Whitaker.
+
+
+ While submitting your nomination, we please ask to prepare a brief
+ description of what you would add to the Steering Group if elected and
+ include it within this form.
+
+
+ We are looking to maintain and enhance our range of diverse perspectives
+ and experiences currently present on the Steering Group.
+
+
+ If you are interested in nominating yourself - please submit your name to
+ our nomination google form.
+
+
+ If you have any questions, please feel free to reach out to
+ Franklin Feingold.
+
+
+
+
+
+
+{% endif %}
+
+
+
diff --git a/_layouts/default.html b/_layouts/default.html
index d93d76ad..e559e5a7 100644
--- a/_layouts/default.html
+++ b/_layouts/default.html
@@ -97,6 +97,8 @@
+ {% include steering_group_election_section.html %}
+
diff --git a/_sass/custom.scss b/_sass/custom.scss
index 9d59214c..4065c1e6 100644
--- a/_sass/custom.scss
+++ b/_sass/custom.scss
@@ -14,6 +14,21 @@
background-size: 50%;
}
+.election-banner {
+ border: 10px solid $border-color;
+ width: 66%;
+ text-align: center;
+ padding: 2rem;
+ margin: 1rem;
+
+ p {
+ padding: 0 0 0 5%;
+ width: 90%;
+ text-align: center;
+ font-size: 18px;
+ }
+}
+
.site-footer {
text-align: center;
}