diff --git a/app/frontend/images/blueprint/bg-img.png b/app/frontend/images/blueprint/bg-img.png deleted file mode 100644 index 1b747905..00000000 Binary files a/app/frontend/images/blueprint/bg-img.png and /dev/null differ diff --git a/app/frontend/images/blueprint/blueprint.png b/app/frontend/images/blueprint/blueprint.png deleted file mode 100644 index cb697ffd..00000000 Binary files a/app/frontend/images/blueprint/blueprint.png and /dev/null differ diff --git a/app/frontend/images/sso_apps/blueprint.png b/app/frontend/images/sso_apps/blueprint.png deleted file mode 100644 index cb697ffd..00000000 Binary files a/app/frontend/images/sso_apps/blueprint.png and /dev/null differ diff --git a/app/frontend/images/sso_apps/stasis.png b/app/frontend/images/sso_apps/stasis.png new file mode 100644 index 00000000..8c0f479b Binary files /dev/null and b/app/frontend/images/sso_apps/stasis.png differ diff --git a/app/frontend/images/stasis/bg-img.png b/app/frontend/images/stasis/bg-img.png new file mode 100644 index 00000000..7fe27218 Binary files /dev/null and b/app/frontend/images/stasis/bg-img.png differ diff --git a/app/frontend/images/stasis/stasis.png b/app/frontend/images/stasis/stasis.png new file mode 100644 index 00000000..8c0f479b Binary files /dev/null and b/app/frontend/images/stasis/stasis.png differ diff --git a/app/models/onboarding_scenarios/blueprint.rb b/app/models/onboarding_scenarios/blueprint.rb deleted file mode 100644 index 8f4f77fa..00000000 --- a/app/models/onboarding_scenarios/blueprint.rb +++ /dev/null @@ -1,23 +0,0 @@ -module OnboardingScenarios - class Blueprint < Base - def self.slug = "blueprint" - - def title = "ready to start building?" - - def form_fields - [ :first_name, :last_name, :primary_email, :birthday, :country ] - end - - def slack_user_type = :multi_channel_guest - - def slack_channels = chans(:blueprint, :blueprint_support, :blueprint_announcements, :blueprint_drafts, :identity_help) - - def next_action = :home - - def logo_path = "images/blueprint/blueprint.png" - def background_path = "images/blueprint/bg-img.png" - - def card_attributes = { wide_logo: true } - def dark_mode_background_path = "images/blueprint/bg-img.png" - end -end diff --git a/app/models/onboarding_scenarios/stasis.rb b/app/models/onboarding_scenarios/stasis.rb new file mode 100644 index 00000000..8497ac2d --- /dev/null +++ b/app/models/onboarding_scenarios/stasis.rb @@ -0,0 +1,23 @@ +module OnboardingScenarios + class Stasis < Base + def self.slug = "stasis" + + def title = "ready to start building?" + + def form_fields + [ :first_name, :last_name, :primary_email, :birthday, :country ] + end + + def slack_user_type = :multi_channel_guest + + def slack_channels = chans(:stasis, :stasis_support, :stasis_bulletin, :identity_help) + + def next_action = :home + + def logo_path = "images/stasis/stasis.png" + def background_path = "images/stasis/bg-img.png" + + def card_attributes = { wide_logo: true } + def dark_mode_background_path = "images/stasis/bg-img.png" + end +end diff --git a/app/models/special_app_cards/blueprint.rb b/app/models/special_app_cards/blueprint.rb deleted file mode 100644 index af4f7c84..00000000 --- a/app/models/special_app_cards/blueprint.rb +++ /dev/null @@ -1,21 +0,0 @@ -# frozen_string_literal: true - -module SpecialAppCards - class Blueprint < Base - def visible? - identity.ysws_eligible != false && Flipper.enabled?(:blueprint, identity) - end - - def friendly_name = "Blueprint" - - def tagline = "Design a hardware project, get up to $400 to build it!" - - def icon = "blueprint.png" - - def icon_background = "#0E305B" - - def url = "https://blueprint.hackclub.com/?utm_source=HCA" - - def launch_text = "Get Started!" - end -end diff --git a/app/models/special_app_cards/stasis.rb b/app/models/special_app_cards/stasis.rb new file mode 100644 index 00000000..7cbc87ae --- /dev/null +++ b/app/models/special_app_cards/stasis.rb @@ -0,0 +1,21 @@ +# frozen_string_literal: true + +module SpecialAppCards + class Stasis < Base + def visible? + identity.ysws_eligible != false && Flipper.enabled?(:stasis, identity) + end + + def friendly_name = "Stasis" + + def tagline = "Design a hardware project, get up to $300 to build it!" + + def icon = "stasis.png" + + def icon_background = "#DAD2BF" + + def url = "https://stasis.hackclub.com/?utm_source=HCA" + + def launch_text = "Get Started!" + end +end diff --git a/config/slack_channels.yml b/config/slack_channels.yml index 645e7ff1..306583be 100644 --- a/config/slack_channels.yml +++ b/config/slack_channels.yml @@ -33,10 +33,9 @@ shared: flavortown_help: C09MATKQM8C happenings: C05B6DBN802 community: C01D7AHKMPF - blueprint: C083S537USC - blueprint_support: C09CMJV6V6K - blueprint_announcements: C09D1C2BFKL - blueprint_drafts: C09SJ2R1002 + stasis: C09HSQM550A + stasis_support: C09JP51FHNE + stasis_bulletin: C09JLLP4YH4 campfire_flagship: C0A1GH3FY4T campfire_flagship_bulletin: C0A6RKLB4UC campfire_flagship_help: C0A6KLGRZQE