pub fn Page(allocator: zx.Allocator) zx.Component {
    const user_type: UserType = .admin;
    const admin_users = [_][]const u8{ "John", "Jane" };
    const member_users = [_][]const u8{ "Jim", "Jill" };
    return (
        <main @allocator={allocator}>
            {switch (user_type) {
                .admin => for (admin_users) |name| (
                    <p>
                        <p>
                            <div>
                                {name}
                            </div>
                        </p> 
                    </p>
                ),
                .member => for (member_users) |name| (
                    <p>
                        <div>
                            {name}
                        </div>
                        {name}
                    </p>
                ),
            }}
        </main>
    );
}

const zx = @import("zx");

const UserType = enum { admin, member };
