mirror of
https://git.srhtnin.garden/sarah/srhtnin.github.io.git
synced 2026-10-14 10:48:12 +02:00
Added plant encyclopedia. PLEASE WORK
This commit is contained in:
1 parent
624b933347
commit
f417ca67f8
7 files changed
+900
-2
No files matched your search
@@ -5,6 +5,7 @@ $NavbarPages = [
|
||||
"Sarahtonin" => "/Pages/Sarahtonin.html",
|
||||
"Garden" => "/Pages/Garden.html",
|
||||
"Shop" => "/Pages/Shop.html",
|
||||
"Plants" => "/Pages/Plants.html",
|
||||
"Guide" => "/Pages/Guide.html",
|
||||
"Profile" => "/Pages/Profile.html"
|
||||
];
|
||||
|
||||
+2
-2
@@ -71,7 +71,7 @@ $PageSection = "Guide";
|
||||
id="Harvesting"
|
||||
class="GuideSection"
|
||||
>
|
||||
<h2>Harvesting</h2>
|
||||
<h3>Harvesting</h3>
|
||||
|
||||
<p>
|
||||
Click a mature plant to harvest it. Harvesting gives
|
||||
@@ -178,7 +178,7 @@ $PageSection = "Guide";
|
||||
id="Discoveries"
|
||||
class="GuideSection"
|
||||
>
|
||||
<h2>Discoveries</h2>
|
||||
<h3>Discoveries</h3>
|
||||
|
||||
<p>
|
||||
Discovering a new plant or mutation is saved with
|
||||
|
||||
@@ -0,0 +1,48 @@
|
||||
<?php
|
||||
|
||||
$PageTitle = "Plants";
|
||||
$PageSection = "Plants";
|
||||
|
||||
|
||||
?>
|
||||
|
||||
<!DOCTYPE html>
|
||||
|
||||
<html lang="en" data-palette="CatppuccinMocha">
|
||||
<?php require __DIR__ . "/Bits/Head.php"; ?>
|
||||
|
||||
<body>
|
||||
<?php require __DIR__ . "/Bits/Navbar.php"; ?>
|
||||
|
||||
<main class="MainContainer">
|
||||
<h1>Plant encyclopedia</h1>
|
||||
|
||||
<p>
|
||||
Every plant you discover is recorded here.
|
||||
Undiscovered plants stay hidden until you find
|
||||
them in your Garden.
|
||||
</p>
|
||||
|
||||
<div
|
||||
id="PlantEncyclopediaList"
|
||||
class="PlantEncyclopediaList"
|
||||
></div>
|
||||
|
||||
<p
|
||||
id="PlantEncyclopediaMessage"
|
||||
class="PageMessage"
|
||||
aria-live="polite"
|
||||
>
|
||||
Loading discovered plants...
|
||||
</p>
|
||||
</main>
|
||||
|
||||
<script src="/Scripts/Garden/PlantImages.js"></script>
|
||||
<script src="/Scripts/Garden/Plants.js"></script>
|
||||
<script src="/Scripts/Garden/Mutations.js"></script>
|
||||
<script src="/Scripts/Garden/Save.js"></script>
|
||||
<script src="/Scripts/Garden/Content.js"></script>
|
||||
<script src="/Scripts/Garden/Economy.js"></script>
|
||||
<script src="/Scripts/Garden/PlantEncyclopedia.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
Reference in new issue
Block a user