2026-01-28 17:01:28 +05:30
|
|
|
const std = @import("std");
|
|
|
|
|
const helpers = @import("helpers.zig");
|
|
|
|
|
|
|
|
|
|
pub const Data = struct {};
|
|
|
|
|
|
|
|
|
|
pub fn render(allocator: std.mem.Allocator, _: Data) ![]const u8 {
|
2026-01-29 22:50:52 +05:30
|
|
|
var buf: std.ArrayList(u8) = .{};
|
2026-01-28 17:01:28 +05:30
|
|
|
defer buf.deinit(allocator);
|
|
|
|
|
|
|
|
|
|
try buf.appendSlice(allocator, "<div class=\"'friend'\"><h3>friend_name</h3><p>friend_email</p><p>friend_about</p><span class=\"'tag'\">tag_value</span></div>");
|
|
|
|
|
|
|
|
|
|
return buf.toOwnedSlice(allocator);
|
|
|
|
|
}
|