From b9d2762ad1b1e3d851c229c9e4c8c9d8319c41bc Mon Sep 17 00:00:00 2001 From: odiengineering <112506720+odiengineering@users.noreply.github.com> Date: Tue, 17 Sep 2024 15:32:06 -0700 Subject: [PATCH] Wordpress Posts Update --- ...ing-californias-future-plain-language.html | 2 +- ...ing-californias-future-plain-language.json | 74 +------------------ ...oices-in-the-california-design-system.html | 2 +- ...oices-in-the-california-design-system.json | 65 ---------------- ...-open-on-the-california-design-system.html | 2 +- ...-open-on-the-california-design-system.json | 65 ---------------- 6 files changed, 4 insertions(+), 206 deletions(-) diff --git a/pages/blog/posts/wordpress-posts/building-californias-future-plain-language.html b/pages/blog/posts/wordpress-posts/building-californias-future-plain-language.html index 51d62312..d252eb0f 100644 --- a/pages/blog/posts/wordpress-posts/building-californias-future-plain-language.html +++ b/pages/blog/posts/wordpress-posts/building-californias-future-plain-language.html @@ -1,4 +1,4 @@ -
The homepage of build.ca.gov. It highlights the main idea of the site through a concise headline and a bulleted list. It includes the image of a construction worker on a project.
+
The homepage of build.ca.gov. It highlights the main idea of the site through a concise headline and a bulleted list. It includes the image of a construction worker on a project.

In January 2024, California launched Building California’s future (build.ca.gov). It’s a website that shares how the state is investing billions in infrastructure.

diff --git a/pages/blog/posts/wordpress-posts/building-californias-future-plain-language.json b/pages/blog/posts/wordpress-posts/building-californias-future-plain-language.json index 416874f4..3a36ffc5 100644 --- a/pages/blog/posts/wordpress-posts/building-californias-future-plain-language.json +++ b/pages/blog/posts/wordpress-posts/building-californias-future-plain-language.json @@ -98,78 +98,6 @@ "headless_tags": [], "headless_publishing": [], "headless_preview": [], - "wordpress_url": "https://live-digital-ca-gov.pantheonsite.io/2024/05/07/building-californias-future-plain-language/", - "media": [ - { - "id": 1853, - "type": "2048x2048", - "path": "2024/05/infrastructure-site-screenshot-2048x1080.webp", - "wordpress_url": "https://live-digital-ca-gov.pantheonsite.io/wp-content/uploads/2024/05/infrastructure-site-screenshot-2048x1080.webp", - "file": "infrastructure-site-screenshot-2048x1080.webp", - "width": 2048, - "height": 1080, - "filesize": 91060, - "mime_type": "image/webp", - "source_url": "https://live-digital-ca-gov.pantheonsite.io/wp-content/uploads/2024/05/infrastructure-site-screenshot-2048x1080.webp", - "source_url_match": true, - "featured": false - }, - { - "id": 1853, - "type": "1536x1536", - "path": "2024/05/infrastructure-site-screenshot-1536x810.webp", - "wordpress_url": "https://live-digital-ca-gov.pantheonsite.io/wp-content/uploads/2024/05/infrastructure-site-screenshot-1536x810.webp", - "file": "infrastructure-site-screenshot-1536x810.webp", - "width": 1536, - "height": 810, - "filesize": 64756, - "mime_type": "image/webp", - "source_url": "https://live-digital-ca-gov.pantheonsite.io/wp-content/uploads/2024/05/infrastructure-site-screenshot-1536x810.webp", - "source_url_match": true, - "featured": false - }, - { - "id": 1853, - "type": "large", - "path": "2024/05/infrastructure-site-screenshot-1024x540.webp", - "wordpress_url": "https://live-digital-ca-gov.pantheonsite.io/wp-content/uploads/2024/05/infrastructure-site-screenshot-1024x540.webp", - "file": "infrastructure-site-screenshot-1024x540.webp", - "width": 1024, - "height": 540, - "filesize": 39292, - "mime_type": "image/webp", - "source_url": "https://live-digital-ca-gov.pantheonsite.io/wp-content/uploads/2024/05/infrastructure-site-screenshot-1024x540.webp", - "source_url_match": true, - "featured": false - }, - { - "id": 1853, - "type": "medium_large", - "path": "2024/05/infrastructure-site-screenshot-768x405.webp", - "wordpress_url": "https://live-digital-ca-gov.pantheonsite.io/wp-content/uploads/2024/05/infrastructure-site-screenshot-768x405.webp", - "file": "infrastructure-site-screenshot-768x405.webp", - "width": 768, - "height": 405, - "filesize": 27048, - "mime_type": "image/webp", - "source_url": "https://live-digital-ca-gov.pantheonsite.io/wp-content/uploads/2024/05/infrastructure-site-screenshot-768x405.webp", - "source_url_match": true, - "featured": false - }, - { - "id": 1853, - "type": "medium", - "path": "2024/05/infrastructure-site-screenshot-576x304.webp", - "wordpress_url": "https://live-digital-ca-gov.pantheonsite.io/wp-content/uploads/2024/05/infrastructure-site-screenshot-576x304.webp", - "file": "infrastructure-site-screenshot-576x304.webp", - "width": 576, - "height": 304, - "filesize": 17718, - "mime_type": "image/webp", - "source_url": "https://live-digital-ca-gov.pantheonsite.io/wp-content/uploads/2024/05/infrastructure-site-screenshot-576x304.webp", - "source_url_match": true, - "featured": false - } - ] + "wordpress_url": "https://live-digital-ca-gov.pantheonsite.io/2024/05/07/building-californias-future-plain-language/" } } \ No newline at end of file diff --git a/pages/blog/posts/wordpress-posts/tech-choices-in-the-california-design-system.html b/pages/blog/posts/wordpress-posts/tech-choices-in-the-california-design-system.html index 110059bf..ec34e59c 100644 --- a/pages/blog/posts/wordpress-posts/tech-choices-in-the-california-design-system.html +++ b/pages/blog/posts/wordpress-posts/tech-choices-in-the-california-design-system.html @@ -53,7 +53,7 @@

