- demo build fix.

- README changes for bench values.
This commit is contained in:
2026-01-28 19:38:59 +05:30
parent 8db2e0df37
commit e2025d7de8
4 changed files with 172 additions and 67 deletions

View File

@@ -242,8 +242,7 @@ fn home(app: *App, _: *httpz.Request, res: *httpz.Response) !void {
break :blk try templates.pages_home.render(res.arena, .{
.title = "Home",
.cartCount = "2",
.authenticated = true,
.items = sample_products,
.authenticated = "true",
});
} else app.view.render(res.arena, "pages/home", .{
.title = "Home",
@@ -315,7 +314,6 @@ fn cart(app: *App, _: *httpz.Request, res: *httpz.Response) !void {
.subtotal = sample_cart.subtotal,
.tax = sample_cart.tax,
.total = sample_cart.total,
.cartItems = &sample_cart_items,
});
} else app.view.render(res.arena, "pages/cart", .{
.title = "Shopping Cart",