def not_found() -> Div: """ Returns the 404 page not found page """ return Container([ Row([ Col([ H1('404 Page not found'), internal_link('Home', href='/'), ]) ]) ])
def index() -> Div: ''' Returns the app index page ''' return Container([ Row([ Col([ H1('Welcome to the Index Page'), P('You can visit a second page by' ' clicking the link below'), internal_link('Hello Page', href='/hello'), ]) ]) ])
def hello() -> Div: ''' Returns the hello page ''' return Container([ Row([ Col([ H1('Hello, World!'), Br(), Input(id='hello_input', value='', type='text', placeholder='Enter name', debounce=True), Br(), Div(id='hello_output'), internal_link('Home', href='/'), ]) ]) ])