diff --git a/src/widget/Header.zig b/src/widget/Header.zig index c2c2989..99e134e 100644 --- a/src/widget/Header.zig +++ b/src/widget/Header.zig @@ -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