pub fn Page(allocator: zx.Allocator) zx.Component {
    const users = [_]struct { name: []const u8, is_active: bool }{
        .{ .name = "John", .is_active = true },
        .{ .name = "Jane", .is_active = false },
        .{ .name = "Jim", .is_active = true },
    };
    return (
        <main @allocator={allocator}>
            {for (users) |user| (
                if (user.is_active) (
                    <p>{user.name} (Active)</p>
                ) else (
                    <p>{user.name} (Inactive)</p>
                )
            )}
        </main>
    );
}

const zx = @import("zx");
