Kaynağa Gözat

feat: backend error page links added

Timothy J. Baek 1 yıl önce
ebeveyn
işleme
e2a5964842
1 değiştirilmiş dosya ile 14 ekleme ve 4 silme
  1. 14 4
      src/routes/error/+page.svelte

+ 14 - 4
src/routes/error/+page.svelte

@@ -22,10 +22,20 @@
 					<div class="text-center text-2xl font-medium z-50">Ollama WebUI Backend Required</div>
 
 					<div class=" mt-4 text-center text-sm w-full">
-						Oops! You're using an unsupported method (frontend only).<br class=" hidden sm:flex" />
-						Please access the WebUI from the backend. See readme.md for instructions or join our Discord
-						for help.
-						<!-- TODO: update links -->
+						Oops! You're using an unsupported method (frontend only). Please serve the WebUI from
+						the backend.
+
+						<br class=" " />
+						<br class=" " />
+						<a
+							class=" font-semibold underline"
+							href="https://github.com/ollama-webui/ollama-webui#how-to-install-"
+							target="_blank">See readme.md for instructions</a
+						>
+						or
+						<a class=" font-semibold underline" href="https://discord.gg/5rJgQTnV4s" target="_blank"
+							>join our Discord for help.</a
+						>
 					</div>
 
 					<div class=" mt-6 mx-auto relative group w-fit">