pub fn Page(allocator: zx.Allocator) zx.Component {
    const user_type: UserType = .admin;
    return (
        <main @allocator={allocator}>
            {switch (user_type) {
                .admin => (
                    <div>
                        <p>Admin</p>
                    </div>
                ),
                .member => (
                    <div>
                        <p>Member</p>
                    </div>
                ),
            }}
        </main>
    );
}

const zx = @import("zx");

const UserType = enum { admin, member };
