def index_page() -> ComponentCallable:
    """An index page.

    Returns:
        The index page.
    """

    def index():
        return rx.box("Index")

    return index
An index page.

    Returns:
        The index page.
    
tests/units/test_app.py