Spaces:
Sleeping

byte-vortex commited on
Commit
2a39214
·
verified ·
1 Parent(s): 3847a1f

Deploy Myco from CI

Browse files
Files changed (1) hide show
  1. ui/renderers.py +35 -0
ui/renderers.py CHANGED
@@ -454,3 +454,38 @@ def _mystery_goal_line(active_mystery, count: int) -> str:
454
  return "**Mystery:** Every known clue is awake. Keep exploring for rare surprises."
455
  remaining = active_mystery.required_discoveries - count
456
  return f"**Mystery:** {remaining} clue discoveries until **{active_mystery.name}** — {active_mystery.clue}"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
454
  return "**Mystery:** Every known clue is awake. Keep exploring for rare surprises."
455
  remaining = active_mystery.required_discoveries - count
456
  return f"**Mystery:** {remaining} clue discoveries until **{active_mystery.name}** — {active_mystery.clue}"
457
+
458
+
459
+ def myco_footer_panel() -> str:
460
+ """Render a polished, low-profile footer panel featuring the glowing moon."""
461
+ return """
462
+ <footer class="myco-hero footer-variant">
463
+ <!-- The Glowing Moon Component -->
464
+ <div class="home-moon">🌙</div>
465
+
466
+ <div class="myco-footer-content">
467
+ <div class="myco-mascot-badge">
468
+ <span class="myco-mascot">🍄</span>
469
+ <small class="eyebrow">Tiny AI forest game</small>
470
+ </div>
471
+
472
+ <div class="myco-footer-media">
473
+ <img src="assets/images/Myco.png" alt="Myco the mushroom companion" class="footer-hero-img" />
474
+ </div>
475
+
476
+ <div class="myco-footer-body">
477
+ <p>Follow an AI mushroom companion through a glowing forest. Every discovery starts with Myco's intuition.</p>
478
+ </div>
479
+
480
+ <!-- Links & Copyright Navigation -->
481
+ <nav class="myco-footer-nav">
482
+ <a href="#play" class="footer-link">Play Game</a>
483
+ <a href="#lore" class="footer-link">Forest Lore</a>
484
+ <a href="#community" class="footer-link">Community</a>
485
+ </nav>
486
+
487
+ <p class="myco-copyright"><small>&copy; 2026 Myco Game. Built with intuition.</small></p>
488
+ </div>
489
+ </footer>
490
+ """
491
+