diff --git a/.github/workflows/website.yml b/.github/workflows/website.yml index fc9a2f117..1078cf9ea 100644 --- a/.github/workflows/website.yml +++ b/.github/workflows/website.yml @@ -40,7 +40,7 @@ jobs: - name: 🌐 Build Graphite website with Zola run: | cd website - zola build + zola --config config_prod.toml build - name: 🔍 Check if `website/other` directory changed uses: dorny/paths-filter@v3 diff --git a/Cargo.toml b/Cargo.toml index 610a81fcf..ddadae57a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -63,7 +63,7 @@ spirv-std = { git = "https://github.com/Rust-GPU/rust-gpu.git" } wgpu-types = "23" wgpu = "23" once_cell = "1.13" # Remove when `core::cell::LazyCell` () is stabilized in Rust 1.80 and we bump our MSRV -wasm-bindgen = "=0.2.99" # NOTICE: ensure this stays in sync with the `wasm-bindgen-cli` version in `website/content/volunteer/guide/getting-started/_index.md`. We pin this version because wasm-bindgen upgrades may break various things. +wasm-bindgen = "=0.2.99" # NOTICE: ensure this stays in sync with the `wasm-bindgen-cli` version in `website/content/volunteer/guide/project-setup/_index.md`. We pin this version because wasm-bindgen upgrades may break various things. wasm-bindgen-futures = "0.4" js-sys = "=0.3.76" web-sys = "=0.3.76" diff --git a/frontend/assets/LICENSE.md b/frontend/assets/LICENSE.md index b2ef7217e..0d2e4c34c 100644 --- a/frontend/assets/LICENSE.md +++ b/frontend/assets/LICENSE.md @@ -1,4 +1,4 @@ -Copyright (c) 2021-2023 Graphite Labs, LLC. +Copyright (c) 2021-2025 Graphite Labs, LLC. The design assets in this directory (including SVG code for icons and logos) are NOT licensed under the Apache 2.0 license terms applied to other Graphite source code files. This directory and its entire contents are excluded from the Apache 2.0 source code license, and full copyright is held by the rightsholder for the creative works contained as files herein. diff --git a/website/config.toml b/website/config.toml index 1de773a45..3234f68f9 100644 --- a/website/config.toml +++ b/website/config.toml @@ -1,19 +1,17 @@ -# The URL the site will be built for -base_url = "https://graphite.rs" - -# Whether to automatically compile all Sass files in the sass directory -compile_sass = true - title = "Graphite" description = "2D raster & vector editor that melds traditional layers & tools with a modern node-based procedural workflow." +base_url = "https://graphite.rs" feed_filenames = ["rss.xml"] +compile_sass = true +minify_html = false + [markdown] -# Whether to do syntax highlighting -# Theme can be customized by setting the `highlight_theme` variable to a theme supported by Zola highlight_code = true highlight_theme = "css" -highlight_themes_css = [{ theme = "kronuz", filename = "syntax-highlighting.css" }] +highlight_themes_css = [ + { theme = "kronuz", filename = "syntax-highlighting.css" }, +] [extra] # Put all your custom variables here diff --git a/website/config_prod.toml b/website/config_prod.toml new file mode 100644 index 000000000..9287f64b3 --- /dev/null +++ b/website/config_prod.toml @@ -0,0 +1,17 @@ +title = "Graphite" +description = "2D raster & vector editor that melds traditional layers & tools with a modern node-based procedural workflow." +base_url = "https://graphite.rs" +feed_filenames = ["rss.xml"] + +compile_sass = true +minify_html = true + +[markdown] +highlight_code = true +highlight_theme = "css" +highlight_themes_css = [ + { theme = "kronuz", filename = "syntax-highlighting.css" }, +] + +[extra] +# Put all your custom variables here diff --git a/website/content/_index.md b/website/content/_index.md index bfa2106e3..359a4cef8 100644 --- a/website/content/_index.md +++ b/website/content/_index.md @@ -1,10 +1,11 @@ +++ -title = "Web-based vector graphics editor and design tool" +title = "Free online vector editor & procedural design tool" template = "section.html" [extra] -css = ["index.css"] -js = ["image-interaction.js", "video-embed.js"] +css_inline = ["index.css"] +js = ["carousel.js", "youtube-embed.js", "video-autoplay.js"] +meta_description = "Open source free software. A vector graphics creativity suite with a clean, intuitive interface. Opens instantly (no signup) and runs locally in a browser. Exports SVG, PNG, JPG." +++ @@ -21,7 +22,7 @@ js = ["image-interaction.js", "video-embed.js"]

Your procedural toolbox for 2D content creation

-

Graphite is a free, open source vector and raster graphics engine, available now in alpha. Get creative with a nondestructive editing workflow that combines layer-based compositing with node-based generative design.

+

Graphite is a free, open source vector and raster graphics editor, available now in alpha. Get creative with a nondestructive editing workflow that combines layer-based compositing with node-based generative design.

@@ -95,7 +96,7 @@ js = ["image-interaction.js", "video-embed.js"]