mirror of
https://github.com/System-End/identity-vault.git
synced 2026-04-19 20:55:11 +00:00
feat: add Hack Club: The Game (#206)
* feat: add Hack Club: The Game * fix: hctg is not blueprint --------- Co-authored-by: nora <163450896+24c02@users.noreply.github.com>
This commit is contained in:
parent
47ec49f62f
commit
e007096005
4 changed files with 27 additions and 0 deletions
BIN
app/frontend/images/game/background.png
Normal file
BIN
app/frontend/images/game/background.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 19 KiB |
BIN
app/frontend/images/game/logo.png
Normal file
BIN
app/frontend/images/game/logo.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 4.5 KiB |
24
app/models/onboarding_scenarios/game.rb
Normal file
24
app/models/onboarding_scenarios/game.rb
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
module OnboardingScenarios
|
||||
class Game < Base
|
||||
def self.slug = "game"
|
||||
|
||||
def title = "Welcome to The Game!"
|
||||
|
||||
def form_fields
|
||||
[ :first_name, :last_name, :primary_email, :birthday, :country ]
|
||||
end
|
||||
|
||||
def slack_user_type = :multi_channel_guest
|
||||
|
||||
def slack_channels = chans(:hack_club_the_game, :hctg_bulletin, :hctg_help, :welcome_to_hack_club)
|
||||
|
||||
def slack_onboarding_flow = :internal_tutorial
|
||||
|
||||
def next_action = :home
|
||||
|
||||
def logo_path = "images/game/logo.png"
|
||||
def background_path = "images/game/background.png"
|
||||
|
||||
def card_attributes = { wide_logo: true }
|
||||
end
|
||||
end
|
||||
|
|
@ -46,3 +46,6 @@ shared:
|
|||
fallout: C037157AL30
|
||||
fallout_bulletin: C0ACG0XQWGN
|
||||
fallout_help: C0ACJ290090
|
||||
hack_club_the_game: C088DT8P7B8
|
||||
hctg_bulletin: C0A7HQZFFNX
|
||||
hctg_help: C0A9XULS1SL
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue