diff --git a/frontend/src/wasm-communication/editor.ts b/frontend/src/wasm-communication/editor.ts index bcfd3f94..7839fb19 100644 --- a/frontend/src/wasm-communication/editor.ts +++ b/frontend/src/wasm-communication/editor.ts @@ -101,6 +101,9 @@ export function createEditor() { const filename = url.pathname.split("/").pop() || "Untitled"; const content = await data.text(); instance.openDocumentFile(filename, content); + + // Remove the hash fragment from the URL + window.location.hash = ""; } catch {} })(); diff --git a/website/content/_index.md b/website/content/_index.md index ad90801e..42fa9609 100644 --- a/website/content/_index.md +++ b/website/content/_index.md @@ -100,7 +100,7 @@ js = ["/image-interaction.js", "/fundraising.js"]

- Valley of SpiresDownload the artwork and open it in this previous version of the Graphite editor. + Valley of SpiresOpen this artwork to explore it yourself.

Design mockup for the work-in-progress node graph raster editing pipeline. Some raster nodes shown here are not implemented yet. @@ -264,17 +264,17 @@ Style your shapes with strokes, fills, and gradients. Mix your layers with blend

-
- Vector art of Just of Potted Cactus +
+ + Vector art of Just of Potted Cactus +

Just a Potted Cactus
- Download - the artwork and open it in the - Graphite editor + Open this artwork to explore it yourself.

diff --git a/website/sass/index.scss b/website/sass/index.scss index 37a2850a..2d2dbc9a 100644 --- a/website/sass/index.scss +++ b/website/sass/index.scss @@ -258,7 +258,7 @@ .section { align-items: center; - .download-artwork { + .demo-artwork { display: flex; align-items: center; margin-top: 20px;