screen Login {
field "Username: "
field "Password: "
button "Log In" -> Main
}
screen Main {
button "Go to Profile" -> Profile
button "Log Out" -> Login
}
screen Profile {
label "This is some sample text that should go on this screen"
button "Go to Main" -> Main
}
screen Friends {
button "Friend Summary" -> FriendDetails
}
screen FriendDetails {
component "Friend Summary"
component "Mutual Friends List"
if "Friend has photos" {
button "Photos" -> Photos
} else {
button "Tag in photos" -> TagInPhotos
}
}
screen TagInPhotos {
if "If statement without an Else" {
// button "Do something" -> Profile
}