Spaces:
Sleeping
Sleeping
Deploy Myco from CI
Browse files- ui/renderers.py +9 -8
ui/renderers.py
CHANGED
|
@@ -459,17 +459,18 @@ def _mystery_goal_line(active_mystery, count: int) -> str:
|
|
| 459 |
def myco_footer_panel() -> str:
|
| 460 |
"""Render a polished, low-profile footer panel featuring the glowing moon."""
|
| 461 |
return """
|
| 462 |
-
<
|
| 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 |
-
<
|
| 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 |
|
|
@@ -478,18 +479,18 @@ def myco_footer_panel() -> str:
|
|
| 478 |
</div>
|
| 479 |
|
| 480 |
<!-- Links & Copyright Navigation -->
|
| 481 |
-
<
|
| 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 |
-
</
|
| 486 |
|
| 487 |
-
<p class="myco-copyright"><
|
| 488 |
</div>
|
| 489 |
-
</
|
| 490 |
-
|
| 491 |
|
|
|
|
| 492 |
import os
|
| 493 |
-
|
| 494 |
print("IMAGE EXISTS:", os.path.exists("../assets/images/Myco.png"))
|
| 495 |
"""
|
|
|
|
| 459 |
def myco_footer_panel() -> str:
|
| 460 |
"""Render a polished, low-profile footer panel featuring the glowing moon."""
|
| 461 |
return """
|
| 462 |
+
<div 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 |
+
<span class="eyebrow">Mystery Forest Adventure</span>
|
| 470 |
</div>
|
| 471 |
|
| 472 |
<div class="myco-footer-media">
|
| 473 |
+
<!-- Image path handled as an absolute path or base64 if needed -->
|
| 474 |
<img src="./assets/images/Myco.png" alt="Myco the mushroom companion" class="footer-hero-img" />
|
| 475 |
</div>
|
| 476 |
|
|
|
|
| 479 |
</div>
|
| 480 |
|
| 481 |
<!-- Links & Copyright Navigation -->
|
| 482 |
+
<div class="myco-footer-nav">
|
| 483 |
<a href="#play" class="footer-link">Play Game</a>
|
| 484 |
<a href="#lore" class="footer-link">Forest Lore</a>
|
| 485 |
<a href="#community" class="footer-link">Community</a>
|
| 486 |
+
</div>
|
| 487 |
|
| 488 |
+
<p class="myco-copyright"><span style="font-size: 0.8em;">© 2026 Myco Game. Built with intuition.</span></p>
|
| 489 |
</div>
|
| 490 |
+
</div>
|
| 491 |
+
"""
|
| 492 |
|
| 493 |
+
# Now your debug code lives safely outside the string
|
| 494 |
import os
|
|
|
|
| 495 |
print("IMAGE EXISTS:", os.path.exists("../assets/images/Myco.png"))
|
| 496 |
"""
|