mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-15 14:18:04 +08:00
Update links from graphite.rs to graphite.art
This commit is contained in:
@@ -3,15 +3,15 @@ name = "graphite-editor"
|
||||
publish = false
|
||||
version = "0.0.0"
|
||||
rust-version = "1.88"
|
||||
authors = ["Graphite Authors <contact@graphite.rs>"]
|
||||
authors = ["Graphite Authors <contact@graphite.art>"]
|
||||
edition = "2024"
|
||||
readme = "../README.md"
|
||||
homepage = "https://graphite.rs"
|
||||
homepage = "https://graphite.art"
|
||||
repository = "https://github.com/GraphiteEditor/Graphite"
|
||||
license = "Apache-2.0"
|
||||
|
||||
[features]
|
||||
default = ["wasm", "gpu" ]
|
||||
default = ["wasm", "gpu"]
|
||||
wasm = ["wasm-bindgen", "graphene-std/wasm"]
|
||||
gpu = ["interpreted-executor/gpu", "wgpu-executor"]
|
||||
|
||||
@@ -56,4 +56,3 @@ wasm-bindgen = { workspace = true, optional = true }
|
||||
env_logger = { workspace = true }
|
||||
futures = { workspace = true }
|
||||
tokio = { workspace = true }
|
||||
|
||||
|
||||
@@ -20,9 +20,9 @@ impl DialogLayoutHolder for AboutGraphiteDialog {
|
||||
|
||||
fn layout_column_2(&self) -> Layout {
|
||||
let links = [
|
||||
("Heart", "Donate", "https://graphite.rs/donate/"),
|
||||
("GraphiteLogo", "Website", "https://graphite.rs"),
|
||||
("Volunteer", "Volunteer", "https://graphite.rs/volunteer/"),
|
||||
("Heart", "Donate", "https://graphite.art/donate/"),
|
||||
("GraphiteLogo", "Website", "https://graphite.art"),
|
||||
("Volunteer", "Volunteer", "https://graphite.art/volunteer/"),
|
||||
("Credits", "Credits", "https://github.com/GraphiteEditor/Graphite/graphs/contributors"),
|
||||
];
|
||||
let mut widgets = links
|
||||
|
||||
@@ -20,7 +20,7 @@ impl DialogLayoutHolder for LicensesDialog {
|
||||
let button_definitions: &[(&str, &str, fn() -> Message)] = &[
|
||||
("GraphiteLogo", "Graphite Logo", || {
|
||||
FrontendMessage::TriggerVisitLink {
|
||||
url: "https://graphite.rs/logo/".into(),
|
||||
url: "https://graphite.art/logo/".into(),
|
||||
}
|
||||
.into()
|
||||
}),
|
||||
@@ -32,7 +32,7 @@ impl DialogLayoutHolder for LicensesDialog {
|
||||
}),
|
||||
("License", "Graphite License", || {
|
||||
FrontendMessage::TriggerVisitLink {
|
||||
url: "https://graphite.rs/license/".into(),
|
||||
url: "https://graphite.art/license/".into(),
|
||||
}
|
||||
.into()
|
||||
}),
|
||||
|
||||
@@ -77,7 +77,7 @@ impl LayoutHolder for MenuBarMessageHandler {
|
||||
.label("")
|
||||
.flush(true)
|
||||
.icon(Some("GraphiteLogo".into()))
|
||||
.on_commit(|_| FrontendMessage::TriggerVisitLink { url: "https://graphite.rs".into() }.into())
|
||||
.on_commit(|_| FrontendMessage::TriggerVisitLink { url: "https://graphite.art".into() }.into())
|
||||
.widget_instance(),
|
||||
#[cfg(target_os = "macos")]
|
||||
TextButton::new("Graphite")
|
||||
@@ -652,13 +652,13 @@ impl LayoutHolder for MenuBarMessageHandler {
|
||||
vec![
|
||||
MenuListEntry::new("Donate to Graphite").label("Donate to Graphite").icon("Heart").on_commit(|_| {
|
||||
FrontendMessage::TriggerVisitLink {
|
||||
url: "https://graphite.rs/donate/".into(),
|
||||
url: "https://graphite.art/donate/".into(),
|
||||
}
|
||||
.into()
|
||||
}),
|
||||
MenuListEntry::new("User Manual").label("User Manual").icon("UserManual").on_commit(|_| {
|
||||
FrontendMessage::TriggerVisitLink {
|
||||
url: "https://graphite.rs/learn/".into(),
|
||||
url: "https://graphite.art/learn/".into(),
|
||||
}
|
||||
.into()
|
||||
}),
|
||||
|
||||
@@ -894,7 +894,7 @@ impl MessageHandler<PortfolioMessage, PortfolioMessageContext<'_>> for Portfolio
|
||||
}
|
||||
}
|
||||
PortfolioMessage::RequestWelcomeScreenButtonsLayout => {
|
||||
let donate = "https://graphite.rs/donate/";
|
||||
let donate = "https://graphite.art/donate/";
|
||||
|
||||
let table = LayoutGroup::Table {
|
||||
unstyled: true,
|
||||
|
||||
Reference in New Issue
Block a user