From 2a2303d1dccc120dd7aa5f6b6ade0f89e0064850 Mon Sep 17 00:00:00 2001
From: Jake Vanderwerf <get@jakevanderwerf.ca>
Date: Tue, 25 Nov 2025 07:42:23 +0000
Subject: [PATCH] =Feed block mostly good! Referrals look good to go. Ready for Madi and Heidi to approve

---
 inc/blocks/FeedBlock.php |   17 ++++++++++++++---
 1 files changed, 14 insertions(+), 3 deletions(-)

diff --git a/inc/blocks/FeedBlock.php b/inc/blocks/FeedBlock.php
index 1f9703a..7a5158b 100644
--- a/inc/blocks/FeedBlock.php
+++ b/inc/blocks/FeedBlock.php
@@ -317,7 +317,19 @@
 	protected function renderGrid(): void
 	{
 		?>
-		<div class="item-grid"></div>
+		<div class="item-grid">
+			<?php
+			$total = count($this->config['content']) - 1;
+			for ($i = 1; $i <= 36; $i++) {
+				$rand = rand(0, $total);
+				$config = Features::getConfig($this->config['content'][$rand]);
+				$icon = jvbIcon($config['icon']??'logo-triangle');
+				?>
+				<div class="placeholder"><?=apply_filters('jvbFeedPlaceholder', $icon) ?></div>
+				<?php
+			}
+			?>
+		</div>
 		<?php
 	}
 
@@ -377,8 +389,7 @@
                 <p>Try tweaking those filters a bit.</p>
                 <p>Edmonton\'s got talent - let\'s find it.</p>
             </div>', $this->config). '</template>';
-
-		echo '<template class="placeholderTemplate"><div class="placeholder">'.apply_filters('jvbFeedPlaceholder', '').'</div></template>';
+		echo '<template class="placeholderTemplate"><div class="placeholder">'.apply_filters('jvbFeedPlaceholder', jvbIcon('logo-triangle')).'</div></template>';
 	}
 
 	/**

--
Gitblit v1.10.0