diff --git a/app/assets/images/SheCodedBackground.png b/app/assets/images/SheCodedBackground.png new file mode 100644 index 000000000..7c8f27b44 Binary files /dev/null and b/app/assets/images/SheCodedBackground.png differ diff --git a/app/assets/images/SheCodedLogo.png b/app/assets/images/SheCodedLogo.png new file mode 100644 index 000000000..fff60f5f9 Binary files /dev/null and b/app/assets/images/SheCodedLogo.png differ diff --git a/app/controllers/pages_controller.rb b/app/controllers/pages_controller.rb index dccf2839c..c84a91d31 100644 --- a/app/controllers/pages_controller.rb +++ b/app/controllers/pages_controller.rb @@ -1,6 +1,6 @@ class PagesController < ApplicationController # No authorization required for entirely public controller - before_action :set_cache_control_headers, only: %i[rlyweb now events membership survey badge] + before_action :set_cache_control_headers, only: %i[rlyweb now events membership survey badge shecoded] def now set_surrogate_key_header "now_page" @@ -60,6 +60,11 @@ class PagesController < ApplicationController ) end + def shecoded + render layout: false + set_surrogate_key_header "shecoded_page" + end + private # helpers def latest_published_welcome_thread diff --git a/app/views/pages/shecoded.html.erb b/app/views/pages/shecoded.html.erb new file mode 100644 index 000000000..ba533b055 --- /dev/null +++ b/app/views/pages/shecoded.html.erb @@ -0,0 +1,200 @@ + + + + + + + #SheCoded 👩🏿‍💻👩‍💻👩🏾‍💻 - DEV Community + + + +
+

Nevertheless, She Coded

+ " alt="shecoded logo" /> +

👩🏿‍💻👩‍💻👩🏾‍💻

+
+ International Women's Day is this week and we want to celebrate the + heck out of it. +

+ Since Balance for Better is the official 2019 theme for IWD, we're + excited to celebrate women and non-binary people's bragging rights in + software development and gather advice for allies to take action. For + those of you who participated last year, we encourage you to submit + another post. And if you're new to the celebration, we welcome you to + contribute to the collective. +

+

+ On Friday March 8th, we'll be boosting your stories all over dev.to + and across our social channels. +

+
+ WRITE A #SheCoded POST + WRITE A #SheCodedAlly POST + + + +
+ + diff --git a/config/routes.rb b/config/routes.rb index 44c64c9e9..f6f5ee64b 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -216,6 +216,7 @@ Rails.application.routes.draw do get "/swagnets" => "pages#swagnets" get "/welcome" => "pages#welcome" get "/badge" => "pages#badge" + get "/shecoded" => "pages#shecoded" get "/💸", to: redirect("t/hiring") get "/security", to: "pages#bounty" get "/survey", to: redirect("https://dev.to/ben/final-thoughts-on-the-state-of-the-web-survey-44nn")