فهرست منبع

Add footer to all the possible sidebar contents

Alessandro Pignotti 9 ماه پیش
والد
کامیت
06df68fdea
2فایلهای تغییر یافته به همراه14 افزوده شده و 2 حذف شده
  1. 0 0
      assets/cheerpx.svg
  2. 14 2
      src/SideBar.svelte

تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 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>

برخی فایل ها در این مقایسه diff نمایش داده نمی شوند زیرا تعداد فایل ها بسیار زیاد است