add(Header): social links: github and mail links

This commit is contained in:
2024-10-17 16:34:37 +02:00
parent b1257fd490
commit d876936ff7

View File

@@ -61,7 +61,22 @@ fn fillView(this: *@This()) void {
}
}
// TODO: github icon, discord icon, mail icon with corresponding links to contact me
// github
{
const cell: vaxis.Cell = .{
.link = .{ .uri = "https://github.com/yves-biener" },
.char = .{ .grapheme = "github" },
};
this.view.?.writeCell(this.view.?.screen.width - 9, 0, cell);
}
// mail
{
const cell: vaxis.Cell = .{
.link = .{ .uri = "mailto:yves.biener@gmx.de" },
.char = .{ .grapheme = "mail" },
};
this.view.?.writeCell(this.view.?.screen.width - 16, 0, cell);
}
}
/// Update loop for a given widget to react to the provided `Event`. It may