Skip to content

Commit

Permalink
๐Ÿ›(UI): update hyperlinks in app.rs
Browse files Browse the repository at this point in the history
Updated the hyperlinks in the 'app.rs' file for better usability. The "Web Version" link now directs to the correct homepage while the "Github" link correctly uses the environment's package homepage.

Signed-off-by: Benign X <[email protected]>
  • Loading branch information
W-Mai committed Nov 21, 2023
1 parent 912fca1 commit c7b02ee
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/app.rs
Original file line number Diff line number Diff line change
Expand Up @@ -349,8 +349,11 @@ impl MainApp {
ui.separator();
ui.with_layout(egui::Layout::right_to_left(egui::Align::Center), |ui| {
ui.label(format!("Version: {VERSION}"));
ui.hyperlink_to("๐ŸŒWeb Version", env!("CARGO_PKG_HOMEPAGE"));
ui.hyperlink_to(format!("{GITHUB} vegravis on GitHub"), "https://w-mai");
ui.hyperlink_to("๐ŸŒWeb Version", "https://w-mai.github.io/vegravis/");
ui.hyperlink_to(
format!("{GITHUB} vegravis on GitHub"),
env!("CARGO_PKG_HOMEPAGE"),
);
});
});
}
Expand Down

0 comments on commit c7b02ee

Please sign in to comment.