add(Header): social links: github and mail links
This commit is contained in:
@@ -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
|
/// Update loop for a given widget to react to the provided `Event`. It may
|
||||||
|
|||||||
Reference in New Issue
Block a user