Skip to content

Commit ae2637e

Browse files
committed
More website loading speed and code improvements
1 parent 68e6bec commit ae2637e

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

44 files changed

+833
-898
lines changed

website/content/_index.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title = "Free online vector editor & procedural design tool"
33
template = "section.html"
44

55
[extra]
6-
css = ["/index.css", "/balance-text.css"]
6+
css = ["/page/index.css", "/component/carousel.css", "/component/feature-icons.css", "/component/feature-box.css", "/component/youtube-embed.css", "/layout/balance-text.css"]
77
js = ["/js/carousel.js", "/js/youtube-embed.js", "/js/video-autoplay.js"]
88
linked_js = ["https://static.graphite.rs/text-balancer/text-balancer.js"]
99
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."
@@ -456,8 +456,8 @@ Get started with Graphite by following along to a hands-on quickstart tutorial.
456456

457457
<div class="block video-container">
458458
<div>
459-
<div class="video-embed aspect-16x9">
460-
<img data-video-embed="7gjUhl_3X10" loading="lazy" src="https://static.graphite.rs/content/index/tutorial-1-youtube.avif" onerror="this.onerror = null; this.src = this.src.replace('.avif', '.png')" alt="Graphite Tutorial 1 - Hands-On Quickstart" />
459+
<div class="youtube-embed aspect-16x9">
460+
<img data-youtube-embed="7gjUhl_3X10" loading="lazy" src="https://static.graphite.rs/content/index/tutorial-1-youtube.avif" onerror="this.onerror = null; this.src = this.src.replace('.avif', '.png')" alt="Graphite Tutorial 1 - Hands-On Quickstart" />
461461
</div>
462462
</div>
463463
</div>
@@ -493,8 +493,8 @@ Get started with Graphite by following along to a hands-on quickstart tutorial.
493493
<section id="demo-video">
494494
<div class="block">
495495
Watch this timelapse showing the process of mixing traditional vector art (tracing a physical sketch and colorizing it, first two minutes) with using Imaginate to generate a background (last 45 seconds).
496-
<div class="video-embed aspect-16x9">
497-
<img data-video-embed="JgJvAHQLnXA" src="https://static.graphite.rs/content/index/commander-basstronaut-youtube.avif" onerror="this.onerror = null; this.src = this.src.replace('.avif', '.png')" alt="Graphite - Vector Editing: &quot;Commander Basstronaut&quot; Artwork (25x Timelapse)" />
496+
<div class="youtube-embed aspect-16x9">
497+
<img data-youtube-embed="JgJvAHQLnXA" src="https://static.graphite.rs/content/index/commander-basstronaut-youtube.avif" onerror="this.onerror = null; this.src = this.src.replace('.avif', '.png')" alt="Graphite - Vector Editing: &quot;Commander Basstronaut&quot; Artwork (25x Timelapse)" />
498498
</div>
499499
(Recorded in an older version of Graphite from early 2023.)
500500
</div>

website/content/about.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title = "About Graphite"
33

44
[extra]
5-
css = ["/about.css"]
5+
css = ["/page/about.css", "/component/feature-box.css"]
66
linked_css = ["https://fonts.googleapis.com/css2?family=Noto+Color+Emoji&display=swap"]
77
+++
88

@@ -117,7 +117,7 @@ It's easy to learn and teach, yet Graphite's accessible design does not sacrific
117117

118118
<img src="https://static.graphite.rs/content/about/core-team-photo-keavon-chambers.avif" onerror="this.onerror = null; this.src = this.src.replace('.avif', '.png')" alt="Photo of Keavon Chambers" />
119119

120-
## Keavon Chambers <span class="handle">(@Keavon)</span> <span class="emoji" title="American">🇺🇸</span>
120+
## Keavon Chambers <span class="handle">(@Keavon)</span> <span class="flag" title="American">🇺🇸</span>
121121

122122
***Founder, UI & product design, frontend, editor systems***
123123

@@ -128,7 +128,7 @@ Keavon is a creative generalist with a love for the fusion of arts and technolog
128128

129129
<img src="https://static.graphite.rs/content/about/core-team-photo-dennis-kobert.avif" onerror="this.onerror = null; this.src = this.src.replace('.avif', '.png')" alt="Photo of Dennis Kobert" />
130130

