Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file removed app/frontend/images/blueprint/bg-img.png
Binary file not shown.
Binary file removed app/frontend/images/blueprint/blueprint.png
Binary file not shown.
Binary file removed app/frontend/images/sso_apps/blueprint.png
Binary file not shown.
Binary file added app/frontend/images/sso_apps/stasis.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/frontend/images/stasis/bg-img.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/frontend/images/stasis/stasis.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
23 changes: 0 additions & 23 deletions app/models/onboarding_scenarios/blueprint.rb

This file was deleted.

23 changes: 23 additions & 0 deletions app/models/onboarding_scenarios/stasis.rb
Original file line number Diff line number Diff line change
@@ -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
21 changes: 0 additions & 21 deletions app/models/special_app_cards/blueprint.rb

This file was deleted.

21 changes: 21 additions & 0 deletions app/models/special_app_cards/stasis.rb
Original file line number Diff line number Diff line change
@@ -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
7 changes: 3 additions & 4 deletions config/slack_channels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down