Skip to content

Instantly share code, notes, and snippets.

@jaredpalmer
Created July 10, 2018 15:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jaredpalmer/59f0a0327e22300ab9f97fe29c1b8121 to your computer and use it in GitHub Desktop.
Save jaredpalmer/59f0a0327e22300ab9f97fe29c1b8121 to your computer and use it in GitHub Desktop.
Landing Page
Landing Page
Member
click purchase 99 button -> Members Checkout
click already subscribed -> Member Login
Non Member*
click purchase 649 button -> Prospect Signup
click purchase as a member button -> Member Login
click already subscribed -> Member Login
Member Login
already logged in -> Members Checkout
From Landing Page
success -> Members Checkout
Members Checkout
back -> Landing Page
purchase -> Wiki
Prospect Signup
back -> Landing Page
purchase -> Wiki
Wiki
back -> Landing Page
Logged In
has wiki access -> Wiki
no wiki access -> Landing Page
Logged Out
redirect -> Landing Page
function render(model){
let current_state_name = model.active_states[0].name;
return $("h1",
{style: {color: "darkBlue"}},
`The current state is: ${current_state_name}`);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment