Skip to content

Commit

Permalink
Add a nicer link to Github
Browse files Browse the repository at this point in the history
  • Loading branch information
laffra committed Nov 15, 2023
1 parent dc04d31 commit 82998b6
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions kitchen.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,13 @@ def setsource(src):
).attr("name", example.attr("name"))
for file, example in examples.items
).css("margin-bottom", 24),
ltk.Link("https://github.com/laffra/ltk", ltk.Text("source"))
.attr("target", "_blank")
ltk.Link(
"https://github.com/laffra/ltk",
ltk.HBox(
ltk.Image("https://github.com/favicon.ico").width(20),
ltk.Text("See the LTK project at Github")
)
).attr("target", "_blank")
)
.css("width", 1300)
.css("margin", "auto")
Expand Down

0 comments on commit 82998b6

Please sign in to comment.