diff options
| author | Xe Iaso <me@christine.website> | 2022-06-14 15:04:17 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-06-14 15:04:17 -0400 |
| commit | ad6fba4c79e8b5ab08e2f0db8bc4087f03151f7f (patch) | |
| tree | 9888fe24eb3ea35ea0f9b54af8723b4a000e6ad9 /config.dhall | |
| parent | 7541df778165b5a96da714256d011685b476abc0 (diff) | |
| download | xesite-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 'config.dhall')
| -rw-r--r-- | config.dhall | 74 |
1 files changed, 10 insertions, 64 deletions
diff --git a/config.dhall b/config.dhall index 4d86a88..8f4a9e4 100644 --- a/config.dhall +++ b/config.dhall @@ -1,38 +1,8 @@ -let Person = - { Type = - { name : Text - , tags : List Text - , gitLink : Optional Text - , twitter : Optional Text - } - , default = - { name = "" - , tags = [] : List Text - , gitLink = None Text - , twitter = None Text - } - } +let Person = ./dhall/types/Person.dhall -let Author = - { Type = - { name : Text - , handle : Text - , picUrl : Optional Text - , link : Optional Text - , twitter : Optional Text - , default : Bool - , inSystem : Bool - } - , default = - { name = "" - , handle = "" - , picUrl = None Text - , link = None Text - , twitter = None Text - , default = False - , inSystem = False - } - } +let Author = ./dhall/types/Author.dhall + +let Job = ./dhall/types/Job.dhall let defaultPort = env:PORT ? 3030 @@ -49,48 +19,24 @@ let Config = , resumeFname : Text , webMentionEndpoint : Text , miToken : Text + , jobHistory : List Job.Type } , default = { signalboost = [] : List Person.Type - , authors = - [ Author::{ - , name = "Xe Iaso" - , handle = "xe" - , picUrl = Some "/static/img/avatar.png" - , link = Some "https://christine.website" - , twitter = Some "theprincessxena" - , default = True - , inSystem = True - } - , Author::{ - , name = "Jessie" - , handle = "Heartmender" - , picUrl = Some - "https://cdn.christine.website/file/christine-static/img/UPRcp1pO_400x400.jpg" - , link = Some "https://heartmender.writeas.com" - , twitter = Some "BeJustFine" - , inSystem = True - } - , Author::{ - , name = "Ashe" - , handle = "ectamorphic" - , picUrl = Some - "https://cdn.christine.website/file/christine-static/img/FFVV1InX0AkDX3f_cropped_smol.jpg" - , inSystem = True - } - , Author::{ name = "Nicole", handle = "Twi", inSystem = True } - , Author::{ name = "Mai", handle = "Mai", inSystem = True } - ] + , authors = [] : List Author.Type , port = defaultPort , clackSet = [ "Ashlynn" ] , resumeFname = "./static/resume/resume.md" , webMentionEndpoint = defaultWebMentionEndpoint , miToken = "${env:MI_TOKEN as Text ? ""}" + , jobHistory = [] : List Job.Type } } in Config::{ - , signalboost = ./signalboost.dhall + , signalboost = ./dhall/signalboost.dhall + , authors = ./dhall/authors.dhall , clackSet = [ "Ashlynn", "Terry Davis", "Dennis Ritchie", "Steven Hawking" ] + , jobHistory = ./dhall/jobHistory.dhall } |