131-
## Dennis Kobert <span class="handle">(@TrueDoctor)</span> <span class="emoji" title="German">🇩🇪</span>
131+
## Dennis Kobert <span class="handle">(@TrueDoctor)</span> <span class="flag" title="German">🇩🇪</span>
132132

133133
***Graphene node engine, research, architecture***
134134

@@ -143,7 +143,7 @@ Dennis is a mix between a mathematician and a mad scientist. While still enjoyin
143143

144144
<img src="https://static.graphite.rs/content/about/core-team-photo-hypercube__2.avif" onerror="this.onerror = null; this.src = this.src.replace('.avif', '.png')" alt="Photo of Hypercube" />
145145

146-
## "Hypercube" <span class="handle">(@0Hypercube)</span> <span class="emoji" title="British">🇬🇧</span>
146+
## "Hypercube" <span class="handle">(@0Hypercube)</span> <span class="flag" title="British">🇬🇧</span>
147147

148148
***Editor systems, nodes, tools, architecture***
149149

@@ -155,7 +155,7 @@ Dennis is a mix between a mathematician and a mad scientist. While still enjoyin
155155

156156
<img src="https://static.graphite.rs/content/about/core-team-photo-adam-gerhant.avif" onerror="this.onerror = null; this.src = this.src.replace('.avif', '.png')" alt="Photo of Adam Gerhant" />
157157

158-
## Adam Gerhant <span class="handle">(@pendapia)</span> <span class="emoji" title="American">🇺🇸</span>
158+
## Adam Gerhant <span class="handle">(@pendapia)</span> <span class="flag" title="American">🇺🇸</span>
159159

160160
***Editor graph tooling, node data formats***
161161

website/content/blog/2024-01-01-looking-back-on-2023-and-what's-next.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ reddit = "https://www.reddit.com/r/graphite/comments/18xmoti/blog_post_looking_b
1111
twitter = "https://twitter.com/GraphiteEditor/status/1742576805532577937"
1212

1313
js = ["/js/youtube-embed.js"]
14+
css = ["/component/youtube-embed.css"]
1415
+++
1516

