Added more social stuff like previewing gardens and stuff! Pretty

awesome.
This commit is contained in:
sarah committed 2026-09-07 18:40:32 +02:00
1 parent d1721517cc
commit 56d70e8c0c
9 files changed
+2623 -43

No files matched your search

+53 -1
View File
@@ -16,6 +16,54 @@ $PageSection = "Social";
<main class="MainContainer">
<h1>Social</h1>
<p>
Find other gardeners, visit their public profiles,
preview their Gardens, leave comments, and donate Dew
when they allow it.
</p>
<section
id="GardenerSearch"
class="Panel SocialSection"
>
<h2 class="PanelHeader PanelHeaderInset">Find gardeners</h2>
<form
id="GardenerSearchForm"
class="CatalogueControls"
role="search"
>
<input
id="GardenerSearchInput"
type="search"
maxlength="64"
placeholder="Search usernames..."
aria-label="Search gardeners by username"
autocomplete="off"
>
<button
class="ActionButton"
type="submit"
>
Search
</button>
</form>
<div
id="GardenerSearchResults"
class="GardenerSearchResults"
></div>
<p
id="GardenerSearchMessage"
class="PageMessage"
aria-live="polite"
>
Search for a gardener by username.
</p>
</section>
<section
id="Leaderboard"
class="Panel Leaderboard"
@@ -31,7 +79,7 @@ $PageSection = "Social";
</th>
<th>
Username
Gardener
</th>
<th class="LeaderboardDewColumn">
@@ -46,7 +94,11 @@ $PageSection = "Social";
</section>
</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/Users.js"></script>
<script src="/Scripts/Garden/Leaderboard.js"></script>
<script src="/Scripts/Garden/Social.js"></script>