From ef9a51b63cf124852a7efbe15cf82556397b875d Mon Sep 17 00:00:00 2001 From: Kelly Dwan Date: Wed, 31 Jan 2024 15:40:35 -0500 Subject: [PATCH] Make rendering elements declarative All items will be on the page, and hidden/visible based on loading state. --- .../src/site-screenshot/render.php | 17 ++++++++-- .../src/site-screenshot/style.scss | 5 +++ .../src/site-screenshot/view.js | 34 +++++-------------- 3 files changed, 29 insertions(+), 27 deletions(-) diff --git a/source/wp-content/themes/wporg-showcase-2022/src/site-screenshot/render.php b/source/wp-content/themes/wporg-showcase-2022/src/site-screenshot/render.php index 5db0191f..2f94132a 100644 --- a/source/wp-content/themes/wporg-showcase-2022/src/site-screenshot/render.php +++ b/source/wp-content/themes/wporg-showcase-2022/src/site-screenshot/render.php @@ -100,9 +100,22 @@
-
+
+ + +