goblin: point changelog third link to docs.goblin.st and rebrand startup log
Repoint the changelog modal's third button to https://docs.goblin.st (the docs/reference destination; GitHub button already covers source) and swap its code-brackets glyph for the BOOK icon so it reads as a docs link. Rebrand the startup version-announcement log line from "Grim" to "Goblin".
This commit is contained in:
@@ -16,7 +16,7 @@ use egui::scroll_area::ScrollBarVisibility;
|
||||
use egui::{Id, OpenUrl, RichText, ScrollArea};
|
||||
|
||||
use crate::gui::Colors;
|
||||
use crate::gui::icons::{BRACKETS_CURLY, GITHUB_LOGO, TELEGRAM_LOGO};
|
||||
use crate::gui::icons::{BOOK, GITHUB_LOGO, TELEGRAM_LOGO};
|
||||
use crate::gui::views::{Modal, View};
|
||||
|
||||
/// Application release changelog content.
|
||||
@@ -30,7 +30,7 @@ const GITHUB_URL: &'static str = "https://github.com/2ro/goblin";
|
||||
/// Endpoint for Telegram releases channel.
|
||||
const TELEGRAM_URL: &'static str = "https://t.me/goblinfamily";
|
||||
/// Endpoint for project website.
|
||||
const GIT_URL: &'static str = "https://goblin.st";
|
||||
const GIT_URL: &'static str = "https://docs.goblin.st";
|
||||
|
||||
impl ChangelogContent {
|
||||
/// Create new content instance.
|
||||
@@ -114,7 +114,7 @@ impl ChangelogContent {
|
||||
columns[2].vertical_centered_justified(|ui| {
|
||||
// Draw button to open repository link.
|
||||
let mut git_clicked = false;
|
||||
View::button(ui, BRACKETS_CURLY, Colors::white_or_black(false), || {
|
||||
View::button(ui, BOOK, Colors::white_or_black(false), || {
|
||||
git_clicked = true;
|
||||
});
|
||||
if git_clicked {
|
||||
|
||||
+1
-1
@@ -114,7 +114,7 @@ pub fn init_logger() {
|
||||
/// Get information about application build.
|
||||
fn build_info() -> String {
|
||||
format!(
|
||||
"This is Grim version {}, built for {} by {}.",
|
||||
"This is Goblin version {}, built for {} by {}.",
|
||||
built_info::PKG_VERSION,
|
||||
built_info::TARGET,
|
||||
built_info::RUSTC_VERSION,
|
||||
|
||||
Reference in New Issue
Block a user