1617
The new year is here, and with so many accomplishments to share from the past twelve months, let's revisit the highlights of 2023 for the Graphite project. Now that winter has entered, let's swing back to the spring, summarize the summer, and follow this fall's noteworthy developments that brought another year of fruitful progress to Graphite's mission of re-envisioning artists' 2D creative workflows with the best free software we can build for the open source community. This past year as a team, we all got closer— to one another from continents apart; to visiting and connecting with our industry peers; and to reaching exciting new development milestones.
@@ -92,8 +93,8 @@ The next big news of August was my formation of [Graphite Labs, LLC](https://www
9293

9394
I allocated my time at several points throughout the year into growing and evolving this website with a refreshed and more visually-appealing home page, dedicated pages for information [about](/about) the project and its [features](/features), an area providing resources and help for [volunteers](/volunteer) and [code contributors](/volunteer/guide), and just this month— a [user manual](/learn) complete with an introductory tutorial series. The first video went up yesterday:
9495

95-
<div class="video-embed aspect-16x9">
96-
<img data-video-embed="7gjUhl_3X10" src="https://static.graphite.rs/content/learn/introduction/tutorial-1-vector-art-quickstart-youtube.avif" onerror="this.onerror = null; this.src = this.src.replace('.avif', '.png')" alt="Graphite Tutorial 1 - Hands-On Quickstart" />
96+
<div class="youtube-embed aspect-16x9">
97+
<img data-youtube-embed="7gjUhl_3X10" src="https://static.graphite.rs/content/learn/introduction/tutorial-1-vector-art-quickstart-youtube.avif" onerror="this.onerror = null; this.src = this.src.replace('.avif', '.png')" alt="Graphite Tutorial 1 - Hands-On Quickstart" />
9798
</div>
9899

99100
The user manual and tutorial series will continue expanding throughout the coming weeks. Additional website features including user accounts, forums, and other community features are being planned.

website/content/blog/2024-05-09-graphite-progress-report-q1-2024.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ author = "Keavon Chambers & Hypercube"
88
summary = "Graphite's Q1 2024 update introduces a precise snapping system and a customizable grid for enhanced design control. The update also includes improved procedural scattering with the 'Copy to Points' node, demonstrated in new demo artwork."
99
reddit = "https://www.reddit.com/r/graphite/comments/1coa0if/blog_post_graphite_progress_report_q1_2024/"
1010
twitter = "https://twitter.com/GraphiteEditor/status/1788698448348266946"
11+
css = ["/component/demo-artwork.css"]
1112
+++
1213

1314
[Graphite](/) is a new 2D vector graphics editor bringing a modern, nondestructive approach to creative workflows with node-based procedural generation. The project is currently three years into development, with a focus on streamlining the creative process for procedural vector artwork. See the [roadmap](/features#roadmap) for a more in-depth summary of the goals for 2024 and beyond.

website/content/blog/2024-07-31-graphite-progress-report-q2-2024.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ author = "Keavon Chambers & Hypercube"
88
summary = "Graphite's Q2 2024 update introduces boolean path operations, a new gradient picker, layer locking, and more improvements."
99
reddit = "https://www.reddit.com/r/graphite/comments/1ei9ps2/blog_post_graphite_progress_report_q2_2024/"
1010
twitter = "https://x.com/GraphiteEditor/status/1819360794028462569"
11+
css = ["/component/demo-artwork.css"]
1112
+++
1213

1314
[Graphite](/), a new open source 2D procedural graphics editor, has spent April–June introducing **boolean path operations, a new gradient picker, layer locking**, and more improvements.

website/content/blog/2024-10-15-graphite-progress-report-q3-2024.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ author = "Keavon Chambers & Hypercube"
88
summary = "Graphite's Q3 2024 update introduces improvements to performance, node graph organization, nondestructive path editing, a new render engine, and more helpful nodes."
99
reddit = "https://www.reddit.com/r/graphite/comments/1g4h6ya/blog_post_graphite_progress_report_q3_2024/"
1010
twitter = "https://x.com/GraphiteEditor/status/1846283664562573344"
11+
css = ["/component/demo-artwork.css"]
1112
+++
1213

1314
[Graphite](/), a new open source 2D procedural graphics editor, has spent July–September building major improvements to **performance, node graph organization, nondestructive path editing, a new render engine, and more helpful nodes**, amongst over 100 other features and fixes.

website/content/contact.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
+++
22
title = "Contact the team"
3+
4+
[extra]
5+
css = ["/layout/reading-material.css"]
36
+++
47

58
<section class="reading-material">

website/content/donate.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title = "Donate"
33

44
[extra]
5-
# css = ["/donate.css", "/balance-text.css"]
5+
# css = ["/page/donate.css", "/component/feature-box.css", "/layout/balance-text.css"]
66
# js = ["/js/fundraising.js"]
77
# linked_js = ["https://static.graphite.rs/text-balancer/text-balancer.js"]
88
+++

website/content/features.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title = "Graphite features"
33

44
[extra]
5-
css = ["/features.css"]
5+
css = ["/page/features.css", "/component/feature-box.css", "/component/feature-icons.css"]
66
+++
77

88
<section>

website/content/learn/_index.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ page_template = "book.html"
66
[extra]
77
book = true
88
js = ["/js/youtube-embed.js"]
9+
css = ["/component/youtube-embed.css"]
910
+++
1011

1112
Welcome to the Graphite user manual. Keep reading to to learn how the software can help bring your 2D creative ideas to life.
@@ -26,6 +27,6 @@ If you're ever stuck or confused, ask your questions in the `#🧭user-help` cha
2627

2728
The fastest way to get started is to watch and follow along steps-by-step in the hands-on quickstart video:
2829

29-
<div class="video-embed aspect-16x9">
30-
<img data-video-embed="7gjUhl_3X10" src="https://static.graphite.rs/content/learn/introduction/tutorial-1-vector-art-quickstart-youtube.avif" onerror="this.onerror = null; this.src = this.src.replace('.avif', '.png')" alt="Graphite Tutorial 1 - Hands-On Quickstart" />
30+
<div class="youtube-embed aspect-16x9">
31+
<img data-youtube-embed="7gjUhl_3X10" src="https://static.graphite.rs/content/learn/introduction/tutorial-1-vector-art-quickstart-youtube.avif" onerror="this.onerror = null; this.src = this.src.replace('.avif', '.png')" alt="Graphite Tutorial 1 - Hands-On Quickstart" />
3132
</div>

0 commit comments

Comments
 (0)