Focus on documentation

We have extensive documentation on each component in a README.

-
The feature card README on GitHub
+
The feature card README on GitHub

We use the README markdown content for both:

diff --git a/pages/blog/posts/wordpress-posts/tech-choices-in-the-california-design-system.json b/pages/blog/posts/wordpress-posts/tech-choices-in-the-california-design-system.json index 58d826ff..13a7e2b1 100644 --- a/pages/blog/posts/wordpress-posts/tech-choices-in-the-california-design-system.json +++ b/pages/blog/posts/wordpress-posts/tech-choices-in-the-california-design-system.json @@ -399,71 +399,6 @@ "source_url_match": true, "featured": false }, - { - "id": 540, - "type": "2048x2048", - "path": "2022/05/readme-feature-card-2048x1144.png", - "wordpress_url": "https://live-digital-ca-gov.pantheonsite.io/wp-content/uploads/2022/05/readme-feature-card-2048x1144.png", - "file": "readme-feature-card-2048x1144.png", - "width": 2048, - "height": 1144, - "mime_type": "image/png", - "source_url": "https://live-digital-ca-gov.pantheonsite.io/wp-content/uploads/2022/05/readme-feature-card-2048x1144.png", - "source_url_match": true, - "featured": false - }, - { - "id": 540, - "type": "1536x1536", - "path": "2022/05/readme-feature-card-1536x858.png", - "wordpress_url": "https://live-digital-ca-gov.pantheonsite.io/wp-content/uploads/2022/05/readme-feature-card-1536x858.png", - "file": "readme-feature-card-1536x858.png", - "width": 1536, - "height": 858, - "mime_type": "image/png", - "source_url": "https://live-digital-ca-gov.pantheonsite.io/wp-content/uploads/2022/05/readme-feature-card-1536x858.png", - "source_url_match": true, - "featured": false - }, - { - "id": 540, - "type": "large", - "path": "2022/05/readme-feature-card-1024x572.png", - "wordpress_url": "https://live-digital-ca-gov.pantheonsite.io/wp-content/uploads/2022/05/readme-feature-card-1024x572.png", - "file": "readme-feature-card-1024x572.png", - "width": 1024, - "height": 572, - "mime_type": "image/png", - "source_url": "https://live-digital-ca-gov.pantheonsite.io/wp-content/uploads/2022/05/readme-feature-card-1024x572.png", - "source_url_match": true, - "featured": false - }, - { - "id": 540, - "type": "medium_large", - "path": "2022/05/readme-feature-card-768x429.png", - "wordpress_url": "https://live-digital-ca-gov.pantheonsite.io/wp-content/uploads/2022/05/readme-feature-card-768x429.png", - "file": "readme-feature-card-768x429.png", - "width": 768, - "height": 429, - "mime_type": "image/png", - "source_url": "https://live-digital-ca-gov.pantheonsite.io/wp-content/uploads/2022/05/readme-feature-card-768x429.png", - "source_url_match": true, - "featured": false - }, - { - "id": 540, - "type": "medium", - "path": "2022/05/readme-feature-card-576x322.png", - "wordpress_url": "https://live-digital-ca-gov.pantheonsite.io/wp-content/uploads/2022/05/readme-feature-card-576x322.png", - "file": "readme-feature-card-576x322.png", - "width": 576, - "height": 322, - "mime_type": "image/png", - "source_url": "https://live-digital-ca-gov.pantheonsite.io/wp-content/uploads/2022/05/readme-feature-card-576x322.png", - "source_url_match": true, - "featured": false - }, { "id": 525, "type": "full", diff --git a/pages/blog/posts/wordpress-posts/working-in-the-open-on-the-california-design-system.html b/pages/blog/posts/wordpress-posts/working-in-the-open-on-the-california-design-system.html index 09b7c1d3..5d6251e6 100644 --- a/pages/blog/posts/wordpress-posts/working-in-the-open-on-the-california-design-system.html +++ b/pages/blog/posts/wordpress-posts/working-in-the-open-on-the-california-design-system.html @@ -34,7 +34,7 @@

A recent collaboration

This was a great idea. It required a full component rewrite. We collaborated with other teams by sharing codepens. Here’s an early version:

-
+

The result was a big improvement on the component’s progressive enhancement. Now if all JavaScript on the page fails, the accordion will look different but function the same. This version lets the browser handle the open and close. This change simplified the component’s markup:

BeforeAfter

Before

The code for the accordion component. It's long, about 75 lines.

After

The revised accordion component code. It's short, 11 lines long.
diff --git a/pages/blog/posts/wordpress-posts/working-in-the-open-on-the-california-design-system.json b/pages/blog/posts/wordpress-posts/working-in-the-open-on-the-california-design-system.json index ca6109d1..6dc4706d 100644 --- a/pages/blog/posts/wordpress-posts/working-in-the-open-on-the-california-design-system.json +++ b/pages/blog/posts/wordpress-posts/working-in-the-open-on-the-california-design-system.json @@ -372,71 +372,6 @@ "source_url": "https://live-digital-ca-gov.pantheonsite.io/wp-content/uploads/2022/05/working-in-open-code-jayli-2-576x321.png", "source_url_match": true, "featured": false - }, - { - "id": 478, - "type": "full", - "path": "2022/05/working-in-open-collaboration.png", - "wordpress_url": "https://live-digital-ca-gov.pantheonsite.io/wp-content/uploads/2022/05/working-in-open-collaboration.png", - "file": "working-in-open-collaboration.png", - "width": 1954, - "height": 1502, - "mime_type": "image/png", - "source_url": "https://live-digital-ca-gov.pantheonsite.io/wp-content/uploads/2022/05/working-in-open-collaboration.png", - "source_url_match": true, - "featured": false - }, - { - "id": 478, - "type": "1536x1536", - "path": "2022/05/working-in-open-collaboration-1536x1181.png", - "wordpress_url": "https://live-digital-ca-gov.pantheonsite.io/wp-content/uploads/2022/05/working-in-open-collaboration-1536x1181.png", - "file": "working-in-open-collaboration-1536x1181.png", - "width": 1536, - "height": 1181, - "mime_type": "image/png", - "source_url": "https://live-digital-ca-gov.pantheonsite.io/wp-content/uploads/2022/05/working-in-open-collaboration-1536x1181.png", - "source_url_match": true, - "featured": false - }, - { - "id": 478, - "type": "large", - "path": "2022/05/working-in-open-collaboration-1024x787.png", - "wordpress_url": "https://live-digital-ca-gov.pantheonsite.io/wp-content/uploads/2022/05/working-in-open-collaboration-1024x787.png", - "file": "working-in-open-collaboration-1024x787.png", - "width": 1024, - "height": 787, - "mime_type": "image/png", - "source_url": "https://live-digital-ca-gov.pantheonsite.io/wp-content/uploads/2022/05/working-in-open-collaboration-1024x787.png", - "source_url_match": true, - "featured": false - }, - { - "id": 478, - "type": "medium_large", - "path": "2022/05/working-in-open-collaboration-768x590.png", - "wordpress_url": "https://live-digital-ca-gov.pantheonsite.io/wp-content/uploads/2022/05/working-in-open-collaboration-768x590.png", - "file": "working-in-open-collaboration-768x590.png", - "width": 768, - "height": 590, - "mime_type": "image/png", - "source_url": "https://live-digital-ca-gov.pantheonsite.io/wp-content/uploads/2022/05/working-in-open-collaboration-768x590.png", - "source_url_match": true, - "featured": false - }, - { - "id": 478, - "type": "medium", - "path": "2022/05/working-in-open-collaboration-576x443.png", - "wordpress_url": "https://live-digital-ca-gov.pantheonsite.io/wp-content/uploads/2022/05/working-in-open-collaboration-576x443.png", - "file": "working-in-open-collaboration-576x443.png", - "width": 576, - "height": 443, - "mime_type": "image/png", - "source_url": "https://live-digital-ca-gov.pantheonsite.io/wp-content/uploads/2022/05/working-in-open-collaboration-576x443.png", - "source_url_match": true, - "featured": false } ] }