Skip to content
Merged
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 added app/frontend/images/athena/athenaLogo.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/athena/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.
28 changes: 28 additions & 0 deletions app/models/onboarding_scenarios/athena.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
module OnboardingScenarios
class Athena < Base
def self.slug = "athena"

def title = "join the athena community!"

def form_fields = [ :first_name, :last_name, :primary_email, :birthday, :country ]

def slack_user_type = :full_member

def slack_onboarding_flow = :internal_tutorial
def slack_channels = chans(:athena_initiative, :welcome_to_athena, :athena_announcements)

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
def slack_user_type = :full_member

def next_action = :slack

def logo_path = "images/athena/athenaLogo.png"
def background_path = "images/athena/bg-img.png"
def dark_mode_background_path = "images/athena/bg-img.png"

def first_step = :welcome

def dialogue_flow
{
welcome: { template: "tutorial/athena/intro", next: nil }
}
end
end
end
9 changes: 9 additions & 0 deletions app/views/slack/tutorial/athena/intro.slack_message.slocks
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
chan_welcome = Rails.configuration.slack_channels[:welcome_to_athena]

section <<~TEXT, markdown: true
Welcome to the Athena Initiative!

Send a message in <##{chan_welcome}> introducing yourself and why you joined, we'd love to hear from you :)

We take our <https://hackclub.com/conduct|Code of Conduct> seriously - please give it a read.
TEXT
5 changes: 4 additions & 1 deletion config/slack_channels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,9 @@ shared:
sunbeam: C0BERFPEKQU
sunbeam_help: C0BEJF0K8G5
sunbeam_announcements: C0BESH8NYDU
athena_initiative: C06T17NQB0B
welcome_to_athena: C0BLVTFNKGE
athena_announcements: C0BLUJDU0G5
help: C07TM4C0AQ5
hackachu: C0BFWNU7V4M
hackachu_announcements: C0BGUGKKTNU
Expand All @@ -85,4 +88,4 @@ shared:
ysws: C0710J7F4U9
leaders: C02PA5G01ND
leaders_bulletin: C0AQ1CG4JLD
news_wire: C0BJ6LTLAFJ
news_wire: C0BJ6LTLAFJ