Created
September 17, 2021 18:42
-
-
Save robertpenner/d9bafe40cec028c76e1b4f328d13bdc5 to your computer and use it in GitHub Desktop.
Generated by XState Viz: https://xstate.js.org/viz
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const machine = Machine({ | |
id: "Main Navigation - Deep", | |
meta: { description: "5 pages with dedicated buttons" }, | |
initial: "YourTOUR", | |
states: { | |
YourTOUR: {}, | |
Discover: { | |
initial: "News", | |
states: { | |
News: {}, | |
Schedule: { | |
initial: "Upcoming", | |
states: { | |
Upcoming: {}, | |
Completed: {}, | |
}, | |
}, | |
Standings: {}, | |
Players: {}, | |
Stats: {}, | |
}, | |
}, | |
Leaderboard: { | |
initial: "Leaderboard", | |
states: { | |
Leaderboard: { | |
type: 'parallel', | |
states: { | |
'[A Pro Tournament]': {}, | |
'[A Pro-Am Tournament]': { | |
initial: 'Pro', | |
states: { | |
Pro: {}, | |
'[Amateur Categories]': {}, | |
}, | |
}, | |
}, | |
}, | |
"Tee Times": { | |
type: 'parallel', | |
states: { | |
'[A Tournament]': { | |
initial: 'Round 1', | |
states: { | |
'Round 1': {}, | |
'Round 2': {}, | |
'Round 3': {}, | |
'Round 4': {}, | |
}, | |
}, | |
}, | |
}, | |
FedExCup: {}, | |
Odds: { | |
initial: 'Unavailable', | |
states: { | |
Unavailable: {}, | |
'To Win': {}, | |
Matchups: { | |
initial: '3 Ball – DHR – R1', | |
states: { | |
'3 Ball – DHR – R1': {}, | |
'2 Ball – DHR – R1': {}, | |
'H2H – DHR – F': {}, | |
} | |
}, | |
Finishes: { | |
initial: 'Top 5', | |
states: { | |
'Top 5': {}, | |
'Top 10': {}, | |
'Top 20': {}, | |
}, | |
}, | |
Groups: {}, | |
Players: { | |
initial: 'Make the Cut', | |
states: { | |
'Make the Cut': {}, | |
'Leader After R1': {} | |
} | |
}, | |
Nationality: { | |
initial: 'USA', | |
states: { | |
USA: {}, | |
Asian: {}, | |
Australian: {}, | |
British: {}, | |
Canadian: {}, | |
} | |
}, | |
Compare: { | |
initial: 'FanDuel', | |
states: { | |
FanDuel: {}, | |
BetMGM: {}, | |
DraftKings: {}, | |
SportsBet: {}, | |
History: {}, | |
} | |
} | |
} | |
}, | |
}, | |
}, | |
Watch: {}, | |
Search: {}, | |
}, | |
}); | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment