aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorXe Iaso <me@christine.website>2022-06-14 15:04:17 -0400
committerGitHub <noreply@github.com>2022-06-14 15:04:17 -0400
commitad6fba4c79e8b5ab08e2f0db8bc4087f03151f7f (patch)
tree9888fe24eb3ea35ea0f9b54af8723b4a000e6ad9 /templates
parent7541df778165b5a96da714256d011685b476abc0 (diff)
downloadxesite-ad6fba4c79e8b5ab08e2f0db8bc4087f03151f7f.tar.xz
xesite-ad6fba4c79e8b5ab08e2f0db8bc4087f03151f7f.zip
Add salary transparency page (#492)
* Move dhall data and types into `/dhall` folder * Reformat salary transparency data into Dhall * Wire up the old salary transparency page with a custom element * Wire up a new salary transparency page * Expose raw data as JSON * Make dhall types more portable * Remove gallery from the navbar * Make signal boost page point to the new data location * Add salary transparency page to the footer of the site * Add site update post for this Signed-off-by: Xe <me@xeiaso.net>
Diffstat (limited to 'templates')
-rw-r--r--templates/footer.rs.html1
-rw-r--r--templates/header.rs.html2
-rw-r--r--templates/salary_transparency.rs.html35
-rw-r--r--templates/signalboost.rs.html2
4 files changed, 38 insertions, 2 deletions
diff --git a/templates/footer.rs.html b/templates/footer.rs.html
index 4f0147f..038e6df 100644
--- a/templates/footer.rs.html
+++ b/templates/footer.rs.html
@@ -6,6 +6,7 @@
<p>Like what you see? Donate on <a href="https://www.patreon.com/cadey">Patreon</a> like <a href="/patrons">these awesome people</a>!</p>
<p>Looking for someone for your team? Take a look <a href="/signalboost">here</a>.</p>
<p>Served by @env!("out")/bin/xesite</a>, see <a href="https://github.com/Xe/site">source code here</a>.</p>
+ <p>See my <a href="/salary-transparency">salary transparency data here</a>.</p>
</footer>
</div>
diff --git a/templates/header.rs.html b/templates/header.rs.html
index 8ec5cf8..11b16d4 100644
--- a/templates/header.rs.html
+++ b/templates/header.rs.html
@@ -93,7 +93,7 @@ la budza pu cusku lu
<div class="container">
<header>
<span class="logo"></span>
- <nav><a href="/">Xe</a> - <a href="/blog">Blog</a> - <a href="/contact">Contact</a> - <a href="/gallery">Gallery</a> - <a href="/resume">Resume</a> - <a href="/talks">Talks</a> - <a href="/signalboost">Signal Boost</a> - <a href="/feeds">Feeds</a> | <a target="_blank" rel="noopener noreferrer" href="https://graphviz.christine.website">GraphViz</a> - <a target="_blank" rel="noopener noreferrer" href="https://when-then-zen.christine.website/">When Then Zen</a></nav>
+ <nav><a href="/">Xe</a> - <a href="/blog">Blog</a> - <a href="/contact">Contact</a> - <a href="/resume">Resume</a> - <a href="/talks">Talks</a> - <a href="/signalboost">Signal Boost</a> - <a href="/feeds">Feeds</a> | <a target="_blank" rel="noopener noreferrer" href="https://graphviz.christine.website">GraphViz</a> - <a target="_blank" rel="noopener noreferrer" href="https://when-then-zen.christine.website/">When Then Zen</a></nav>
</header>
<br />
diff --git a/templates/salary_transparency.rs.html b/templates/salary_transparency.rs.html
new file mode 100644
index 0000000..394477b
--- /dev/null
+++ b/templates/salary_transparency.rs.html
@@ -0,0 +1,35 @@
+@use super::{header_html, footer_html};
+@use crate::{app::Config, tmpl::xeblog_salary_history};
+@use std::sync::Arc;
+
+@(cfg: Arc<Config>)
+
+@:header_html(Some("Salary Transparency"), None)
+
+<h1>Salary Transparency</h1>
+
+<p>This page lists my salary for every job I've had in tech. I have had this data open to the public <a href="https://xeiaso.net/blog/my-career-in-dates-titles-salaries-2019-03-14">for years</a>, but I feel this should be more prominently displayed on my website. Other people have copied my approach of having a list of every salary they have ever been payed on their websites, and I would like to set the example by making it prominent on my website.</p>
+
+<p>As someone who has seen pay discrimination work in action first-hand, data is one of the ways that we can end this pointless hiding of information that leads to people being uninformed and hirt by their lack of knowledge. By laying my hand out in the open like this, I hope to ensure that people are better informed about how much money they <i>can</i> make, so that they can be paid equally for equal work.</p>
+
+<h2>Salary Data</h2>
+
+<p>To get this data, I have scoured over past emails, contracts and everything so that I can be sure that this information is as accurate as possible. The data on this page intentionally omits employer names.</p>
+
+<p>Raw data (including employer names) is available at <code>/api/salary_transparency.json</code>. The JSON format is not stable. Do not treat it as such. I reserve the right to change the formatting or semantics of the JSON format at any time without warning. The raw data is in <code>/dhall/jobHistory.dhall</code> in my site's git repository.</p>
+
+@Html(xeblog_salary_history(cfg.clone()).0)
+
+<p>I typically update this page once any of the following things happens:</p>
+
+<ul>
+ <li>I quit a job.</li>
+ <li>I get a raise/title change at the same company.</li>
+ <li>I get terminated from a job.</li>
+ <li>I get converted from a contracter to a full-time employee.</li>
+ <li>Other unspecified extranormal events happen.</li>
+</ul>
+
+<p>Please consider publishing your salary data like this as well. By open, voulntary transparency we can help to end stigmas around discussing pay and help ensure that the next generations of people in tech are treated fairly. Stigmas thrive in darkness but die in the light of day. You can help end the stigma by playing your cards out in the open like this.</p>
+
+@:footer_html()
diff --git a/templates/signalboost.rs.html b/templates/signalboost.rs.html
index 91211b3..91fa6a3 100644
--- a/templates/signalboost.rs.html
+++ b/templates/signalboost.rs.html
@@ -9,7 +9,7 @@
<p>These awesome people are currently looking for a job. If you are looking for anyone with these skills, please feel free to reach out to them.</p>
-<p>To add yourself to this list, fork <a href="https://github.com/Xe/site">this website's source code</a> and send a pull request with edits to <code>signalboost.dhall</code>.</p>
+<p>To add yourself to this list, fork <a href="https://github.com/Xe/site">this website's source code</a> and send a pull request with edits to <code>/dhall/signalboost.dhall</code>.</p>
<!-- TODO(Xe): Remove this after COVID-19 is less of a thing -->
<p>With COVID-19 raging across the world, these people are in need of a job now more than ever.</p>