mirror of
https://github.com/storytold/effectcraft.git
synced 2026-10-27 03:28:22 -06:00
- paint_logo draws docs/brand/artcraft-mark.png (the README's / getartcraft.com's ArtCraft mark) as supplied, decoded once into a mipmapped texture, instead of a drawn placeholder. - The "More ArtCraft apps" sibling and help.sibling named DrawCraft (storytold/drawcraft, which doesn't exist): it is VectorCraft (storytold/vectorcraft); provenance comments in the path crate follow. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
28 lines
1.0 KiB
Rust
28 lines
1.0 KiB
Rust
//! Community and project links (shown in Help ▸, the About dialog, the start screen and the
|
|
//! header's Discord button).
|
|
|
|
pub const APP_NAME: &str = "EffectCraft";
|
|
pub const APP_SLUG: &str = "effectcraft";
|
|
pub const DISCORD: &str = "https://discord.gg/artcraft";
|
|
pub const WEBSITE: &str = "https://getartcraft.com";
|
|
pub const APP_PAGE: &str = "https://getartcraft.com/apps/effectcraft";
|
|
pub const GITHUB: &str = "https://github.com/storytold/effectcraft";
|
|
pub const ISSUES: &str = "https://github.com/storytold/effectcraft/issues";
|
|
|
|
/// Sibling apps of the ArtCraft family: (name, what it is, GitHub repo, app page).
|
|
pub const SIBLINGS: &[(&str, &str)] = &[
|
|
("PhotoCraft", "photocraft"),
|
|
("VectorCraft", "vectorcraft"),
|
|
("FilmCraft", "filmcraft"),
|
|
("LightCraft", "lightcraft"),
|
|
("PrintCraft", "printcraft"),
|
|
("DesignCraft", "designcraft"),
|
|
];
|
|
|
|
pub fn github_of(slug: &str) -> String {
|
|
format!("https://github.com/storytold/{slug}")
|
|
}
|
|
pub fn page_of(slug: &str) -> String {
|
|
format!("https://getartcraft.com/apps/{slug}")
|
|
}
|