Skip to content

Commit

Permalink
Add Red Dress demo artwork
Browse files Browse the repository at this point in the history
  • Loading branch information
Keavon committed Feb 5, 2024
1 parent e1735dd commit 12e16b9
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions demo-artwork/red-dress.graphite

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,9 @@ use crate::messages::prelude::*;
pub struct DemoArtworkDialog;

/// `(name, thumbnail, filename)`
const ARTWORK: [(&str, &str, &str); 3] = [
const ARTWORK: [(&str, &str, &str); 4] = [
("Valley of Spires", "ThumbnailValleyOfSpires", "valley-of-spires.graphite"),
("Red Dress", "ThumbnailRedDress", "red-dress.graphite"),
("Just a Potted Cactus", "ThumbnailJustAPottedCactus", "just-a-potted-cactus.graphite"),
("Procedural String Lights", "ThumbnailProceduralStringLights", "procedural-string-lights.graphite"),
];
Expand Down
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions frontend/src/utility-functions/images.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,14 @@
// Demo artwork
import ThumbnailJustAPottedCactus from "@graphite-frontend/assets/images/demo-artwork/thumbnail-just-a-potted-cactus.png";
import ThumbnailProceduralStringLights from "@graphite-frontend/assets/images/demo-artwork/thumbnail-procedural-string-lights.png";
import ThumbnailRedDress from "@graphite-frontend/assets/images/demo-artwork/thumbnail-red-dress.png";
import ThumbnailValleyOfSpires from "@graphite-frontend/assets/images/demo-artwork/thumbnail-valley-of-spires.png";

const DEMO_ARTWORK = {
ThumbnailJustAPottedCactus,
ThumbnailProceduralStringLights,
ThumbnailValleyOfSpires,
ThumbnailRedDress,
} as const;

// All images
Expand Down

0 comments on commit 12e16b9

Please sign in to comment.