diff --git a/public/lightbar-images/star.png b/public/lightbar-images/star.png new file mode 100644 index 00000000..58da3350 Binary files /dev/null and b/public/lightbar-images/star.png differ diff --git a/src/components/utils/Lightbar.tsx b/src/components/utils/Lightbar.tsx index 827c4eac..5c654a92 100644 --- a/src/components/utils/Lightbar.tsx +++ b/src/components/utils/Lightbar.tsx @@ -363,6 +363,18 @@ function ParticlesCanvas() { imageParticleCount = particleCount / 11.6; } + // Star easter egg + const shouldShowStars = Math.random() < 0.9; // 20% + if (shouldShowStars) { + imageOverride = [ + { + image: "/lightbar-images/star.png", + sizeRange: [18, 28] as [number, number], + }, + ]; + imageParticleCount = particleCount / 6.6; + } + // HOIST THE SAIL (of particles)! for (let i = 0; i < particleCount; i += 1) { const isImageParticle = imageOverride && i <= imageParticleCount; diff --git a/src/pages/TopFlix.tsx b/src/pages/TopFlix.tsx index 292248e5..9c4466a4 100644 --- a/src/pages/TopFlix.tsx +++ b/src/pages/TopFlix.tsx @@ -132,7 +132,6 @@ export function TopFlix() {
{getItemsForCurrentPage().map((item) => { - const successText = item.success ? "Yes" : "No"; // Convert bool to "Yes" or "No" const coverUrl = getMediaPoster(item.tmdbFullId); return (