Browse Source

Add footer to all the possible sidebar contents

Alessandro Pignotti 9 months ago
parent
commit
06df68fdea
2 changed files with 14 additions and 2 deletions
  1. 0 0
      assets/cheerpx.svg
  2. 14 2
      src/SideBar.svelte

File diff suppressed because it is too large
+ 0 - 0
assets/cheerpx.svg


+ 14 - 2
src/SideBar.svelte

@@ -27,7 +27,19 @@
 			/>
 		{/each}
 	</div>
-	<div class="shrink-0 w-52 h-full z-10 p-5 bg-neutral-600 text-gray-100" class:hidden={!activeInfo}>
-		{activeInfo}
+	<div class="flex flex-col shrink-0 w-52 h-full z-10 p-2 bg-neutral-600 text-gray-100" class:hidden={!activeInfo}>
+		<p>{activeInfo}</p>
+		<div class="mt-auto text-sm text-gray-300">
+			<div class="pt-1 pb-1">
+				<a href="https://cheerpx.io/" target="_blank">
+					<span>Powered by CheerpX</span>
+					<img src="assets/cheerpx.svg" alt="CheerpX Logo" class="w-6 h-6 inline-block">
+				</a>
+			</div>
+			<hr class="border-t border-solid border-gray-300">
+			<div class="text-center pt-1 pb-1">
+				<a href="https://leaningtech.com/" target="”_blank”">© 2024 Leaning Technologies</a>
+			</div>
+		</div>
 	</div>
 </div>

Some files were not shown because too many files changed in this diff